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

@@ -1,19 +1,41 @@
[package]
name = "erplt"
version = "0.1.0"
edition = "2024"
[package]
name = "erplt"
version = "0.1.0"
edition = "2024"
[dependencies]
erplt-db.path="../erplt-db"
erplt-api.path="../erplt-api"
erplt-config.path="../erplt-config"
camino.workspace = true
clap.workspace = true
serde.workspace = true
toml.workspace = true
anyhow.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true
humantime.workspace = true
humantime-serde.workspace = true
tokio.workspace = true
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["ssr", "erplt-api/ssr"]
hydrate=["erplt-api/hydrate"]
ssr=[
"erplt-api/ssr",
"dep:erplt-db",
"dep:erplt-config",
"dep:camino",
"dep:clap",
"dep:serde",
"dep:toml",
"dep:anyhow",
"dep:tracing",
"dep:tracing-subscriber",
"dep:humantime",
"dep:humantime-serde",
"dep:tokio",
]
[dependencies]
erplt-api.path="../erplt-api"
erplt-db = { path="../erplt-db", optional = true }
erplt-config = { path="../erplt-config", optional = true }
camino = { workspace = true, optional = true }
clap = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
toml = { workspace = true, optional = true }
anyhow = { workspace = true, optional = true }
tracing-subscriber = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
humantime = { workspace = true, optional = true }
humantime-serde = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }

2
crates/erplt/src/lib.rs Normal file
View File

@@ -0,0 +1,2 @@
#[cfg(feature = "hydrate")]
pub use erplt_api::hydrate;