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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.dashmap]
version = "6.1.0"

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

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

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

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

[dependencies.fastrand]
version = "2.4.1"

[dependencies.futures]
version = "0.3.32"

[dependencies.http]
version = "1"

[dependencies.libloading]
version = "0.8.9"

[dependencies.lru]
version = "0.16.3"

[dependencies.opendal]
version = "0.55.0"
features = [
    "services-azblob",
    "services-cos",
    "services-fs",
    "services-gcs",
    "services-obs",
    "services-oss",
    "services-s3",
    "services-webhdfs",
]

[dependencies.percent-encoding]
version = "2.3.2"

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

[dependencies.reqwest-middleware]
version = "0.4"

[dependencies.reqwest-retry]
version = "0.8"

[dependencies.reqwest-tracing]
version = "0.5"

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

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

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

[dependencies.serde_json]
version = "1.0.150"

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

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

[dependencies.tonic]
version = "=0.14.2"
features = ["tls-ring"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5.4"

[dev-dependencies.hyper]
version = "1.9"
features = ["full"]

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

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

[dev-dependencies.rustls-pemfile]
version = "2.2.0"

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

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

[dev-dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[dev-dependencies.wiremock]
version = "0.6.4"
