Skip to content

Commit eb0bebd

Browse files
committed
build(deps): bump cargo group with 5 updates
also satisfy linter warning about unused code in python binding for non-Linux targets.
1 parent 0e2266a commit eb0bebd

5 files changed

Lines changed: 9 additions & 8 deletions

File tree

bindings/node/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ crate-type = ["cdylib"]
1212
[dependencies]
1313
embedded-hal = "1.0.0"
1414
# Default `napi` features: see https://nodejs.org/api/n-api.html#node-api-version-matrix
15-
napi = "3.1.3"
16-
napi-derive = "3.1.1"
15+
napi = "3.3.0"
16+
napi-derive = "3.2.5"
1717
rf24-rs = { path = "../../crates/rf24-rs", features = ["std"] }
1818
rf24ble-rs = { path = "../../crates/rf24ble-rs", features = ["std"] }
1919

2020
[build-dependencies]
2121
napi-build = "2.2.3"
2222

2323
[target.'cfg(target_os = "linux")'.dependencies]
24-
linux-embedded-hal = {version = "0.4.0", default-features = false, features = ["gpio_cdev", "spi"]}
24+
linux-embedded-hal = {version = "0.4.1", default-features = false, features = ["gpio_cdev", "spi"]}
2525
nix = { version = "0.30.1", features = ["time"]}

bindings/python/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ crate-type = ["cdylib"]
1414

1515
[dependencies]
1616
embedded-hal = "1.0.0"
17-
pyo3 = {version = "0.26.0", features = ["extension-module", "abi3-py39"]}
17+
pyo3 = {version = "0.27.1", features = ["extension-module", "abi3-py39"]}
1818
rf24-rs = { path = "../../crates/rf24-rs", features = ["std"]}
1919
rf24ble-rs = { path = "../../crates/rf24ble-rs", features = ["std"] }
2020

2121
[target.'cfg(target_os = "linux")'.dependencies]
22-
linux-embedded-hal = {version = "0.4.0", default-features = false, features = ["gpio_cdev", "spi"]}
22+
linux-embedded-hal = {version = "0.4.1", default-features = false, features = ["gpio_cdev", "spi"]}
2323
nix = { version = "0.30.1", features = ["time"]}

bindings/python/src/radio/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ pub enum FifoState {
187187
Occupied,
188188
}
189189

190+
#[cfg(target_os = "linux")]
190191
impl FifoState {
191192
pub fn into_inner(self) -> rf24::FifoState {
192193
match self {

crates/rf24ble-rs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bitfield-struct = "0.9.5"
2020
embedded-hal = "1.0.0"
2121

2222
[dev-dependencies]
23-
embedded-hal-mock = "0.11.1"
23+
embedded-hal-mock = {git = "https://github.com/2bndy5/embedded-hal-mock.git", branch = "dev"}
2424

2525
[features]
2626
std = []

examples/rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ name = "rf24_rs_examples"
1111
rf24-rs = {path = "../../crates/rf24-rs", version = "0.3.1"}
1212
rf24ble-rs = {path = "../../crates/rf24ble-rs", version = "0.1.4"}
1313
embedded-hal = "1.0.0"
14-
anyhow = {version = "1.0.98", default-features = false}
15-
linux-embedded-hal = {version = "0.4.0", optional = true, default-features = false, features = ["gpio_cdev", "spi"]}
14+
anyhow = {version = "1.0.100", default-features = false}
15+
linux-embedded-hal = {version = "0.4.1", optional = true, default-features = false, features = ["gpio_cdev", "spi"]}
1616

1717
[features]
1818
default = ["linux"]

0 commit comments

Comments
 (0)