687c64d078
req: sync/001\nreq: sync/005\nreq: sync/006\nreq: sync/007\nreq: sync/008\nreq: sync/012\nreq: sync/013
46 lines
1.2 KiB
TOML
46 lines
1.2 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 }
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
serde_json = { version = "1", optional = true }
|
|
tokio = { version = "1", features = ["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.23"
|
|
thirtyfour = "0.35"
|
|
|
|
[build-dependencies]
|
|
hemx-build = { path = "../../hemx-build" }
|