tor-cert 0.40.0

Non-standard certificate formats used by Tor
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.89"
name = "tor-cert"
version = "0.40.0"
authors = [
    "The Tor Project, Inc.",
    "Nick Mathewson <nickm@torproject.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Non-standard certificate formats used by Tor"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "tor",
    "arti",
    "certificate",
]
categories = ["parser-implementations"]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[package.metadata.docs.rs]
all-features = true

[features]
__is_experimental = []
default = []
encode = [
    "derive_builder",
    "__is_experimental",
]
experimental = [
    "encode",
    "experimental-api",
]
experimental-api = ["__is_experimental"]
full = [
    "caret/full",
    "tor-bytes/full",
    "tor-cert-x509/full",
    "tor-checkable/full",
    "tor-llcrypto/full",
    "x509",
    "tor-error/full",
    "tor-cert-x509?/full",
]
x509 = ["tor-cert-x509"]

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

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

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

[dependencies.caret]
version = "0.9.0"

[dependencies.derive_builder]
version = "0.11.2"
optional = true
package = "derive_builder_fork_arti"

[dependencies.derive_more]
version = "2.0.1"
features = ["full"]

[dependencies.digest]
version = "0.10.0"

[dependencies.ecdsa]
version = "0.16.9"
features = [
    "der",
    "pkcs8",
    "signing",
    "verifying",
]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tor-bytes]
version = "0.40.0"

[dependencies.tor-cert-x509]
version = "0.40.0"
optional = true

[dependencies.tor-checkable]
version = "0.40.0"

[dependencies.tor-error]
version = "0.40.0"

[dependencies.tor-llcrypto]
version = "0.40.0"

[dev-dependencies.base64ct]
version = "1.5.1"

[dev-dependencies.hex-literal]
version = "1.0"

[dev-dependencies.humantime]
version = "2"

[dev-dependencies.rand]
version = "0.9.1"

[dev-dependencies.tor-basic-utils]
version = "0.40.0"