1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

rust: Update dependencies

The change in 399e25cc was did not have the intended effect: As the
local crates still all defined 0.7 as the riot-wrappers version, that
dependency was actually down- rather than upgraded, and thus did not
effect the stabilizations.
This commit is contained in:
chrysn 2022-10-04 00:06:16 +02:00
parent 3227fb3b17
commit 69cb6b12fc
10 changed files with 44 additions and 52 deletions

View File

@ -12,6 +12,6 @@ publish = false
[dependencies] [dependencies]
lsm303agr = "^0.2" lsm303agr = "^0.2"
riot-wrappers = "^0.7.17" riot-wrappers = "^0.8"
# Whatever lsm uses # Whatever lsm uses
nb = "*" nb = "*"

View File

@ -189,7 +189,7 @@ checksum = "16fbe39cc8c18a07e97f3fbf16e6771946f5cded9800db0ab2698c5a2409ddb2"
dependencies = [ dependencies = [
"byteorder", "byteorder",
"coap-message", "coap-message",
"coap-numbers 0.2.0", "coap-numbers",
"crc", "crc",
"serde", "serde",
"serde_cbor", "serde_cbor",
@ -204,7 +204,7 @@ checksum = "620e584e19bd2432640d73fc29b5c8ac0904a903b863f7c3ad5cd989917c55e5"
dependencies = [ dependencies = [
"coap-handler", "coap-handler",
"coap-message", "coap-message",
"coap-numbers 0.2.0", "coap-numbers",
"crc", "crc",
"minicbor", "minicbor",
"serde", "serde",
@ -226,18 +226,12 @@ dependencies = [
"coap-handler", "coap-handler",
"coap-handler-implementations", "coap-handler-implementations",
"coap-message", "coap-message",
"coap-numbers 0.2.0", "coap-numbers",
"heapless", "heapless",
"serde", "serde",
"serde_cbor", "serde_cbor",
] ]
[[package]]
name = "coap-numbers"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "846c9bba4f1a98e6b3e26f67d96414eb2b1534a702c87d65c3a52c994c690d6a"
[[package]] [[package]]
name = "coap-numbers" name = "coap-numbers"
version = "0.2.0" version = "0.2.0"
@ -278,13 +272,13 @@ dependencies = [
] ]
[[package]] [[package]]
name = "cstr_core" name = "cstr"
version = "0.2.6" version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd98742e4fdca832d40cab219dc2e3048de17d873248f83f17df47c1bea70956" checksum = "8aa998c33a6d3271e3678950a22134cd7dd27cef86dee1b611b5b14207d1d90b"
dependencies = [ dependencies = [
"cty", "proc-macro2",
"memchr", "quote",
] ]
[[package]] [[package]]
@ -590,12 +584,12 @@ checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
[[package]] [[package]]
name = "riot-coap-handler-demos" name = "riot-coap-handler-demos"
version = "0.1.0" version = "0.1.0"
source = "git+https://gitlab.com/etonomy/riot-module-examples/#630a3b0af6dadf10da0583ac2faa54d5297b7bf4" source = "git+https://gitlab.com/etonomy/riot-module-examples/#75132650a5c8dfe16cd62eb3dcc91f8fd1630648"
dependencies = [ dependencies = [
"coap-handler", "coap-handler",
"coap-handler-implementations", "coap-handler-implementations",
"coap-message", "coap-message",
"coap-numbers 0.2.0", "coap-numbers",
"embedded-graphics", "embedded-graphics",
"embedded-hal", "embedded-hal",
"heapless", "heapless",
@ -625,15 +619,15 @@ dependencies = [
[[package]] [[package]]
name = "riot-wrappers" name = "riot-wrappers"
version = "0.7.23" version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b11fc0cd528fb848b4abdefa332f4163052edf0bcc3a2ee9cd95e4256e1edc7" checksum = "4482b7376de29de4b9d4e5dd8a6bf32da617f93be43dfe1ae5aff24ccc318f4f"
dependencies = [ dependencies = [
"bare-metal 1.0.0", "bare-metal 1.0.0",
"coap-handler", "coap-handler",
"coap-message", "coap-message",
"coap-numbers 0.1.2", "coap-numbers",
"cstr_core", "cstr",
"embedded-graphics", "embedded-graphics",
"embedded-hal", "embedded-hal",
"heapless", "heapless",

View File

@ -19,7 +19,7 @@ codegen-units = 1
opt-level = "s" opt-level = "s"
[dependencies] [dependencies]
riot-wrappers = { version = "^0.7.18", features = [ "set_panic_handler", "panic_handler_format", "with_coap_message", "with_coap_handler" ] } riot-wrappers = { version = "^0.8", features = [ "set_panic_handler", "panic_handler_format", "with_coap_message", "with_coap_handler" ] }
coap-message-demos = { git = "https://gitlab.com/chrysn/coap-message-demos/", default-features = false } coap-message-demos = { git = "https://gitlab.com/chrysn/coap-message-demos/", default-features = false }
coap-handler-implementations = "0.3" coap-handler-implementations = "0.3"

View File

@ -200,13 +200,13 @@ dependencies = [
] ]
[[package]] [[package]]
name = "cstr_core" name = "cstr"
version = "0.2.6" version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd98742e4fdca832d40cab219dc2e3048de17d873248f83f17df47c1bea70956" checksum = "8aa998c33a6d3271e3678950a22134cd7dd27cef86dee1b611b5b14207d1d90b"
dependencies = [ dependencies = [
"cty", "proc-macro2",
"memchr", "quote",
] ]
[[package]] [[package]]
@ -500,12 +500,12 @@ dependencies = [
[[package]] [[package]]
name = "riot-wrappers" name = "riot-wrappers"
version = "0.7.23" version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b11fc0cd528fb848b4abdefa332f4163052edf0bcc3a2ee9cd95e4256e1edc7" checksum = "4482b7376de29de4b9d4e5dd8a6bf32da617f93be43dfe1ae5aff24ccc318f4f"
dependencies = [ dependencies = [
"bare-metal 1.0.0", "bare-metal 1.0.0",
"cstr_core", "cstr",
"embedded-graphics", "embedded-graphics",
"embedded-hal", "embedded-hal",
"heapless", "heapless",

View File

@ -15,8 +15,7 @@ crate-type = ["staticlib"]
panic = "abort" panic = "abort"
[dependencies] [dependencies]
# `default-features = false` can be removed with 0.8, and enables building on stable during the 0.7 series riot-wrappers = { version = "0.8", features = [ "set_panic_handler" ] }
riot-wrappers = { version = "0.7", features = [ "set_panic_handler" ], default-features = false }
# While currently this exmple does not use any RIOT modules implemented in # While currently this exmple does not use any RIOT modules implemented in
# Rust, that may change; it is best practice for any RIOT application that has # Rust, that may change; it is best practice for any RIOT application that has

View File

@ -200,13 +200,13 @@ dependencies = [
] ]
[[package]] [[package]]
name = "cstr_core" name = "cstr"
version = "0.2.6" version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd98742e4fdca832d40cab219dc2e3048de17d873248f83f17df47c1bea70956" checksum = "8aa998c33a6d3271e3678950a22134cd7dd27cef86dee1b611b5b14207d1d90b"
dependencies = [ dependencies = [
"cty", "proc-macro2",
"memchr", "quote",
] ]
[[package]] [[package]]
@ -500,12 +500,12 @@ dependencies = [
[[package]] [[package]]
name = "riot-wrappers" name = "riot-wrappers"
version = "0.7.23" version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b11fc0cd528fb848b4abdefa332f4163052edf0bcc3a2ee9cd95e4256e1edc7" checksum = "4482b7376de29de4b9d4e5dd8a6bf32da617f93be43dfe1ae5aff24ccc318f4f"
dependencies = [ dependencies = [
"bare-metal 1.0.0", "bare-metal 1.0.0",
"cstr_core", "cstr",
"embedded-graphics", "embedded-graphics",
"embedded-hal", "embedded-hal",
"heapless", "heapless",

View File

@ -16,6 +16,6 @@ panic = "abort"
codegen-units = 1 codegen-units = 1
[dependencies] [dependencies]
riot-wrappers = { version = "0.7", default-features = false, features = [ "set_panic_handler" ] } riot-wrappers = { version = "0.8", features = [ "set_panic_handler" ] }
rust_riotmodules = { path = "../rust_riotmodules" } rust_riotmodules = { path = "../rust_riotmodules" }

View File

@ -11,4 +11,4 @@ license = "LGPL-2.1-only"
publish = false publish = false
[dependencies] [dependencies]
riot-wrappers = "^0.7.17" riot-wrappers = "^0.8"

View File

@ -200,13 +200,13 @@ dependencies = [
] ]
[[package]] [[package]]
name = "cstr_core" name = "cstr"
version = "0.2.6" version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd98742e4fdca832d40cab219dc2e3048de17d873248f83f17df47c1bea70956" checksum = "8aa998c33a6d3271e3678950a22134cd7dd27cef86dee1b611b5b14207d1d90b"
dependencies = [ dependencies = [
"cty", "proc-macro2",
"memchr", "quote",
] ]
[[package]] [[package]]
@ -500,12 +500,12 @@ dependencies = [
[[package]] [[package]]
name = "riot-wrappers" name = "riot-wrappers"
version = "0.7.23" version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b11fc0cd528fb848b4abdefa332f4163052edf0bcc3a2ee9cd95e4256e1edc7" checksum = "4482b7376de29de4b9d4e5dd8a6bf32da617f93be43dfe1ae5aff24ccc318f4f"
dependencies = [ dependencies = [
"bare-metal 1.0.0", "bare-metal 1.0.0",
"cstr_core", "cstr",
"embedded-graphics", "embedded-graphics",
"embedded-hal", "embedded-hal",
"heapless", "heapless",

View File

@ -15,8 +15,7 @@ crate-type = ["staticlib"]
panic = "abort" panic = "abort"
[dependencies] [dependencies]
# `default-features = false` can be removed with 0.8, and enables building on stable during the 0.7 series riot-wrappers = { version = "0.8", features = [ "set_panic_handler" ] }
riot-wrappers = { version = "0.7", features = [ "set_panic_handler" ], default-features = false }
# While currently this test does not use any RIOT modules implemented in Rust, # While currently this test does not use any RIOT modules implemented in Rust,
# that may change; it is best practice for any RIOT application that has its # that may change; it is best practice for any RIOT application that has its