Medlar/crates/core/Cargo.toml
2026-11-25 13:55:19 -06:00

54 lines
2.1 KiB
TOML

[package]
name = "medlar-core"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Medlar's engine, store and settings"
[dependencies]
aes = "0.9"
arc-swap = "1.9.5"
base64 = "0.23"
# In Rust alone, so that no C compiler is needed.
blake3 = { version = "1", default-features = false, features = ["pure", "std"] }
bytes = "1.10"
cbc = "0.2"
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
dirs = "6"
futures-lite = "2.6"
http = "1.5"
http-body = "1.1"
hyper-util = { version = "0.1.21", default-features = false, features = ["client-legacy", "client-proxy", "http1", "tokio"] }
log = { workspace = true, features = ["std"] }
md-5 = "0.11.0"
percent-encoding = "2.3.2"
regex = { version = "1", default-features = false, features = ["std", "unicode-case", "unicode-perl"] }
# The one wayland-scanner has.
quick-xml = "0.41"
roxmltree = "0.21"
# Pinned: D-017.
reqwest = { version = "=0.13.5", default-features = false, features = ["rustls-no-provider", "socks"] }
# ring, as everywhere else: aws-lc-rs would be a second one.
russh = { version = "=0.65.4", default-features = false, features = ["ring", "rsa"] }
russh-sftp = { version = "4", features = ["raw-string"] }
rusqlite = { version = "0.43", features = ["bundled", "fallible_uint"] }
rustix = { version = "1.1.6", features = ["fs", "process"] }
rustls = { version = "0.23.46", default-features = false, features = ["ring", "std", "tls12"] }
# The one reqwest has.
rustls-platform-verifier = "0.7.1"
serde.workspace = true
serde_json.workspace = true
sha1 = "0.11"
sha2 = "0.11.1"
tokio = { version = "1.54.1", features = ["rt-multi-thread", "macros", "sync", "time", "net", "io-util", "process"] }
tokio-rustls = { version = "0.26", default-features = false }
tower-service = "0.3"
url = "2"
# Without its tokio feature: the window's accessibility and tray share this build and run outside of tokio.
zbus = "5.19"
[dev-dependencies]
fastrand = "2.5.0"
medlar-testserver.workspace = true
rcgen = { version = "0.14.10", default-features = false, features = ["crypto", "ring", "pem"] }
tempfile = "3"