diff options
Diffstat (limited to 'examples/nrf')
| -rw-r--r-- | examples/nrf/Cargo.toml | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/examples/nrf/Cargo.toml b/examples/nrf/Cargo.toml index b89aa513f..5b4662b4c 100644 --- a/examples/nrf/Cargo.toml +++ b/examples/nrf/Cargo.toml | |||
| @@ -4,30 +4,19 @@ edition = "2018" | |||
| 4 | name = "embassy-nrf-examples" | 4 | name = "embassy-nrf-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | 6 | ||
| 7 | [features] | ||
| 8 | default = [ | ||
| 9 | "defmt-default", | ||
| 10 | ] | ||
| 11 | defmt-default = [] | ||
| 12 | defmt-trace = [] | ||
| 13 | defmt-debug = [] | ||
| 14 | defmt-info = [] | ||
| 15 | defmt-warn = [] | ||
| 16 | defmt-error = [] | ||
| 17 | |||
| 18 | 7 | ||
| 19 | [dependencies] | 8 | [dependencies] |
| 20 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } | 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } |
| 21 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } | 10 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } |
| 22 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "defmt-trace", "nrf52840", "time-driver-rtc1", "gpiote"] } | 11 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote"] } |
| 23 | 12 | ||
| 24 | defmt = "0.2.3" | 13 | defmt = "0.3" |
| 25 | defmt-rtt = "0.2.0" | 14 | defmt-rtt = "0.3" |
| 26 | 15 | ||
| 27 | cortex-m = { version = "0.7.3", features = ["inline-asm"] } | 16 | cortex-m = { version = "0.7.3", features = ["inline-asm"] } |
| 28 | cortex-m-rt = "0.7.0" | 17 | cortex-m-rt = "0.7.0" |
| 29 | embedded-hal = "0.2.6" | 18 | embedded-hal = "0.2.6" |
| 30 | panic-probe = { version = "0.2.0", features = ["print-defmt"] } | 19 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 31 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 20 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 32 | rand = { version = "0.8.4", default-features = false } | 21 | rand = { version = "0.8.4", default-features = false } |
| 33 | embedded-storage = "0.2.0" | 22 | embedded-storage = "0.2.0" |
