diff options
| author | Dario Nieuwenhuis <[email protected]> | 2020-11-01 17:17:24 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2020-11-01 17:17:24 +0100 |
| commit | 5e8608c7a5b1e4e92f1fb650ea0ef47e5a6df563 (patch) | |
| tree | f731a0329d92d8fae4168957f8e90716b58ad00b /examples/Cargo.toml | |
| parent | 2c13e251849fd3e3cf06e2d5363c311ac880c77d (diff) | |
Make defmt optional with new `anyfmt` crate
Diffstat (limited to 'examples/Cargo.toml')
| -rw-r--r-- | examples/Cargo.toml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 8eb7a5ff7..719f73269 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml | |||
| @@ -17,14 +17,17 @@ defmt-error = [] | |||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | [dependencies] | 19 | [dependencies] |
| 20 | embassy = { version = "0.1.0", path = "../embassy", features = ["defmt"] } | ||
| 21 | embassy-nrf = { version = "0.1.0", path = "../embassy-nrf", features = ["defmt", "defmt-trace", "52840"] } | ||
| 22 | anyfmt = { version = "0.1.0", path = "../anyfmt", features = ["defmt"] } | ||
| 23 | |||
| 24 | defmt = "0.1.0" | ||
| 25 | defmt-rtt = "0.1.0" | ||
| 26 | |||
| 20 | cortex-m = { version = "0.6.3" } | 27 | cortex-m = { version = "0.6.3" } |
| 21 | cortex-m-rt = "0.6.12" | 28 | cortex-m-rt = "0.6.12" |
| 22 | defmt = "0.1.0" | ||
| 23 | embedded-hal = { version = "0.2.4" } | 29 | embedded-hal = { version = "0.2.4" } |
| 24 | defmt-rtt = "0.1.0" | ||
| 25 | panic-probe = "0.1.0" | 30 | panic-probe = "0.1.0" |
| 26 | nrf52840-hal = { version = "0.11.0" } | 31 | nrf52840-hal = { version = "0.11.0" } |
| 27 | embassy = { version = "0.1.0", path = "../embassy" } | ||
| 28 | embassy-nrf = { version = "0.1.0", path = "../embassy-nrf", features = ["defmt-trace", "52840"] } | ||
| 29 | futures = { version = "0.3.7", default-features = false, features = ["async-await"] } | 32 | futures = { version = "0.3.7", default-features = false, features = ["async-await"] } |
| 30 | cortex-m-rtic = { git = "https://github.com/rtic-rs/cortex-m-rtic", branch = "master"} \ No newline at end of file | 33 | cortex-m-rtic = { git = "https://github.com/rtic-rs/cortex-m-rtic", branch = "master"} |
