204 lines
3.6 KiB
TOML
204 lines
3.6 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 = "asn1-rs"
|
||
|
|
version = "0.7.1"
|
||
|
|
authors = ["Pierre Chifflier <chifflier@wzdftpd.net>"]
|
||
|
|
build = false
|
||
|
|
include = [
|
||
|
|
"CHANGELOG.md",
|
||
|
|
"LICENSE-*",
|
||
|
|
"README.md",
|
||
|
|
".gitignore",
|
||
|
|
"Cargo.toml",
|
||
|
|
"doc/*.md",
|
||
|
|
"examples/*.rs",
|
||
|
|
"src/*.rs",
|
||
|
|
"src/asn1_types/*.rs",
|
||
|
|
"src/asn1_types/real/*.rs",
|
||
|
|
"src/asn1_types/sequence/*.rs",
|
||
|
|
"src/asn1_types/set/*.rs",
|
||
|
|
"src/asn1_types/strings/*.rs",
|
||
|
|
"src/asn1_types/tagged/*.rs",
|
||
|
|
"src/ber/*.rs",
|
||
|
|
"src/doc/*.rs",
|
||
|
|
"tests/*.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/asn1-rs"
|
||
|
|
readme = "README.md"
|
||
|
|
keywords = [
|
||
|
|
"BER",
|
||
|
|
"DER",
|
||
|
|
"ASN1",
|
||
|
|
"parser",
|
||
|
|
"nom",
|
||
|
|
]
|
||
|
|
categories = ["parser-implementations"]
|
||
|
|
license = "MIT OR Apache-2.0"
|
||
|
|
repository = "https://github.com/rusticata/asn1-rs.git"
|
||
|
|
|
||
|
|
[package.metadata.cargo_check_external_types]
|
||
|
|
allowed_external_types = [
|
||
|
|
"nom",
|
||
|
|
"nom::*",
|
||
|
|
"asn1_rs_derive",
|
||
|
|
"asn1_rs_derive::*",
|
||
|
|
]
|
||
|
|
|
||
|
|
[package.metadata.docs.rs]
|
||
|
|
all-features = true
|
||
|
|
rustdoc-args = [
|
||
|
|
"--cfg",
|
||
|
|
"docsrs",
|
||
|
|
]
|
||
|
|
|
||
|
|
[features]
|
||
|
|
bigint = ["num-bigint"]
|
||
|
|
bits = ["bitvec"]
|
||
|
|
datetime = ["time"]
|
||
|
|
debug = [
|
||
|
|
"std",
|
||
|
|
"colored",
|
||
|
|
]
|
||
|
|
default = ["std"]
|
||
|
|
serialize = ["cookie-factory"]
|
||
|
|
std = []
|
||
|
|
trace = ["debug"]
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
name = "asn1_rs"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "dump-der"
|
||
|
|
path = "examples/dump-der.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "ber"
|
||
|
|
path = "tests/ber.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "compile_tests"
|
||
|
|
path = "tests/compile_tests.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "cov"
|
||
|
|
path = "tests/cov.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "der"
|
||
|
|
path = "tests/der.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "issue-18-constructed-bit-sequence"
|
||
|
|
path = "tests/issue-18-constructed-bit-sequence.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "issue-27-option-struct-derive"
|
||
|
|
path = "tests/issue-27-option-struct-derive.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "issue-43-encoding-large-tags"
|
||
|
|
path = "tests/issue-43-encoding-large-tags.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "krb5"
|
||
|
|
path = "tests/krb5.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "to_der"
|
||
|
|
path = "tests/to_der.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "to_static"
|
||
|
|
path = "tests/to_static.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "toder_sequence_lifetime"
|
||
|
|
path = "tests/toder_sequence_lifetime.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "toder_sequence_simple"
|
||
|
|
path = "tests/toder_sequence_simple.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "x509"
|
||
|
|
path = "tests/x509.rs"
|
||
|
|
|
||
|
|
[dependencies.asn1-rs-derive]
|
||
|
|
version = "0.6"
|
||
|
|
|
||
|
|
[dependencies.asn1-rs-impl]
|
||
|
|
version = "0.2"
|
||
|
|
|
||
|
|
[dependencies.bitvec]
|
||
|
|
version = "1.0"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.colored]
|
||
|
|
version = "3.0"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.cookie-factory]
|
||
|
|
version = "0.3.0"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.displaydoc]
|
||
|
|
version = "0.2.2"
|
||
|
|
|
||
|
|
[dependencies.nom]
|
||
|
|
version = "7.0"
|
||
|
|
features = ["std"]
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dependencies.num-bigint]
|
||
|
|
version = "0.4"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.num-traits]
|
||
|
|
version = "0.2.14"
|
||
|
|
|
||
|
|
[dependencies.rusticata-macros]
|
||
|
|
version = "4.0"
|
||
|
|
|
||
|
|
[dependencies.thiserror]
|
||
|
|
version = "2.0.0"
|
||
|
|
|
||
|
|
[dependencies.time]
|
||
|
|
version = "0.3"
|
||
|
|
features = [
|
||
|
|
"macros",
|
||
|
|
"parsing",
|
||
|
|
"formatting",
|
||
|
|
]
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dev-dependencies.colored]
|
||
|
|
version = "3.0"
|
||
|
|
|
||
|
|
[dev-dependencies.hex-literal]
|
||
|
|
version = "0.4"
|
||
|
|
|
||
|
|
[dev-dependencies.pem]
|
||
|
|
version = "3.0"
|
||
|
|
|
||
|
|
[dev-dependencies.trybuild]
|
||
|
|
version = "1.0"
|