rasn 0.28.2

A safe no_std ASN.1 codec framework.
Documentation
[[bench]]
name = "common"
path = "benches/common.rs"

[[bench]]
harness = false
name = "criterion"
path = "benches/criterion.rs"
test = true

[[bench]]
harness = false
name = "criterion_integer"
path = "benches/integer.rs"
test = true

[[bench]]
harness = false
name = "criterion_strings"
path = "benches/strings.rs"
test = true

[[bench]]
harness = false
name = "derive"
path = "benches/derive.rs"
test = false

[[bench]]
bench = false
harness = false
name = "iai"
path = "benches/iai.rs"

[[bench]]
harness = false
name = "ieee1609dot2cert"
path = "benches/ieee1609dot2_bsm_cert.rs"
test = true

[dependencies.arc-slice]
optional = true
version = "0.1.0"

[dependencies.bitvec]
default-features = false
features = ["alloc"]
version = "1.0.1"

[dependencies.bytes]
default-features = false
optional = true
version = "1.7.2"

[dependencies.cfg-if]
version = "1.0.1"

[dependencies.chrono]
default-features = false
features = ["alloc"]
version = "0.4.38"

[dependencies.either]
default-features = false
version = "1.13.0"

[dependencies.nom]
default-features = false
features = ["alloc"]
version = "7.1.3"

[dependencies.nom-bitvec]
package = "bitvec-nom2"
version = "0.2.1"

[dependencies.num-bigint]
default-features = false
version = "0.4.6"

[dependencies.num-integer]
default-features = false
features = ["i128"]
version = "0.1.46"

[dependencies.num-traits]
default-features = false
version = "0.2.19"

[dependencies.once_cell]
default-features = false
features = ["race", "alloc"]
version = "1.20.2"

[dependencies.rasn-compiler]
optional = true
version = "0.7"

[dependencies.rasn-derive]
version = "0.28"

[dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1"

[dependencies.snafu]
default-features = false
features = ["rust_1_81"]
version = "0.8.5"

[dependencies.xml-no-std]
version = "0.8.26"

[dev-dependencies.asn1]
version = "=0.20.0"

[dev-dependencies.criterion]
default-features = false
features = ["plotters", "cargo_bench_support"]
version = "0.5.1"

[dev-dependencies.iai-callgrind]
version = "0.14.0"

[dev-dependencies.once_cell]
version = "1.20.2"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.serde]
features = ["derive"]
version = "1.0.228"

[[example]]
name = "size_compare"
path = "examples/size_compare.rs"

[features]
backtraces = ["std", "snafu/backtrace"]
compiler = ["rasn-compiler"]
default = ["f32", "f64", "bytes"]
f32 = []
f64 = []
std = []

[lib]
bench = false
name = "rasn"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "no-std", "parser-implementations"]
description = "A safe no_std ASN.1 codec framework."
edition = "2021"
exclude = ["fuzzing"]
keywords = ["asn1", "der", "ber", "cer", "per"]
license = "MIT OR Apache-2.0"
name = "rasn"
readme = "README.md"
repository = "https://github.com/librasn/rasn.git"
version = "0.28.2"

[profile.bench-debug]
inherits = "dev"
opt-level = 1

[profile.bench-lto]
codegen-units = 1
inherits = "bench"
lto = "fat"
opt-level = 3

[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dev-dependencies.proc-macro2]
version = "1"

[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dev-dependencies.quote]
version = "1"

[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dev-dependencies.rustls-webpki]
version = "0.102.8"

[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dev-dependencies.syn]
features = ["full"]
version = "2"

[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dev-dependencies.x509-cert]
version = "0.2.5"

[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dev-dependencies.x509-certificate]
version = "0.23.1"

[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dev-dependencies.x509-parser]
version = "0.16"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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