geonetworking 0.3.0

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.3.0"
authors = [
    "Kevin Westphal<westphal@consider-it.de>",
    "consider it GmbH",
]
build = false
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",
    "p256",
    "p384",
    "bp256",
    "bp384",
    "sha2",
    "sm2",
    "sm3",
]

[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.bp256]
version = "=0.14.0-rc.15"
features = [
    "ecdsa",
    "arithmetic",
    "sha256",
]
optional = true
default-features = false

[dependencies.bp384]
version = "=0.14.0-rc.15"
features = [
    "ecdsa",
    "arithmetic",
    "sha384",
]
optional = true
default-features = false

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

[dependencies.ecdsa]
version = "=0.17.0"
features = ["algorithm"]
optional = true
default-features = false

[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.p256]
version = "=0.14.0"
features = ["ecdsa"]
optional = true
default-features = false

[dependencies.p384]
version = "=0.14.0"
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.11.0"
optional = true
default-features = false

[dependencies.sm2]
version = "=0.14.0-rc.15"
features = [
    "dsa",
    "arithmetic",
]
optional = true
default-features = false

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

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