-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Soft breaking changes developing into the 0.9 series
Changes in this PR are technically breaking, but generally compatible in the sense that they work unless there are either pre-existing unresolved deprecation warnings, or a type that rarely needs explicit naming was explicitly named. Merges: #90
- Loading branch information
Showing
30 changed files
with
226 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "riot-wrappers" | ||
version = "0.8.4" | ||
version = "0.8.999" # really 0.9.0-alpha.1, but we also try hard to not break realistic 0.8 users who fixed all deprecation warnings and don't hold things wrong. | ||
authors = ["Christian Amsüss <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.75" | ||
|
@@ -30,7 +30,7 @@ bare-metal = "1" | |
|
||
cstr = "^0.2.11" | ||
|
||
heapless = "^0.7" | ||
heapless = "^0.8" | ||
rand_core_06 = { package = "rand_core", version = "^0.6" } | ||
|
||
# For nimble UUID parsing and some debug implementations | ||
|
@@ -40,18 +40,20 @@ coap-numbers = "^0.2.0" | |
|
||
embedded-graphics = "0.6" | ||
|
||
coap-message-0-2 = { package = "coap-message", version = "^0.2.3" } | ||
coap-message-0-3 = { package = "coap-message", version = "^0.3.0" } | ||
coap-handler-0-1 = { package = "coap-handler", version = "^0.1.4" } | ||
coap-handler-0-2 = { package = "coap-handler", version = "^0.2.0" } | ||
embedded-nal = { version = "0.6.0", optional = true } | ||
embedded-nal-tcpextensions = { version = "0.1", optional = true } | ||
embedded-nal-async = { version = "0.6", optional = true } | ||
embedded-nal-async-0-7 = { package = "embedded-nal-async", version = "0.7.1", optional = true } | ||
embedded-io-async = { version = "0.6", optional = true } | ||
pin-utils = "0.1" | ||
pin-project = "1.0.11" | ||
|
||
# as used in embedded-nal 0.6 | ||
no-std-net-0-5 = { package = "no-std-net", version = "0.5", optional = true } | ||
# as used in embedded-nal-async | ||
no-std-net-0-6 = { package = "no-std-net", version = "0.6", optional = true } | ||
|
||
embedded-hal-async = { version = "1", optional = true } | ||
|
||
critical-section = { version = "1.0", optional = true } | ||
|
@@ -84,8 +86,8 @@ provide_critical_section_1_0 = ["critical-section/restore-state-u32"] | |
with_coap_message = [] | ||
with_coap_handler = [] | ||
|
||
with_embedded_nal = ["embedded-nal", "embedded-nal-tcpextensions"] | ||
with_embedded_nal_async = [ "embedded-nal-async", "embedded-io-async", "embedded-nal-async-0-7" ] | ||
with_embedded_nal = ["embedded-nal", "embedded-nal-tcpextensions", "no-std-net-0-5"] | ||
with_embedded_nal_async = [ "embedded-io-async", "embedded-nal-async-0-7", "no-std-net-0-6" ] | ||
|
||
with_embedded_hal_async = [ "embedded-hal-async" ] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
//! This module provides a wrappers around a coap_handler::Handler in different versions, all of | ||
//! which can be registered at a RIOT GcoapHandler. | ||
pub mod v0_1; | ||
pub mod v0_2; | ||
|
||
#[deprecated(note = "Use through the v0_1 module.")] | ||
pub use v0_1::*; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.