# 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 = "2021"
name = "rasn"
version = "0.10.5"
exclude = ["fuzzing"]
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/Apache-2.0"
repository = "https://github.com/XAMPPRocky/rasn.git"

[lib]
bench = false

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

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

[dependencies.arrayvec]
version = "0.7.4"
default-features = false

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

[dependencies.bytes]
version = "1.4.0"
default-features = false

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

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

[dependencies.konst]
version = "0.3.5"
default-features = false

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

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

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

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

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

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

[dependencies.rasn-derive]
version = "0.10"
optional = true

[dependencies.snafu]
version = "0.7.5"
features = ["backtraces"]
default-features = false

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.iai]
version = "0.1.1"

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

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

[dev-dependencies.x509-parser]
version = "0.15.0"

[features]
default = ["macros"]
macros = ["rasn-derive"]
