Owows so many new files
This commit is contained in:
@@ -3,10 +3,40 @@ 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]
|
||||
erplt-db.path="../erplt-db"
|
||||
erplt-config.path = "../erplt-config"
|
||||
anyhow.workspace = true
|
||||
axum.workspace = true
|
||||
tokio.workspace = true
|
||||
tracing.workspace = true
|
||||
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"], []]
|
||||
Reference in New Issue
Block a user