ntp-proto 1.9.0

ntpd-rs packet parsing and algorithms
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.88"
name = "ntp-proto"
version = "1.9.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ntpd-rs packet parsing and algorithms"
homepage = "https://github.com/pendulum-project/ntpd-rs"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/pendulum-project/ntpd-rs"

[features]
__internal-api = []
__internal-fuzz = [
    "arbitrary",
    "__internal-api",
]
__internal-test = ["__internal-api"]
aws-lc = [
    "rustls23/aws-lc-rs",
    "rustls23/prefer-post-quantum",
]
default = [
    "aws-lc",
    "rustcrypto",
]
openssl = [
    "dep:rustls-openssl",
    "dep:openssl",
]
openssl-vendored = [
    "openssl",
    "rustls-openssl/vendored",
    "openssl/vendored",
]
rustcrypto = [
    "dep:md-5",
    "dep:aead",
    "dep:aes-siv",
]

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

[dependencies.aead]
version = "0.5.0"
optional = true

[dependencies.aes-siv]
version = "0.7.0"
optional = true

[dependencies.arbitrary]
version = "1.0"
optional = true

[dependencies.md-5]
version = "0.10.0"
optional = true

[dependencies.openssl]
version = "0.10.79"
optional = true

[dependencies.rand]
version = "0.8.0"

[dependencies.rustls-openssl]
version = ">=0.3.0,<0.9"
optional = true

[dependencies.rustls-platform-verifier]
version = "0.5.0"

[dependencies.rustls23]
version = "0.23.22"
features = [
    "logging",
    "std",
    "tls12",
]
default-features = false
package = "rustls"

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

[dependencies.tokio]
version = "1.36"
features = ["io-util"]

[dependencies.tokio-rustls]
version = "0.26.0"
features = [
    "logging",
    "tls12",
]
default-features = false

[dependencies.tracing]
version = "0.1.37"

[dependencies.zeroize]
version = "1.8.1"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1.36"
features = [
    "rt",
    "macros",
]