geonetworking 0.2.1

Tools for encoding and decoding a geonetworking header according to EN 302 636-4-1 v1.3.1
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 = "geonetworking"
version = "0.2.1"
authors = [
    "Kevin Westphal<westphal@consider-it.de>",
    "consider it GmbH",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tools for encoding and decoding a geonetworking header according to EN 302 636-4-1 v1.3.1"
homepage = "https://github.com/consider-it/geonetworking"
documentation = "https://docs.rs/geonetworking"
readme = "README.md"
keywords = [
    "its",
    "v2x",
    "etsi",
    "geonetworking",
]
categories = [
    "no-std",
    "encoding",
]
license = "MIT"
repository = "https://github.com/consider-it/geonetworking"

[features]
default = [
    "json",
    "validate",
]
json = [
    "dep:serde_json",
    "serde",
    "bytes/serde",
]
validate = [
    "ecdsa",
    "openssl",
    "openssl-sys",
    "p256",
    "p384",
    "sha2",
    "sm2",
    "sm3",
    "generic-array",
]

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

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

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

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

[dependencies.ecdsa]
version = "0.16.9"
features = ["verifying"]
optional = true
default-features = false

[dependencies.generic-array]
version = "=0.14.7"
optional = true

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

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

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

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

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.openssl-sys]
version = "0.9"
optional = true

[dependencies.p256]
version = "0.13.2"
features = ["ecdsa"]
optional = true
default-features = false

[dependencies.p384]
version = "0.13.1"
features = ["ecdsa"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["alloc"]
optional = true
default-features = false

[dependencies.sha2]
version = "0.10.9"
optional = true
default-features = false

[dependencies.sm2]
version = "0.13.3"
features = ["dsa"]
optional = true
default-features = false

[dependencies.sm3]
version = "0.4.2"
optional = true
default-features = false

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