[[bin]]
name = "dfcache"
path = "src/bin/dfcache/main.rs"
[[bin]]
name = "dfdaemon"
path = "src/bin/dfdaemon/main.rs"
[[bin]]
name = "dfget"
path = "src/bin/dfget/main.rs"
[[bin]]
name = "dfstore"
path = "src/bin/dfstore/main.rs"
[dependencies.anyhow]
version = "1.0.95"
[dependencies.blake3]
version = "1.5.5"
[dependencies.bytes]
version = "1.9"
[dependencies.bytesize]
features = ["serde"]
version = "1.2.0"
[dependencies.chrono]
features = ["serde", "clock"]
version = "0.4.39"
[dependencies.clap]
features = ["derive"]
version = "4.5.26"
[dependencies.dashmap]
version = "6.1.0"
[dependencies.dragonfly-api]
version = "=2.1.23"
[dependencies.dragonfly-client-backend]
version = "0.2.6"
[dependencies.dragonfly-client-config]
version = "0.2.6"
[dependencies.dragonfly-client-core]
version = "0.2.6"
[dependencies.dragonfly-client-storage]
version = "0.2.6"
[dependencies.dragonfly-client-util]
version = "0.2.6"
[dependencies.fs2]
version = "0.4.3"
[dependencies.fslock]
version = "0.2.1"
[dependencies.futures-util]
version = "0.3.31"
[dependencies.hashring]
version = "0.3.6"
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1.2"
[dependencies.humantime]
version = "2.1.0"
[dependencies.hyper]
features = ["full"]
version = "1.5"
[dependencies.hyper-rustls]
features = ["http1", "http2", "logging"]
version = "0.26"
[dependencies.hyper-util]
features = ["client", "client-legacy", "tokio", "server-auto", "http1", "http2"]
version = "0.1.10"
[dependencies.indicatif]
version = "0.17.9"
[dependencies.lazy_static]
version = "1.5"
[dependencies.leaky-bucket]
version = "1.1.2"
[dependencies.lru]
version = "0.12.5"
[dependencies.openssl]
features = ["vendored"]
version = "0.10"
[dependencies.opentelemetry]
default-features = false
features = ["trace", "rt-tokio"]
version = "0.18.0"
[dependencies.opentelemetry-jaeger]
features = ["rt-tokio"]
version = "0.17.0"
[dependencies.path-absolutize]
version = "3.1.1"
[dependencies.percent-encoding]
version = "2.3.1"
[dependencies.pprof]
features = ["flamegraph", "protobuf-codec"]
version = "0.14"
[dependencies.prometheus]
features = ["process"]
version = "0.13"
[dependencies.prost-wkt-types]
version = "0.6"
[dependencies.rcgen]
features = ["x509-parser"]
version = "0.12.1"
[dependencies.reqwest]
features = ["stream", "native-tls", "default-tls", "rustls-tls", "gzip", "brotli", "zstd", "deflate"]
version = "0.12.4"
[dependencies.rolling-file]
version = "0.2.0"
[dependencies.rustls]
features = ["tls12"]
version = "0.22.4"
[dependencies.rustls-pki-types]
version = "1.10.1"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0.137"
[dependencies.sysinfo]
version = "0.32.1"
[dependencies.tabled]
version = "0.17.0"
[dependencies.termion]
version = "4.0.3"
[dependencies.tokio]
features = ["full"]
version = "1.43.0"
[dependencies.tokio-rustls]
version = "0.25.0-alpha.4"
[dependencies.tokio-stream]
version = "0.1.17"
[dependencies.tokio-util]
features = ["full"]
version = "0.7.13"
[dependencies.tonic]
features = ["tls"]
version = "0.12.2"
[dependencies.tonic-health]
version = "0.12.3"
[dependencies.tonic-reflection]
version = "0.12.3"
[dependencies.tower]
version = "0.4.13"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-appender]
version = "0.2.3"
[dependencies.tracing-flame]
version = "0.2.0"
[dependencies.tracing-log]
version = "0.2"
[dependencies.tracing-opentelemetry]
version = "0.18.0"
[dependencies.tracing-subscriber]
features = ["env-filter", "time", "chrono"]
version = "0.3"
[dependencies.url]
version = "2.5.4"
[dependencies.uuid]
features = ["v4"]
version = "1.12"
[dependencies.validator]
features = ["derive"]
version = "0.16"
[dependencies.warp]
version = "0.3.5"
[dev-dependencies.tempfile]
version = "3.14.0"
[lib]
name = "dragonfly_client"
path = "src/lib.rs"
[package]
authors = ["The Dragonfly Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Dragonfly client written in Rust"
edition = "2021"
homepage = "https://d7y.io/"
keywords = ["dragonfly", "dragonfly-client", "p2p", "container", "docker-image"]
license = "Apache-2.0"
name = "dragonfly-client"
readme = "README.md"
repository = "https://github.com/dragonflyoss/client.git"
version = "0.2.6"
[package.metadata.deb.variants.aarch64-unknown-linux-gnu]
assets = [["../target/aarch64-unknown-linux-gnu/release/dfget", "usr/bin/dfget", "755"], ["../target/aarch64-unknown-linux-gnu/release/dfdaemon", "usr/bin/dfdaemon", "755"], ["../target/aarch64-unknown-linux-gnu/release/dfcache", "usr/bin/dfcache", "755"], ["../target/aarch64-unknown-linux-gnu/release/dfstore", "usr/bin/dfstore", "755"], ["../ci/dfdaemon.service", "lib/systemd/system/dfdaemon.service", "644"], ["../CONTRIBUTING.md", "usr/share/doc/client/CONTRIBUTING.md", "644"], ["../LICENSE", "usr/share/doc/client/LICENSE", "644"], ["../README.md", "usr/share/doc/client/README.md", "644"]]
maintainer = "Dragonfly <dragonfly-maintainers@googlegroups.com>"
priority = "optional"
section = "rust"
[package.metadata.deb.variants.aarch64-unknown-linux-musl]
assets = [["../target/aarch64-unknown-linux-musl/release/dfget", "usr/bin/dfget", "755"], ["../target/aarch64-unknown-linux-musl/release/dfdaemon", "usr/bin/dfdaemon", "755"], ["../target/aarch64-unknown-linux-musl/release/dfcache", "usr/bin/dfcache", "755"], ["../target/aarch64-unknown-linux-musl/release/dfstore", "usr/bin/dfstore", "755"], ["../ci/dfdaemon.service", "lib/systemd/system/dfdaemon.service", "644"], ["../CONTRIBUTING.md", "usr/share/doc/client/CONTRIBUTING.md", "644"], ["../LICENSE", "usr/share/doc/client/LICENSE", "644"], ["../README.md", "usr/share/doc/client/README.md", "644"]]
maintainer = "Dragonfly <dragonfly-maintainers@googlegroups.com>"
priority = "optional"
section = "rust"
[package.metadata.deb.variants.x86_64-unknown-linux-gnu]
assets = [["../target/x86_64-unknown-linux-gnu/release/dfget", "usr/bin/dfget", "755"], ["../target/x86_64-unknown-linux-gnu/release/dfdaemon", "usr/bin/dfdaemon", "755"], ["../target/x86_64-unknown-linux-gnu/release/dfcache", "usr/bin/dfcache", "755"], ["../target/x86_64-unknown-linux-gnu/release/dfstore", "usr/bin/dfstore", "755"], ["../ci/dfdaemon.service", "lib/systemd/system/dfdaemon.service", "644"], ["../CONTRIBUTING.md", "usr/share/doc/client/CONTRIBUTING.md", "644"], ["../LICENSE", "usr/share/doc/client/LICENSE", "644"], ["../README.md", "usr/share/doc/client/README.md", "644"]]
maintainer = "Dragonfly <dragonfly-maintainers@googlegroups.com>"
priority = "optional"
section = "rust"
[package.metadata.deb.variants.x86_64-unknown-linux-musl]
assets = [["../target/x86_64-unknown-linux-musl/release/dfget", "usr/bin/dfget", "755"], ["../target/x86_64-unknown-linux-musl/release/dfdaemon", "usr/bin/dfdaemon", "755"], ["../target/x86_64-unknown-linux-musl/release/dfcache", "usr/bin/dfcache", "755"], ["../target/x86_64-unknown-linux-musl/release/dfstore", "usr/bin/dfstore", "755"], ["../ci/dfdaemon.service", "lib/systemd/system/dfdaemon.service", "644"], ["../CONTRIBUTING.md", "usr/share/doc/client/CONTRIBUTING.md", "644"], ["../LICENSE", "usr/share/doc/client/LICENSE", "644"], ["../README.md", "usr/share/doc/client/README.md", "644"]]
maintainer = "Dragonfly <dragonfly-maintainers@googlegroups.com>"
priority = "optional"
section = "rust"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu.assets]]
dest = "/usr/bin/dfget"
mode = "755"
source = "../target/aarch64-unknown-linux-gnu/release/dfget"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu.assets]]
dest = "/usr/bin/dfdaemon"
mode = "755"
source = "../target/aarch64-unknown-linux-gnu/release/dfdaemon"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu.assets]]
dest = "/usr/bin/dfcache"
mode = "755"
source = "../target/aarch64-unknown-linux-gnu/release/dfcache"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu.assets]]
dest = "/usr/bin/dfstore"
mode = "755"
source = "../target/aarch64-unknown-linux-gnu/release/dfstore"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu.assets]]
config = true
dest = "/lib/systemd/system/dfdaemon.service"
mode = "644"
source = "../ci/dfdaemon.service"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu.assets]]
dest = "/usr/share/doc/client/CONTRIBUTING.md"
doc = true
mode = "644"
source = "../CONTRIBUTING.md"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu.assets]]
dest = "/usr/share/doc/client/LICENSE.md"
doc = true
mode = "644"
source = "../LICENSE"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu.assets]]
dest = "/usr/share/doc/client/README.md"
doc = true
mode = "644"
source = "../README.md"
[package.metadata.generate-rpm.variants.aarch64-unknown-linux-musl]
auto-req = "no"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-musl.assets]]
dest = "/usr/bin/dfget"
mode = "755"
source = "../target/aarch64-unknown-linux-musl/release/dfget"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-musl.assets]]
dest = "/usr/bin/dfdaemon"
mode = "755"
source = "../target/aarch64-unknown-linux-musl/release/dfdaemon"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-musl.assets]]
dest = "/usr/bin/dfcache"
mode = "755"
source = "../target/aarch64-unknown-linux-musl/release/dfcache"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-musl.assets]]
dest = "/usr/bin/dfstore"
mode = "755"
source = "../target/aarch64-unknown-linux-musl/release/dfstore"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-musl.assets]]
config = true
dest = "/lib/systemd/system/dfdaemon.service"
mode = "644"
source = "../ci/dfdaemon.service"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-musl.assets]]
dest = "/usr/share/doc/client/CONTRIBUTING.md"
doc = true
mode = "644"
source = "../CONTRIBUTING.md"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-musl.assets]]
dest = "/usr/share/doc/client/LICENSE.md"
doc = true
mode = "644"
source = "../LICENSE"
[[package.metadata.generate-rpm.variants.aarch64-unknown-linux-musl.assets]]
dest = "/usr/share/doc/client/README.md"
doc = true
mode = "644"
source = "../README.md"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-gnu.assets]]
dest = "/usr/bin/dfget"
mode = "755"
source = "../target/x86_64-unknown-linux-gnu/release/dfget"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-gnu.assets]]
dest = "/usr/bin/dfdaemon"
mode = "755"
source = "../target/x86_64-unknown-linux-gnu/release/dfdaemon"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-gnu.assets]]
dest = "/usr/bin/dfcache"
mode = "755"
source = "../target/x86_64-unknown-linux-gnu/release/dfcache"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-gnu.assets]]
dest = "/usr/bin/dfstore"
mode = "755"
source = "../target/x86_64-unknown-linux-gnu/release/dfstore"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-gnu.assets]]
config = true
dest = "/lib/systemd/system/dfdaemon.service"
mode = "644"
source = "../ci/dfdaemon.service"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-gnu.assets]]
dest = "/usr/share/doc/client/CONTRIBUTING.md"
doc = true
mode = "644"
source = "../CONTRIBUTING.md"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-gnu.assets]]
dest = "/usr/share/doc/client/LICENSE.md"
doc = true
mode = "644"
source = "../LICENSE"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-gnu.assets]]
dest = "/usr/share/doc/client/README.md"
doc = true
mode = "644"
source = "../README.md"
[package.metadata.generate-rpm.variants.x86_64-unknown-linux-musl]
auto-req = "no"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-musl.assets]]
dest = "/usr/bin/dfget"
mode = "755"
source = "../target/x86_64-unknown-linux-musl/release/dfget"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-musl.assets]]
dest = "/usr/bin/dfdaemon"
mode = "755"
source = "../target/x86_64-unknown-linux-musl/release/dfdaemon"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-musl.assets]]
dest = "/usr/bin/dfcache"
mode = "755"
source = "../target/x86_64-unknown-linux-musl/release/dfcache"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-musl.assets]]
dest = "/usr/bin/dfstore"
mode = "755"
source = "../target/x86_64-unknown-linux-musl/release/dfstore"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-musl.assets]]
config = true
dest = "/lib/systemd/system/dfdaemon.service"
mode = "644"
source = "../ci/dfdaemon.service"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-musl.assets]]
dest = "/usr/share/doc/client/CONTRIBUTING.md"
doc = true
mode = "644"
source = "../CONTRIBUTING.md"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-musl.assets]]
dest = "/usr/share/doc/client/LICENSE.md"
doc = true
mode = "644"
source = "../LICENSE"
[[package.metadata.generate-rpm.variants.x86_64-unknown-linux-musl.assets]]
dest = "/usr/share/doc/client/README.md"
doc = true
mode = "644"
source = "../README.md"
[target.'cfg(not(target_env = "msvc"))'.dependencies.tikv-jemallocator]
features = ["profiling", "stats", "unprefixed_malloc_on_supported_platforms", "background_threads"]
version = "0.5.4"
[target.'cfg(target_os = "linux")'.dependencies.jemalloc_pprof]
version = "0.4.2"