content: [package]
  authors = ["Dilshod Tadjibaev (@antimora)"]
  edition.workspace = true
  license = "MIT OR Apache-2.0"
  name = "image-classification-web"
  publish = false
  version.workspace = true
  
  [lints]
  workspace = true
  
  [lib]
  crate-type = ["cdylib"]
  
  [features]
  default = []
  half_precision = []
  
  [dependencies]
  burn = { path = "../../crates/burn", version = "0.19.0", default-features = false, features = [
      "ndarray", "webgpu",
  ] }
  burn-candle = { path = "../../crates/burn-candle", version = "0.19.0", default-features = false }
  
  log = { workspace = true }
  serde = { workspace = true }
  serde_json = { workspace = true }
  console_error_panic_hook = { workspace = true }
  
  # Wasm dependencies
  wasm-bindgen = "0.2.100"
  wasm-bindgen-futures = "0.4"
  serde-wasm-bindgen = "0.6"
  wasm-logger = "0.2"
  web-time = "1.1.0"
  js-sys = "0.3"
  # https://github.com/rust-random/getrandom/#webassembly-support
  getrandom = { version = "0.3.3", default-features = false, features = [
      "wasm_js",
  ] }
  
  [build-dependencies]
  # Used to generate code from ONNX model
  burn-import = { path = "../../crates/burn-import", default-features = false, features = ["onnx"]}
  