diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-02-12 00:24:04 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-02-12 01:16:31 +0100 |
| commit | 20e14b8edbbf067ab683ffdb170938838d9167b3 (patch) | |
| tree | 159c4d03cc7eb74dd88357d28bb93b2445dba163 /examples/nrf | |
| parent | 611961b499f8d4fee4f556c56606a2481e944791 (diff) | |
embassy, embassy-nrf: add `nightly` Cargo feature to gate nightly-only features.
Diffstat (limited to 'examples/nrf')
| -rw-r--r-- | examples/nrf/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/nrf/Cargo.toml b/examples/nrf/Cargo.toml index da16bcbaf..2d9c99530 100644 --- a/examples/nrf/Cargo.toml +++ b/examples/nrf/Cargo.toml | |||
| @@ -4,6 +4,9 @@ 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 = ["nightly"] | ||
| 9 | nightly = ["embassy-nrf/nightly"] | ||
| 7 | 10 | ||
| 8 | [dependencies] | 11 | [dependencies] |
| 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } | 12 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } |
