# 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"
name = "cert_by_host"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dynamic SSL certificate loading from Kvrocks with auto-expiration / 基于 Kvrocks 的动态 SSL 证书加载与自动过期管理"
homepage = "https://github.com/js0-site/rust/tree/main/cert_by_host"
readme = "README.md"
keywords = [
    "ssl",
    "certificate",
    "kvrocks",
    "cache",
    "rustls",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/rust.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.cargo-machete]
ignored = ["linkme"]

[features]
default = []

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

[[test]]
name = "main"
path = "tests/main.rs"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.coarsetime]
version = "0.1.36"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.expire_set]
version = "0.1.5"

[dependencies.fred]
version = "10.1.0"

[dependencies.linkme]
version = "0.3.35"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.rustls]
version = "0.23.35"

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

[dependencies.sonic-rs]
version = "0.5.6"

[dependencies.ssl_trait]
version = "0.1.3"

[dependencies.static_init]
version = "1.0.4"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.48.0"
features = ["time"]

[dependencies.x509-parser]
version = "0.18.0"

[dependencies.xboot]
version = "0.1.29"

[dependencies.xkv]
version = "0.1.51"
features = ["r"]

[dev-dependencies.aok]
version = "0.1.18"

[dev-dependencies.log]
version = "0.4.28"

[dev-dependencies.log_init]
version = "0.1.28"

[dev-dependencies.static_init]
version = "1.0.4"

[dev-dependencies.tokio]
version = "1.48.0"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "sync",
]

[dev-dependencies.xboot]
version = "0.1.29"
