# 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.93"
name = "ntp_usg-proto"
version = "3.3.2"
authors = [
    "Jeff Belgum <jeffbelgum@gmail.com>",
    "John Willman <john.willman.1@us.af.mil>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "NTP protocol types, extension fields, and NTS cryptographic primitives."
homepage = "https://github.com/192d-Wing/ntp_usg"
documentation = "https://docs.rs/ntp_usg-proto/"
readme = "README.md"
keywords = [
    "protocol",
    "network",
    "time",
    "parser",
    "binary",
]
categories = [
    "date-and-time",
    "network-programming",
    "parser-implementations",
    "encoding",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/192d-Wing/ntp_usg"

[features]
alloc = []
default = ["std"]
nts = [
    "std",
    "dep:aes-siv",
    "dep:rand",
]
std = [
    "dep:byteorder",
    "dep:log",
]

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

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

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

[dependencies.byteorder]
version = "1.5"
optional = true

[dependencies.log]
version = "0.4"
optional = true

[dependencies.rand]
version = "0.10"
optional = true
