File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name = "radio-sx127x"
33description = " Rust driver for the Semtec SX127x Sub GHZ LoRa Radio ICs"
44version = " 0.7.3"
55authors = [" Ryan Kurte <ryankurte@gmail.com>" ]
6+ repository = " https://github.com/ryankurte/rust-radio-sx127x"
67license = " MPL-2.0"
78
89[features ]
@@ -14,9 +15,9 @@ libc = "0.2.42"
1415log = { version = " 0.4.6" }
1516bitflags = " 1.0.4"
1617embedded-hal = { version = " 0.2.3" , features = [" unproven" ] }
17- embedded-spi = " 0.5.1"
18+ embedded-spi = { version = " 0.5.1" , default-features = false }
1819radio = " 0.4.0"
19- serde = { version = " 1.0" , features = [" derive" ] }
20+ serde = { version = " 1.0" , default-features = false , features = [" derive" ] }
2021
2122structopt = { version = " 0.2.15" , optional = true }
2223linux-embedded-hal = { version = " 0.2.2" , optional = true }
@@ -34,3 +35,4 @@ required-features = ["util"]
3435[[test ]]
3536name = " integration"
3637path = " tests/integration.rs"
38+ required-features = [" utils" ]
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ Install the utility with one of the following methods:
2626- using a precompiled binary from the [ releases] ( https://github.com/ryankurte/rust-radio-sx127x/releases/ ) page
2727- from source using cargo with ` cargo install radio-sx127x `
2828
29+ ## As a ` no_std ` Library
30+
31+ The radio-sx127x crate can be used as an interface library for the sx127x radio on other
32+ embedded devices. To enable ` no_std ` usage, add ` default-features = false ` to your
33+ ` Cargo.toml `
2934
3035
3136## Useful Resources
You can’t perform that action at this time.
0 commit comments