mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-19 05:07:54 +00:00
0679f10fad
This avoids pulling and building unnecessary dependencies for simple use-cases.
34 lines
787 B
TOML
34 lines
787 B
TOML
[package]
|
|
name = "lrwn"
|
|
description = "Library for encoding / decoding LoRaWAN frames."
|
|
homepage = "https://www.chirpstack.io"
|
|
license = "MIT"
|
|
version = "4.3.2"
|
|
authors = ["Orne Brocaar <info@brocaar.com>"]
|
|
edition = "2018"
|
|
repository = "https://github.com/chirpstack/chirpstack"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[dependencies]
|
|
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.0", features = ["postgres"], optional = true }
|
|
|
|
# Error handling
|
|
thiserror = "1.0"
|
|
anyhow = "1.0"
|
|
|
|
# Misc
|
|
lazy_static = "1.4"
|
|
|
|
[features]
|
|
default = []
|
|
diesel = ["dep:diesel", "serde"]
|
|
serde = ["dep:serde"]
|
|
crypto = ["dep:cmac", "dep:aes"]
|
|
regions = []
|