Owows so many new files

This commit is contained in:
2026-09-09 22:20:29 +03:00
parent 3fcee5ea9a
commit 6441cc6709
21 changed files with 3249 additions and 58 deletions

View File

@@ -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"], []]