Ctrl K
ComunidadGuías…

Cargo.toml

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
[package]
name = "dewdb"
version = "1.3.0"
edition = "2024"
license = "Apache-2.0"
description = "Distributed JSON document database in a single binary: replication, sharding and failover in-process, REST as the protocol"

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.0", features = ["v4"] }
crc32fast = "1"
sha2 = "0.10"
hmac = "0.12"
axum = { version = "0.7", features = ["ws"] }
tokio = { version = "1", features = ["full"] }
bincode = "1"
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12", "logging"] }
rustls-pki-types = { version = "1.9", features = ["std"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12", "logging"] }
hyper = { version = "1", features = ["server", "http1", "http2"] }
hyper-util = { version = "0.1", features = ["server-auto", "service", "tokio"] }
tower = "0.5"
xxhash-rust = { version = "0.8", features = ["xxh64"] }
futures = "0.3"
tokio-util = { version = "0.7", features = ["io"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "json"] }

# Windows keeps reqwest's default TLS (SChannel). Elsewhere that default is OpenSSL, which blocks a
# static musl build, so non-peer HTTPS (webhooks) goes through rustls with the system's root store.
[target.'cfg(windows)'.dependencies]
reqwest = { version = "0.12", features = ["json", "stream", "rustls-tls-manual-roots"] }

[target.'cfg(not(windows))'.dependencies]
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "charset", "http2", "rustls-tls-manual-roots", "rustls-tls-native-roots"] }

[dev-dependencies]
# The test suite is in-crate, so a WebSocket client for it is a dev dependency of the binary.
tokio-tungstenite = "0.24"
rcgen = { version = "0.13", default-features = false, features = ["crypto", "pem", "ring"] }