Matthieu Bessat
3713cc2443
Created a kernel crate to store models and future action implementations. Will be useful to create admin cli.
47 lines
877 B
TOML
47 lines
877 B
TOML
cargo-features = ["codegen-backend"]
|
|
|
|
[profile.dev]
|
|
codegen-backend = "cranelift"
|
|
|
|
[workspace]
|
|
members = [
|
|
"lib/kernel",
|
|
"lib/utils",
|
|
"lib/http_server",
|
|
"lib/admin_cli"
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
# commons utils
|
|
anyhow = "1.0"
|
|
fully_pub = "0.1"
|
|
strum = "0.26.3"
|
|
strum_macros = "0.26"
|
|
uuid = { version = "1.8", features = ["serde", "v4"] }
|
|
dotenvy = "0.15.7"
|
|
url = "2.5.3"
|
|
|
|
# CLI
|
|
argh = "0.1"
|
|
|
|
# Async
|
|
tokio = { version = "1.40.0", features = ["rt-multi-thread"] }
|
|
|
|
# Logging
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# DB
|
|
sqlx = { version = "0.7.4", features = ["sqlite", "runtime-tokio", "chrono", "uuid"] }
|
|
redis = { version = "0.27.3", default-features = false, features = ["acl"] }
|
|
|
|
# Auth utils
|
|
totp-rs = "5.6"
|
|
|