[package]
authors = ["Dilshod Tadjibaev (@antimora)"]
edition.workspace = true
license = "MIT OR Apache-2.0"
name = "mnist-inference-web"
publish = false
version.workspace = true

[lints]
workspace = true

[lib]
crate-type = ["cdylib"]

[features]
default = ["flex"]

flex = ["burn/flex"]
wgpu = ["burn/wgpu"]

[dependencies]
burn = { workspace = true }
serde = { workspace = true }
console_error_panic_hook = { workspace = true }

# Wasm dependencies
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
