content: [workspace]
  members = [
      "text_buffer",
      "stroke_parser",
      "font_collector",
      "font_rasterizer",
      "rokid_3dof",
      "ui_support",
      "font_rasterizer_example",
      "sample_codes/*",
      "kashikishi",
      "ttf_overlap_remover",
      "highlighter",
  ]
  resolver = "2"
  
  [workspace.dependencies]
  thiserror = "2.0"
  wgpu = "26.0.1"
  # fork元は winit = "0.29.x" ブランチ。いくつかのパッチを当てたものを使っている。
  # patch-1
  #   wasm で ime support が十分でないのでパッチを当てている。
  #   winit の ime support が十分にサポートされれば戻す予定。
  #   今あてているパッチでは Fullscreen API のサポートが不十分なため wasm では Fullscreen をサポートしない。
  # patch-2
  #   winit の Windows でのサロゲートペアを含む文字があったときの Ime::Preedit の挙動を修正。
  #   以下の issue で報告されている問題を修正。 issue が解決したら戻す予定。
  #   https://github.com/rust-windowing/winit/issues/3967
  winit = { git = "https://github.com/mitoma/winit", branch = "v0.29.x-with-patches" }
  serde = "1.0"
  serde_derive = "1.0"
  serde_json = "1.0"
  env_logger = "0.11"
  log = "0.4"
  pollster = "0.4"
  image = "0.25"
  rustybuzz = "0.20.1"
  instant = { version = "0.1", features = ["wasm-bindgen"] }
  cgmath = "0.18"
  bytemuck = { version = "1.18", features = ["derive"] }
  bitflags = "2.9.1"
  rand = "0.9"
  cfg-if = "1.0"
  arboard = "3.5.0"
  dirs = "6.0.0"
  
  [profile.release-optimized]
  inherits = "release"
  debug = false
  lto = true
  