2024-12-03 22:58:20 +00:00
|
|
|
# cargo-features = ["codegen-backend"]
|
2024-11-02 16:37:57 +00:00
|
|
|
|
2024-12-03 22:58:20 +00:00
|
|
|
# [profile.dev]
|
|
|
|
# codegen-backend = "cranelift"
|
|
|
|
# # END OF
|
2024-11-02 16:37:57 +00:00
|
|
|
|
2024-11-28 11:47:00 +00:00
|
|
|
[workspace]
|
2024-12-03 22:58:20 +00:00
|
|
|
resolver = "2"
|
2024-11-28 11:47:00 +00:00
|
|
|
members = [
|
|
|
|
"lib/kernel",
|
|
|
|
"lib/utils",
|
|
|
|
"lib/http_server",
|
|
|
|
"lib/admin_cli"
|
|
|
|
]
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2024-10-10 16:20:06 +00:00
|
|
|
# commons utils
|
|
|
|
anyhow = "1.0"
|
2024-12-03 12:20:33 +00:00
|
|
|
thiserror = "2"
|
2024-10-10 16:20:06 +00:00
|
|
|
fully_pub = "0.1"
|
2024-11-12 13:27:53 +00:00
|
|
|
strum = "0.26.3"
|
2024-10-10 16:20:06 +00:00
|
|
|
strum_macros = "0.26"
|
|
|
|
uuid = { version = "1.8", features = ["serde", "v4"] }
|
2024-11-12 13:27:53 +00:00
|
|
|
dotenvy = "0.15.7"
|
|
|
|
url = "2.5.3"
|
2024-12-04 17:25:56 +00:00
|
|
|
sha2 = "0.10"
|
|
|
|
hex-literal = "0.4"
|
2024-11-28 11:47:00 +00:00
|
|
|
|
|
|
|
# CLI
|
|
|
|
argh = "0.1"
|
2024-10-10 16:20:06 +00:00
|
|
|
|
2024-10-15 10:10:46 +00:00
|
|
|
# Async
|
2024-12-03 22:58:20 +00:00
|
|
|
tokio = { version = "1.40.0", features = ["rt-multi-thread", "macros"] }
|
2024-10-15 10:10:46 +00:00
|
|
|
|
|
|
|
# Logging
|
2024-10-10 16:20:06 +00:00
|
|
|
log = "0.4"
|
|
|
|
env_logger = "0.11"
|
|
|
|
|
2024-10-15 10:10:46 +00:00
|
|
|
# Serialization
|
2024-10-10 16:20:06 +00:00
|
|
|
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"
|
2024-10-15 10:10:46 +00:00
|
|
|
|