content: [package]
  name = "emulator"
  version = "0.3.4"
  edition = "2021"
  license = "GPL-3.0-or-later"
  
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  
  [dependencies]
  embedded-graphics = "0.8"
  embedded-graphics-simulator = { version = "0.5", default-features = false }
  image = "0.23.14"
  base64 = "0.13.0"
  serde_json = "1.0"
  serde = "1.0"
  clap = { version = "4.3.19", features = ["derive"] }
  log = "0.4"
  env_logger = "0.10"
  tempdir = "0.3.7"
  handlebars = "4.3.7"
  rand = "0.8.5"
  tokio = { version = "1.36", features = ["full"] }
  futures = "0.3"
  
  ssd1306-emulator = { path = "./ssd1306-emulator", features = ["eg-simulator"] }
  nt3h-emulator = { path = "./nt3h-emulator" }
  
  sdk = { path = "../sdk", features = ["debug"] }
  model = { package="portal-model", path = "../portal-model", features = ["emulator-std"] }
  
  fltk = { version = "^1.4", optional = true }
  ctrlc = { version = "3.4.4", optional = true }
  
  [build-dependencies]
  fl2rust = { version = "0.4", optional = true }
  
  [dev-dependencies]
  functional-test-wrapper = { path = "../functional-test-wrapper" }
  
  [features]
  default = ["gui"]
  gui = ["fltk", "fl2rust", "ctrlc"]
  
  [[bin]]
  name = "gui"
  required-features = ["gui"]