synta 0.2.2

ASN.1 parser, decoder, and encoder library with DER/BER support and C FFI
Documentation
# 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 = "synta"
version = "0.2.2"
authors = ["Synta Contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ASN.1 parser, decoder, and encoder library with DER/BER support and C FFI"
readme = "README.md"
keywords = [
    "asn1",
    "der",
    "ber",
    "encoding",
    "parser",
]
categories = [
    "encoding",
    "parser-implementations",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/abbra/synta"

[features]
alloc = []
default = [
    "std",
    "derive",
]
derive = [
    "dep:synta-derive",
    "std",
]
serde = ["dep:serde"]
std = []
unchecked = []

[lib]
name = "synta"
crate-type = ["rlib"]
path = "src/lib.rs"

[[example]]
name = "asn1parse"
path = "examples/asn1parse.rs"

[[example]]
name = "decode_integer"
path = "examples/decode_integer.rs"

[[example]]
name = "derive_usage"
path = "examples/derive_usage.rs"

[[example]]
name = "encode_sequence"
path = "examples/encode_sequence.rs"

[[example]]
name = "generate_test_cert"
path = "examples/generate_test_cert.rs"

[[example]]
name = "name_constraints"
path = "examples/name_constraints.rs"

[[example]]
name = "oid_usage"
path = "examples/oid_usage.rs"

[[example]]
name = "parse_certificate"
path = "examples/parse_certificate.rs"

[[example]]
name = "profile_cert_parse"
path = "examples/profile_cert_parse.rs"

[[example]]
name = "sequenceof_benchmark"
path = "examples/sequenceof_benchmark.rs"

[[example]]
name = "serde_cert"
path = "examples/serde_cert.rs"

[[example]]
name = "serde_usage"
path = "examples/serde_usage.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.serde]
version = "1"
features = ["alloc"]
optional = true
default-features = false

[dependencies.smallvec]
version = "1.13"
default-features = false

[dependencies.synta-derive]
version = "0.2.2"
optional = true

[profile.profiling]
debug = 2
inherits = "release"