docker-registry-client 0.2.0

Communicate with Docker Registries to fetch image metadata.
Documentation
# 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 = "2024"
rust-version = "1.87"
name = "docker-registry-client"
version = "0.2.0"
authors = ["Alexander Thaller <alexander@thaller.ws>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Communicate with Docker Registries to fetch image metadata."
homepage = "https://github.com/AlexanderThaller/docker-registry-client"
documentation = "https://docs.rs/docker-registry-client/"
readme = "README.md"
keywords = [
    "docker",
    "registry",
    "metadata",
    "client",
]
license = "MIT"
repository = "https://github.com/AlexanderThaller/docker-registry-client"

[features]
default = ["redis_cache"]
redis_cache = ["redis"]

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

[[example]]
name = "get_manifest"
path = "examples/get_manifest.rs"

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

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

[dependencies.dyn-clone]
version = "1"

[dependencies.either]
version = "1"

[dependencies.redis]
version = "1"
features = [
    "tokio-comp",
    "connection-manager",
]
optional = true

[dependencies.redis-macros]
version = "1"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"
features = ["serde"]

[dev-dependencies.eyre]
version = "0.6"

[dev-dependencies.insta]
version = "1"
features = ["json"]

[dev-dependencies.pretty_assertions]
version = "1"

[lints.clippy]
allow-attributes = "warn"
allow-attributes-without-reason = "warn"
dbg-macro = "warn"
pedantic = "warn"
todo = "warn"
unwrap-used = "warn"

[lints.rust]
missing-debug-implementations = "warn"
rust-2018-idioms = "warn"
unsafe-code = "forbid"
unused-lifetimes = "warn"

[profile.dev.package.insta]
opt-level = 3

[profile.dev.package.similar]
opt-level = 3