# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "dragonfly-client"
version = "0.1.73"
authors = ["The Dragonfly Developers"]
build = "build.rs"
description = "Dragonfly client written in Rust"
homepage = "https://d7y.io/"
readme = "README.md"
keywords = [
    "dragonfly",
    "dragonfly-client",
    "p2p",
    "container",
    "docker-image",
]
license = "Apache-2.0"
repository = "https://github.com/dragonflyoss/client.git"

[[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.86"

[dependencies.bytes]
version = "1.4"

[dependencies.chrono]
version = "0.4.35"
features = ["serde"]

[dependencies.clap]
version = "4.5.3"
features = ["derive"]

[dependencies.dashmap]
version = "5.5.3"

[dependencies.dragonfly-api]
version = "2.0.114"

[dependencies.dragonfly-client-backend]
version = "0.1.73"

[dependencies.dragonfly-client-config]
version = "0.1.73"

[dependencies.dragonfly-client-core]
version = "0.1.73"

[dependencies.dragonfly-client-storage]
version = "0.1.73"

[dependencies.dragonfly-client-util]
version = "0.1.73"

[dependencies.fs2]
version = "0.4.3"

[dependencies.fslock]
version = "0.2.1"

[dependencies.futures-util]
version = "0.3.30"

[dependencies.hashring]
version = "0.3.5"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1.0"

[dependencies.humantime]
version = "2.1.0"

[dependencies.hyper]
version = "1.2"
features = ["full"]

[dependencies.hyper-rustls]
version = "0.26"
features = [
    "http1",
    "http2",
    "logging",
]

[dependencies.hyper-util]
version = "0.1.2"
features = [
    "client",
    "client-legacy",
    "tokio",
    "server-auto",
    "http1",
    "http2",
]

[dependencies.indicatif]
version = "0.17.8"

[dependencies.lazy_static]
version = "1.4"

[dependencies.leaky-bucket]
version = "1.0.1"

[dependencies.libc]
version = "0.2"

[dependencies.openssl]
version = "0.10"
features = ["vendored"]

[dependencies.opentelemetry]
version = "0.18.0"
features = [
    "trace",
    "rt-tokio",
]
default-features = false

[dependencies.opentelemetry-jaeger]
version = "0.17.0"
features = ["rt-tokio"]

[dependencies.pprof]
version = "0.13"
features = [
    "flamegraph",
    "protobuf-codec",
]

[dependencies.prometheus]
version = "0.13"
features = ["process"]

[dependencies.prost-wkt-types]
version = "0.4"

[dependencies.rcgen]
version = "0.12.1"
features = ["x509-parser"]

[dependencies.reqwest]
version = "0.11.27"
features = [
    "stream",
    "native-tls",
    "default-tls",
    "rustls-tls",
]

[dependencies.rolling-file]
version = "0.2.0"

[dependencies.rustls]
version = "0.22.2"

[dependencies.rustls-pki-types]
version = "1.7.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sysinfo]
version = "0.29.6"

[dependencies.termion]
version = "4.0.0"

[dependencies.tokio]
version = "1.29.1"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.25.0-alpha.4"

[dependencies.tokio-stream]
version = "0.1.15"

[dependencies.tokio-util]
version = "0.7.11"
features = ["full"]

[dependencies.tonic]
version = "0.9.2"
features = ["gzip"]

[dependencies.tonic-health]
version = "0.9.2"

[dependencies.tonic-reflection]
version = "0.9.2"

[dependencies.tower]
version = "0.4.13"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2.3"

[dependencies.tracing-log]
version = "0.2"

[dependencies.tracing-opentelemetry]
version = "0.18.0"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2.4.0"

[dependencies.validator]
version = "0.16"
features = ["derive"]

[dependencies.warp]
version = "0.3.5"

[target."cfg(not(target_env = \"msvc\"))".dependencies.tikv-jemallocator]
version = "0.5.4"
features = [
    "profiling",
    "stats",
    "unprefixed_malloc_on_supported_platforms",
    "background_threads",
]

[target."cfg(target_os = \"linux\")".dependencies.jemalloc_pprof]
version = "0.1.0"
