Files
2026-07-14 09:44:19 +02:00

48 lines
1.3 KiB
TOML

[package]
name = "hemx-kanban-example"
version.workspace = true
edition.workspace = true
publish = false
[features]
default = ["server"]
server = ["dep:axum", "dep:futures-util", "dep:hemx-axum", "dep:serde", "dep:serde_json", "dep:tokio"]
client = ["hemx/client"]
fixture = []
[lib]
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "hemx-kanban-example"
path = "src/main.rs"
required-features = ["server"]
[[bin]]
name = "client-fixture"
path = "src/bin/client_fixture.rs"
required-features = ["fixture"]
[dependencies]
axum = { version = "0.8", optional = true }
futures-util = { version = "0.3", optional = true }
hemx = { path = "../../hemx" }
hemx-axum = { path = "../../hemx-axum", optional = true }
hemx-sync = { path = "../../hemx-sync" }
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
tokio = { version = "1", features = ["fs", "macros", "net", "rt-multi-thread", "time"], optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
hemplate = { path = "../../../hemplate/hemplate" }
[dev-dependencies]
hemx-test = { path = "../../hemx-test" }
scraper = "0.25"
thirtyfour = "0.35"
tower = { version = "0.5", features = ["util"] }
[build-dependencies]
hemx-build = { path = "../../hemx-build" }