[package]
name = "facet-asn1"
version = "0.44.7"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
description = "ASN.1 DER/BER serialization and deserialization for facet"
keywords = ["asn1", "der", "ber", "serialization", "facet"]
categories = ["encoding", "parsing"]
homepage = "https://facet.rs"

[package.metadata."docs.rs"]
rustdoc-args = ["--html-in-header", "arborium-header.html"]

[features]
default = ["std"]
std = ["facet-core/std", "facet-reflect/std"]
iddqd = ["facet-core/iddqd"]

# yoke support
yoke = ["facet-core/yoke"]

[dependencies]
facet-core = { workspace = true, features = ["alloc"] }
facet-format = { path = "../facet-format", version = "0.44.7", default-features = false }
facet-reflect = { workspace = true, features = ["alloc"] }

[dev-dependencies]
facet = { workspace = true, features = ["std", "all-impls", "iddqd"] }
facet-testhelpers = { workspace = true }
facet-format-suite = { path = "../facet-format-suite", version = "0.44.3", features = [
  "third-party",
  "net",
] }
libtest-mimic = "0.8"

[[test]]
name = "format_suite"
harness = false

[lints]
workspace = true
