[package]
edition = "2024"
rust-version = "1.92"
name = "structured-asn1"
version = "0.9.2"
build = false
include = [
"src/**",
"tests/**",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Borrowed BER/DER parsing with shared work budgets and exact byte ranges"
readme = "README.md"
keywords = [
"asn1",
"der",
"ber",
"no-std",
"parser",
]
categories = [
"encoding",
"parser-implementations",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/structured-world/signature-primitives"
[features]
alloc = []
default = []
std = []
[lib]
name = "structured_asn1"
path = "src/lib.rs"
[[test]]
name = "borrowed_map"
path = "tests/borrowed_map.rs"
[[test]]
name = "borrowed_map_mutation"
path = "tests/borrowed_map_mutation.rs"
[[test]]
name = "digest"
path = "tests/digest.rs"
[[test]]
name = "execution"
path = "tests/execution.rs"
[[test]]
name = "integer_reading"
path = "tests/integer_reading.rs"
[[test]]
name = "map_execution"
path = "tests/map_execution.rs"
[[test]]
name = "owned_map_retain"
path = "tests/owned_map_retain.rs"
[[test]]
name = "owned_text"
path = "tests/owned_text.rs"
[[test]]
name = "owned_text_append"
path = "tests/owned_text_append.rs"
[[test]]
name = "owned_text_reserve"
path = "tests/owned_text_reserve.rs"
[[test]]
name = "owned_vec_drain"
path = "tests/owned_vec_drain.rs"
[[test]]
name = "query_execution"
path = "tests/query_execution.rs"
[[test]]
name = "retained_execution"
path = "tests/retained_execution.rs"
[[test]]
name = "scoped_map"
path = "tests/scoped_map.rs"
[[test]]
name = "scoped_mutation"
path = "tests/scoped_mutation.rs"
[[test]]
name = "shared_string"
path = "tests/shared_string.rs"
[[test]]
name = "work_remaining"
path = "tests/work_remaining.rs"
[dependencies.allocator-api2]
version = "=0.4.0"
features = ["alloc"]
default-features = false
[dependencies.allocator-api2-hashbrown]
version = "=0.2.21"
features = ["alloc"]
default-features = false
package = "allocator-api2"
[dependencies.hashbrown]
version = "=0.17.1"
features = [
"default-hasher",
"inline-more",
"allocator-api2",
"raw-entry",
]
default-features = false
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"