lora-packet 1.1.0

LoRaWAN 1.0/1.1 packet decoder and encoder with parse, build, MIC, and key derivation.
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 = "2024"
rust-version = "1.95"
name = "lora-packet"
version = "1.1.0"
build = false
include = [
    "src/**/*.rs",
    "tests/**/*.rs",
    "Cargo.toml",
    "LICENSE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LoRaWAN 1.0/1.1 packet decoder and encoder with parse, build, MIC, and key derivation."
homepage = "https://github.com/tago-io/lora-packet-rs"
readme = "README.md"
keywords = [
    "lora",
    "lorawan",
    "packet",
    "codec",
    "iot",
]
categories = [
    "encoding",
    "embedded",
    "no-std",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/tago-io/lora-packet-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
hex_base64 = [
    "dep:hex",
    "dep:base64",
]
serde = ["dep:serde"]
std = ["thiserror/std"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aes]
version = "0.9"
default-features = false

[dependencies.base64]
version = "0.22"
features = ["alloc"]
optional = true
default-features = false

[dependencies.cipher]
version = "0.5"

[dependencies.cmac]
version = "0.8"
default-features = false

[dependencies.hex]
version = "0.4"
features = ["alloc"]
optional = true
default-features = false

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

[dependencies.subtle]
version = "2.6"
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dependencies.zeroize]
version = "1.8"
features = ["derive"]
default-features = false

[dev-dependencies.hex]
version = "0.4"
features = ["alloc"]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde_json]
version = "1"