154 lines
2.8 KiB
TOML
154 lines
2.8 KiB
TOML
# 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 = "2018"
|
|
rust-version = "1.67.1"
|
|
name = "x509-parser"
|
|
version = "0.18.1"
|
|
authors = ["Pierre Chifflier <chifflier@wzdftpd.net>"]
|
|
build = false
|
|
include = [
|
|
"CHANGELOG.md",
|
|
"LICENSE-*",
|
|
"README.md",
|
|
".gitignore",
|
|
".travis.yml",
|
|
"Cargo.toml",
|
|
"src/*.rs",
|
|
"src/extensions/*.rs",
|
|
"src/validate/*.rs",
|
|
"src/visitor/*.rs",
|
|
"tests/*.rs",
|
|
"assets/*.crl",
|
|
"assets/*.csr",
|
|
"assets/*.der",
|
|
"assets/*.pem",
|
|
"assets/crl-ext/*.der",
|
|
"examples/*.rs",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Parser for the X.509 v3 format (RFC 5280 certificates)"
|
|
homepage = "https://github.com/rusticata/x509-parser"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"X509",
|
|
"Certificate",
|
|
"parser",
|
|
"nom",
|
|
]
|
|
categories = [
|
|
"parser-implementations",
|
|
"cryptography",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rusticata/x509-parser.git"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
default = []
|
|
validate = []
|
|
verify = ["ring"]
|
|
verify-aws = ["aws-lc-rs"]
|
|
|
|
[lib]
|
|
name = "x509_parser"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "print-cert"
|
|
path = "examples/print-cert.rs"
|
|
|
|
[[example]]
|
|
name = "print-crl"
|
|
path = "examples/print-crl.rs"
|
|
|
|
[[test]]
|
|
name = "pem"
|
|
path = "tests/pem.rs"
|
|
|
|
[[test]]
|
|
name = "readcert"
|
|
path = "tests/readcert.rs"
|
|
|
|
[[test]]
|
|
name = "readcrl"
|
|
path = "tests/readcrl.rs"
|
|
|
|
[[test]]
|
|
name = "readcsr"
|
|
path = "tests/readcsr.rs"
|
|
|
|
[[test]]
|
|
name = "run_all_fuzz_files"
|
|
path = "tests/run_all_fuzz_files.rs"
|
|
|
|
[[test]]
|
|
name = "test01"
|
|
path = "tests/test01.rs"
|
|
|
|
[[test]]
|
|
name = "verify"
|
|
path = "tests/verify.rs"
|
|
|
|
[dependencies.asn1-rs]
|
|
version = "0.7.0"
|
|
features = ["datetime"]
|
|
|
|
[dependencies.aws-lc-rs]
|
|
version = "1.0"
|
|
optional = true
|
|
|
|
[dependencies.data-encoding]
|
|
version = "2.2.1"
|
|
|
|
[dependencies.der-parser]
|
|
version = "10.0"
|
|
features = ["bigint"]
|
|
|
|
[dependencies.lazy_static]
|
|
version = "1.4"
|
|
|
|
[dependencies.nom]
|
|
version = "7.0"
|
|
|
|
[dependencies.oid-registry]
|
|
version = "0.8.1"
|
|
features = [
|
|
"crypto",
|
|
"x509",
|
|
"x962",
|
|
]
|
|
|
|
[dependencies.ring]
|
|
version = "0.17.12"
|
|
optional = true
|
|
|
|
[dependencies.rusticata-macros]
|
|
version = "4.0"
|
|
|
|
[dependencies.thiserror]
|
|
version = "2.0"
|
|
|
|
[dependencies.time]
|
|
version = "0.3.35"
|
|
features = ["formatting"]
|