[dependencies.asn1-rs-derive]
version = "0.6"
[dependencies.asn1-rs-impl]
version = "0.2"
[dependencies.bitvec]
optional = true
version = "1.0"
[dependencies.colored]
optional = true
version = "3.0"
[dependencies.cookie-factory]
optional = true
version = "0.3.0"
[dependencies.displaydoc]
version = "0.2.2"
[dependencies.nom]
default-features = false
features = ["std"]
version = "7.0"
[dependencies.num-bigint]
optional = true
version = "0.4"
[dependencies.num-traits]
version = "0.2.14"
[dependencies.rusticata-macros]
version = "4.0"
[dependencies.thiserror]
version = "2.0.0"
[dependencies.time]
features = ["macros", "parsing", "formatting"]
optional = true
version = "0.3"
[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"
[[example]]
name = "dump-der"
path = "examples/dump-der.rs"
[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"
[package]
authors = ["Pierre Chifflier <chifflier@wzdftpd.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parser-implementations"]
description = "Parser/encoder for ASN.1 BER/DER data"
edition = "2018"
homepage = "https://github.com/rusticata/asn1-rs"
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"]
keywords = ["BER", "DER", "ASN1", "parser", "nom"]
license = "MIT OR Apache-2.0"
name = "asn1-rs"
readme = "README.md"
repository = "https://github.com/rusticata/asn1-rs.git"
rust-version = "1.63"
version = "0.7.1"
[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"]
[[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"