blob: 57c54d7f22eb787a292c8b9e5dcc384907b812d1 [file] [log] [blame] [edit]
# 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"
rust-version = "1.60"
name = "tls_codec"
version = "0.4.1"
authors = ["RustCrypto Developers"]
description = "A pure Rust implementation of the TLS (de)serialization"
documentation = "https://docs.rs/tls_codec/"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/formats/tree/master/tls_codec"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[[bench]]
name = "tls_vec"
harness = false
[[bench]]
name = "quic_vec"
harness = false
[dependencies.arbitrary]
version = "1.3"
features = ["derive"]
optional = true
[dependencies.serde]
version = "1.0.184"
features = ["derive"]
optional = true
[dependencies.tls_codec_derive]
version = "=0.4.1"
optional = true
[dependencies.zeroize]
version = "1.7"
features = [
"alloc",
"zeroize_derive",
]
default-features = false
[dev-dependencies.anstyle]
version = "=1.0.2"
[dev-dependencies.anstyle-parse]
version = "=0.2.1"
[dev-dependencies.clap]
version = "=4.3.23"
[dev-dependencies.clap_lex]
version = "=0.5.0"
[dev-dependencies.criterion]
version = "0.5"
default-features = false
[dev-dependencies.regex]
version = "1.8"
[features]
arbitrary = [
"std",
"dep:arbitrary",
]
conditional_deserialization = [
"derive",
"tls_codec_derive/conditional_deserialization",
]
default = ["std"]
derive = ["tls_codec_derive"]
mls = []
serde = [
"std",
"dep:serde",
]
std = ["tls_codec_derive?/std"]