content: [package]
  name = "ag-iso-terminal-designer"
  version = "0.1.0"
  edition = "2021"
  authors = ["Daan Steenbergen <d.steenbergen@student.tue.nl>"]
  
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  
  [dependencies]
  egui = "0.32"
  eframe = "0.32"
  # ag-iso-stack = { path = "../AgIsoStack-rs" }
  ag-iso-stack = { git = "https://github.com/Open-Agriculture/AgIsoStack-rs", branch = "daan/terminal-designer-changes" }
  rfd = "0.13"
  image = "0.25.1"
  log = "0.4.27"
  uuid = { version = "1.17.0", features = ["v4", "v7", "js"] }
  getrandom = { version = "0.2", features = ["js"] }
  
  # native:
  [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  tracing-subscriber = "0.3"
  futures = "0.3.28"
  env_logger = "0.11.8"
  
  # web:
  [target.'cfg(target_arch = "wasm32")'.dependencies]
  wasm-bindgen-futures = "0.4.50"
  web-sys = "0.3.70"              # to access the DOM (to hide the loading text)
  
  [profile.release]
  opt-level = 2 # fast and small wasm
  
  # Optimize all dependencies even in debug builds:
  [profile.dev.package."*"]
  opt-level = 2
  