Skip to content

Commit c930ad2

Browse files
committed
Expose more fields in beacon as pub
This allows to not just parse but also generate these frames.
1 parent c57fb7e commit c930ad2

File tree

4 files changed

+100
-111
lines changed

4 files changed

+100
-111
lines changed

Cargo.toml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,49 @@
11
[package]
2-
name = "ieee802154"
3-
version = "0.6.1"
2+
name = "ieee802154"
3+
version = "0.7.0"
44
authors = [
5-
"Erik Henriksson <[email protected]>",
6-
"Hanno Braun <[email protected]>",
7-
"Ryan Kurte <[email protected]>",
5+
"Erik Henriksson <[email protected]>",
6+
"Hanno Braun <[email protected]>",
7+
"Ryan Kurte <[email protected]>",
88
]
9-
edition = "2018"
9+
edition = "2021"
1010

11-
description = "Partial implementation of the IEEE 802.15.4 standard for low-rate wireless personal area networks"
11+
description = "Partial implementation of the IEEE 802.15.4 standard for low-rate wireless personal area networks"
1212
documentation = "https://docs.rs/ieee802154"
13-
repository = "https://github.com/rust-iot/rust-ieee802.15.4"
14-
license = "0BSD"
15-
readme = "README.md"
16-
categories = ["embedded", "network-programming", "no-std"]
17-
keywords = ["WPAN"]
13+
repository = "https://github.com/rust-iot/rust-ieee802.15.4"
14+
license = "0BSD"
15+
readme = "README.md"
16+
categories = ["embedded", "network-programming", "no-std"]
17+
keywords = ["WPAN"]
1818

1919
[features]
20+
defmt = ["dep:defmt", "heapless/defmt-03"]
21+
serde = ["dep:serde"]
2022

2123
[dependencies]
22-
hash32 = "0.2.1"
24+
hash32 = "0.2.1"
2325
hash32-derive = "0.1"
2426
byte = "0.2.7"
2527
defmt = { version = ">=0.2.0,<0.4", optional = true }
28+
heapless = "0.8.0"
2629

2730
[dependencies.ccm]
28-
version = "0.4.0"
31+
version = "0.4.0"
2932
default-features = false
3033

3134
[dependencies.cipher]
32-
version = "0.3.0"
35+
version = "0.3.0"
3336
default-features = false
3437

3538
[dependencies.serde]
36-
version = "1.0"
39+
version = "1.0"
3740
default-features = false
38-
optional = true
39-
features = [ "derive" ]
41+
optional = true
42+
features = ["derive"]
4043

4144
[dev-dependencies]
4245
rand = "0.8.3"
4346

4447
[dev-dependencies.aes]
45-
version = "0.7.0"
48+
version = "0.7.0"
4649
default-features = false

0 commit comments

Comments
 (0)