chirpstack/lrwn/Cargo.toml

36 lines
905 B
TOML
Raw Normal View History

2022-04-06 20:18:32 +00:00
[package]
2024-06-25 11:27:28 +00:00
name = "lrwn"
description = "Library for encoding / decoding LoRaWAN frames."
homepage = "https://www.chirpstack.io"
license = "MIT"
2024-12-10 13:01:17 +00:00
version = "4.10.2"
2024-06-25 11:27:28 +00:00
authors = ["Orne Brocaar <info@brocaar.com>"]
edition = "2018"
repository = "https://github.com/chirpstack/chirpstack"
2022-04-06 20:18:32 +00:00
2024-06-25 11:27:28 +00:00
[package.metadata.docs.rs]
all-features = true
2022-04-06 20:18:32 +00:00
[dependencies]
2024-06-25 11:27:28 +00:00
hex = "0.4"
cmac = { version = "0.7", optional = true }
aes = { version = "0.8", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
diesel = { version = "2.2", optional = true }
2022-04-06 20:18:32 +00:00
2024-06-25 11:27:28 +00:00
# Error handling
2024-12-05 12:18:27 +00:00
thiserror = "2.0"
2024-06-25 11:27:28 +00:00
anyhow = "1.0"
2022-04-06 20:18:32 +00:00
2024-06-25 11:27:28 +00:00
# Misc
lazy_static = "1.5"
[features]
2024-06-25 11:27:28 +00:00
default = []
diesel = ["dep:diesel", "serde"]
postgres = ["diesel", "diesel/postgres_backend"]
sqlite = ["diesel", "diesel/sqlite"]
2024-06-25 11:27:28 +00:00
serde = ["dep:serde"]
crypto = ["dep:cmac", "dep:aes"]
regions = []