# 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-storage"
version = "1.3.9"
authors = ["The Dragonfly Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Storage for the dragonfly client"
homepage = "https://d7y.io/"
readme = false
keywords = [
    "dragonfly",
    "dragonfly-client",
    "p2p",
    "container",
    "docker-image",
]
license = "Apache-2.0"
repository = "https://github.com/dragonflyoss/client.git"

[lib]
name = "dragonfly_client_storage"
path = "src/lib.rs"

[[bench]]
name = "cache"
path = "benches/cache.rs"
harness = false

[[bench]]
name = "lru_cache"
path = "benches/lru_cache.rs"
harness = false

[dependencies.bincode]
version = "1.3.3"

[dependencies.bytes]
version = "1.11"

[dependencies.bytesize]
version = "1.3.3"
features = ["serde"]

[dependencies.chrono]
version = "0.4.44"
features = [
    "serde",
    "clock",
]

[dependencies.crc32fast]
version = "1.5.0"

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

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

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

[dependencies.dragonfly-client-metric]
version = "1.3.9"

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

[dependencies.fs2]
version = "0.4.3"

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

[dependencies.num_cpus]
version = "1.17"

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

[dependencies.quinn]
version = "0.11.9"

[dependencies.reqwest]
version = "0.12.28"
features = [
    "stream",
    "native-tls",
    "default-tls",
    "rustls-tls",
    "blocking",
    "hickory-dns",
]

[dependencies.rocksdb]
version = "0.24.0"

[dependencies.rustls]
version = "0.23.40"
features = [
    "tls12",
    "ring",
]
default-features = false

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

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

[dependencies.socket2]
version = "0.6.3"

[dependencies.tokio]
version = "1.52.1"
features = [
    "full",
    "tracing",
]

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

[dependencies.tracing]
version = "0.1"

[dependencies.vortex-protocol]
version = "0.1.5"

[dependencies.walkdir]
version = "2.5.0"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.tempfile]
version = "3.25.0"
