# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.90"
name = "facet-asn1"
version = "0.44.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ASN.1 DER/BER serialization and deserialization for facet"
homepage = "https://facet.rs"
readme = "README.md"
keywords = [
    "asn1",
    "der",
    "ber",
    "serialization",
    "facet",
]
categories = [
    "encoding",
    "parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/facet-rs/facet-format"

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

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

[lib]
name = "facet_asn1"
path = "src/lib.rs"

[[test]]
name = "format_suite"
path = "tests/format_suite.rs"
harness = false

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

[dependencies.facet-core]
version = "0.45"
features = [
    "alloc",
    "alloc",
]
default-features = false

[dependencies.facet-format]
version = "0.44.7"
default-features = false

[dependencies.facet-reflect]
version = "0.44"
features = [
    "alloc",
    "alloc",
]
default-features = false

[dev-dependencies.facet]
version = "0.45"
features = [
    "std",
    "std",
    "all-impls",
    "iddqd",
]
default-features = false

[dev-dependencies.facet-format-suite]
version = "0.44.3"
features = [
    "third-party",
    "net",
]

[dev-dependencies.facet-testhelpers]
version = "0.44"
default-features = false

[dev-dependencies.libtest-mimic]
version = "0.8"

[lints.clippy]
disallowed_methods = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(facet_no_doc)",
    "cfg(kani)",
]
