[package]
edition = "2021"
name = "rasn"
version = "0.28.7"
build = false
exclude = ["fuzzing"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A safe no_std ASN.1 codec framework."
readme = "README.md"
keywords = [
"asn1",
"der",
"ber",
"cer",
"per",
]
categories = [
"encoding",
"no-std",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/librasn/rasn.git"
[features]
backtraces = [
"std",
"snafu/backtrace",
]
compiler = ["rasn-compiler"]
default = [
"f32",
"f64",
"bytes",
]
f32 = []
f64 = []
std = []
[lib]
name = "rasn"
path = "src/lib.rs"
bench = false
[[example]]
name = "size_compare"
path = "examples/size_compare.rs"
[[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 = "recursiveDepth"
path = "tests/recursiveDepth.rs"
[[test]]
name = "set"
path = "tests/set.rs"
[[test]]
name = "strings"
path = "tests/strings.rs"
[[test]]
name = "test_date"
path = "tests/test_date.rs"
[[bench]]
name = "common"
path = "benches/common.rs"
[[bench]]
name = "criterion"
path = "benches/criterion.rs"
test = true
harness = false
[[bench]]
name = "criterion_integer"
path = "benches/integer.rs"
test = true
harness = false
[[bench]]
name = "criterion_strings"
path = "benches/strings.rs"
test = true
harness = false
[[bench]]
name = "derive"
path = "benches/derive.rs"
test = false
harness = false
[[bench]]
name = "iai"
path = "benches/iai.rs"
bench = false
harness = false
[[bench]]
name = "ieee1609dot2cert"
path = "benches/ieee1609dot2_bsm_cert.rs"
test = true
harness = false
[dependencies.arc-slice]
version = "0.1.0"
optional = true
[dependencies.bitvec]
version = "1.0.1"
features = ["alloc"]
default-features = false
[dependencies.bytes]
version = "1.7.2"
optional = true
default-features = false
[dependencies.cfg-if]
version = "1.0.1"
[dependencies.chrono]
version = "0.4.38"
features = ["alloc"]
default-features = false
[dependencies.either]
version = "1.13.0"
default-features = false
[dependencies.nom]
version = "7.1.3"
features = ["alloc"]
default-features = false
[dependencies.nom-bitvec]
version = "0.2.1"
package = "bitvec-nom2"
[dependencies.num-bigint]
version = "0.4.6"
default-features = false
[dependencies.num-integer]
version = "0.1.46"
features = ["i128"]
default-features = false
[dependencies.num-traits]
version = "0.2.19"
default-features = false
[dependencies.once_cell]
version = "1.20.2"
features = [
"race",
"alloc",
]
default-features = false
[dependencies.rasn-compiler]
version = "0.7"
optional = true
[dependencies.rasn-derive]
version = "0.28"
[dependencies.serde_json]
version = "1"
features = ["alloc"]
default-features = false
[dependencies.snafu]
version = "0.8.5"
features = ["rust_1_81"]
default-features = false
[dependencies.xml-no-std]
version = "0.8.26"
[dev-dependencies.asn1]
version = "=0.20.0"
[dev-dependencies.criterion]
version = "0.5.1"
features = [
"plotters",
"cargo_bench_support",
]
default-features = false
[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]
version = "1.0.228"
features = ["derive"]
[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]
version = "2"
features = ["full"]
[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"
[profile.bench-debug]
opt-level = 1
inherits = "dev"
[profile.bench-lto]
opt-level = 3
lto = "fat"
codegen-units = 1
inherits = "bench"