2023-05-24 21:22:14 +05:30
|
|
|
[package]
|
|
|
|
name = "dcache"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-12-26 14:58:55 +05:30
|
|
|
build = "build.rs"
|
2023-05-24 21:22:14 +05:30
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-12-17 19:25:08 +05:30
|
|
|
openraft = { version = "0.8.8", features = ["serde", "single-term-leader"]}
|
|
|
|
#openraft = { git = "https://github.com/drmingdrmer/openraft", tag = "v0.9.0-alpha.1", features = ["serde", "single-term-leader"]}
|
|
|
|
#libmcaptcha = { branch = "master", git = "https://github.com/mCaptcha/libmcaptcha", features = ["full"]}
|
2023-12-17 19:32:20 +05:30
|
|
|
#libmcaptcha = { path="/src/atm/code/mcaptcha/libmcaptcha", features=["full"] }
|
|
|
|
libmcaptcha = { git = "https://github.com/mcaptcha/libmcaptcha", branch = "feat-dcache", features = ["full"]}
|
2023-05-24 21:22:14 +05:30
|
|
|
tracing = { version = "0.1.37", features = ["log"] }
|
2023-12-29 20:09:48 +05:30
|
|
|
serde_json = "1"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
2023-05-24 21:22:14 +05:30
|
|
|
byteorder = "1.4.3"
|
|
|
|
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
|
|
|
|
lazy_static = "1.4.0"
|
2024-06-07 22:31:41 +05:30
|
|
|
pretty_env_logger = "0.5.0"
|
2023-05-24 21:22:14 +05:30
|
|
|
uuid = { version = "1", features = ["v4"] }
|
2024-06-08 01:00:42 +05:30
|
|
|
derive_builder = "0.20.0"
|
2024-06-07 22:31:22 +05:30
|
|
|
config = { version = "0.14", features = ["toml"] }
|
2023-05-24 21:22:14 +05:30
|
|
|
derive_more = "0.99.17"
|
|
|
|
url = { version = "2.2.2", features = ["serde"]}
|
|
|
|
async-trait = "0.1.36"
|
|
|
|
clap = { version = "4.1.11", features = ["derive", "env"] }
|
2023-12-29 20:09:48 +05:30
|
|
|
tokio = { version = "1.0", default-features = false, features = ["sync", "macros", "rt-multi-thread", "time"] }
|
2023-05-24 21:22:14 +05:30
|
|
|
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
|
|
|
|
actix = "0.13.0"
|
2024-06-08 01:00:54 +05:30
|
|
|
tonic = { version = "0.11.0", features = ["transport", "channel"] }
|
2024-08-30 12:09:50 +05:30
|
|
|
prost = "0.13.0"
|
2023-12-26 14:58:55 +05:30
|
|
|
tokio-stream = "0.1.14"
|
|
|
|
async-stream = "0.3.5"
|
2023-12-27 19:44:22 +05:30
|
|
|
actix-rt = "2.9.0"
|
2023-12-29 20:09:48 +05:30
|
|
|
futures = "0.3.30"
|
|
|
|
tower-service = "0.3.2"
|
2024-06-25 12:01:28 +05:30
|
|
|
dashmap = { version = "6.0.0", features = ["serde"] }
|
2023-05-24 21:22:14 +05:30
|
|
|
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
serde_json = "1"
|
2024-06-08 01:00:54 +05:30
|
|
|
tonic-build = "0.11.0"
|
2023-05-24 21:22:14 +05:30
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-06-07 22:31:05 +05:30
|
|
|
base64 = "0.22.0"
|
2023-05-24 21:22:14 +05:30
|
|
|
anyhow = "1.0.63"
|
|
|
|
maplit = "1.0.2"
|
2023-12-29 20:09:48 +05:30
|
|
|
|
2023-12-30 18:00:09 +05:30
|
|
|
#[profile.release]
|
|
|
|
#debug = true
|