164 lines
2.9 KiB
TOML
164 lines
2.9 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.63"
|
|
name = "der-parser"
|
|
version = "10.0.0"
|
|
authors = ["Pierre Chifflier <chifflier@wzdftpd.net>"]
|
|
build = false
|
|
include = [
|
|
"LICENSE-*",
|
|
"CHANGELOG.md",
|
|
"README.md",
|
|
"UPGRADING.md",
|
|
".gitignore",
|
|
"Cargo.toml",
|
|
"examples/*.rs",
|
|
"src/*.rs",
|
|
"src/ber/*.rs",
|
|
"src/der/*.rs",
|
|
"tests/*.rs",
|
|
"der-oid-macro/Cargo.toml",
|
|
"der-oid-macro/src/*.rs",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Parser/encoder for ASN.1 BER/DER data"
|
|
homepage = "https://github.com/rusticata/der-parser"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"BER",
|
|
"DER",
|
|
"ASN1",
|
|
"parser",
|
|
"nom",
|
|
]
|
|
categories = ["parser-implementations"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rusticata/der-parser.git"
|
|
|
|
[package.metadata.cargo_check_external_types]
|
|
allowed_external_types = [
|
|
"asn1_rs",
|
|
"asn1_rs::*",
|
|
"nom",
|
|
"nom::*",
|
|
"rusticata_macros",
|
|
]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[lib]
|
|
name = "der_parser"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "dump-der"
|
|
path = "examples/dump-der.rs"
|
|
|
|
[[test]]
|
|
name = "ber_parser"
|
|
path = "tests/ber_parser.rs"
|
|
|
|
[[test]]
|
|
name = "constructed"
|
|
path = "tests/constructed.rs"
|
|
|
|
[[test]]
|
|
name = "custom_error"
|
|
path = "tests/custom_error.rs"
|
|
|
|
[[test]]
|
|
name = "der_constructed"
|
|
path = "tests/der_constructed.rs"
|
|
|
|
[[test]]
|
|
name = "der_parser"
|
|
path = "tests/der_parser.rs"
|
|
|
|
[[test]]
|
|
name = "fuzz01"
|
|
path = "tests/fuzz01.rs"
|
|
|
|
[[test]]
|
|
name = "fuzz02"
|
|
path = "tests/fuzz02.rs"
|
|
|
|
[[test]]
|
|
name = "issue-76"
|
|
path = "tests/issue-76.rs"
|
|
|
|
[[test]]
|
|
name = "oid"
|
|
path = "tests/oid.rs"
|
|
|
|
[[test]]
|
|
name = "primitive"
|
|
path = "tests/primitive.rs"
|
|
|
|
[dependencies.asn1-rs]
|
|
version = "0.7"
|
|
|
|
[dependencies.bitvec]
|
|
version = "1.0"
|
|
optional = true
|
|
|
|
[dependencies.cookie-factory]
|
|
version = "0.3.0"
|
|
optional = true
|
|
|
|
[dependencies.displaydoc]
|
|
version = "0.2"
|
|
default-features = false
|
|
|
|
[dependencies.nom]
|
|
version = "7.0"
|
|
|
|
[dependencies.num-bigint]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[dependencies.num-traits]
|
|
version = "0.2"
|
|
|
|
[dependencies.rusticata-macros]
|
|
version = "4.0"
|
|
|
|
[dev-dependencies.hex-literal]
|
|
version = "0.4"
|
|
|
|
[dev-dependencies.pretty_assertions]
|
|
version = "1.0"
|
|
|
|
[dev-dependencies.test-case]
|
|
version = "3.0"
|
|
|
|
[features]
|
|
as_bitvec = ["bitvec"]
|
|
bigint = ["num-bigint"]
|
|
default = ["std"]
|
|
serialize = [
|
|
"std",
|
|
"cookie-factory",
|
|
]
|
|
std = []
|
|
unstable = []
|