[package] name = "dcache" version = "0.1.0" edition = "2021" build = "build.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] 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"]} #libmcaptcha = { path="/src/atm/code/mcaptcha/libmcaptcha", features=["full"] } libmcaptcha = { git = "https://github.com/mcaptcha/libmcaptcha", branch = "feat-dcache", features = ["full"]} tracing = { version = "0.1.37", features = ["log"] } serde_json = "1" serde = { version = "1", features = ["derive"] } byteorder = "1.4.3" futures-util = { version = "0.3.17", default-features = false, features = ["std"] } lazy_static = "1.4.0" pretty_env_logger = "0.4.0" uuid = { version = "1", features = ["v4"] } derive_builder = "0.11.2" config = { version = "0.11", features = ["toml"] } 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"] } tokio = { version = "1.0", default-features = false, features = ["sync", "macros", "rt-multi-thread", "time"] } tracing-subscriber = { version = "0.3.0", features = ["env-filter"] } actix = "0.13.0" tonic = { version = "0.10.2", features = ["transport", "channel"] } prost = "0.12.3" tokio-stream = "0.1.14" async-stream = "0.3.5" actix-rt = "2.9.0" futures = "0.3.30" tower-service = "0.3.2" dashmap = { version = "5.5.3", features = ["serde"] } [build-dependencies] serde_json = "1" tonic-build = "0.10.2" [dev-dependencies] base64 = "0.13.0" anyhow = "1.0.63" maplit = "1.0.2" #[profile.release] #debug = true