42 lines
1.0 KiB
TOML
42 lines
1.0 KiB
TOML
[package]
|
|
name = "erplt-api"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
|
[features]
|
|
hydrate=["leptos/hydrate"]
|
|
ssr=[
|
|
"dep:erplt-db",
|
|
"dep:erplt-config",
|
|
"dep:leptos_axum",
|
|
"dep:tokio",
|
|
"dep:anyhow",
|
|
"dep:any_spawner",
|
|
"dep:tracing",
|
|
"dep:axum",
|
|
]
|
|
|
|
|
|
[dependencies]
|
|
leptos.workspace = true
|
|
leptos_meta.workspace = true
|
|
leptos_router.workspace = true
|
|
console_error_panic_hook.workspace = true
|
|
wasm-bindgen.workspace = true
|
|
|
|
axum = { workspace = true, optional = true }
|
|
erplt-db = { path = "../erplt-db", optional = true }
|
|
erplt-config = { path = "../erplt-config", optional = true }
|
|
leptos_axum = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true }
|
|
anyhow = { workspace = true, optional = true }
|
|
any_spawner = { workspace = true, optional = true }
|
|
tracing = { workspace = true, optional = true }
|
|
|
|
[package.metadata.cargo-all-features]
|
|
denylist = ["axum", "tokio", "tower", "tower-http", "leptos_axum"]
|
|
skip_feature_sets = [["ssr", "hydrate"], []] |