From 48a4075dfca7575bc98e3272afbdde772effedf5 Mon Sep 17 00:00:00 2001 From: chrysn Date: Sun, 23 Jan 2022 16:01:34 +0100 Subject: [PATCH] {examples,tests}/rust: Follow riot-wrappers deprecations --- examples/rust-gcoap/Cargo.toml | 2 +- examples/rust-hello-world/Cargo.toml | 2 +- tests/rust_minimal/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/rust-gcoap/Cargo.toml b/examples/rust-gcoap/Cargo.toml index 8ef7ff4e01..4a0e2a7dcb 100644 --- a/examples/rust-gcoap/Cargo.toml +++ b/examples/rust-gcoap/Cargo.toml @@ -9,7 +9,7 @@ resolver = "2" crate-type = ["staticlib"] [dependencies] -riot-wrappers = { version = "^0.7", features = [ "with_coap_message", "with_coap_handler" ] } +riot-wrappers = { version = "^0.7.18", 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-handler-implementations = "0.3" diff --git a/examples/rust-hello-world/Cargo.toml b/examples/rust-hello-world/Cargo.toml index 443cf57cf2..da21f165e2 100644 --- a/examples/rust-hello-world/Cargo.toml +++ b/examples/rust-hello-world/Cargo.toml @@ -9,4 +9,4 @@ resolver = "2" crate-type = ["staticlib"] [dependencies] -riot-wrappers = "0.7" +riot-wrappers = { version = "0.7", features = [ "set_panic_handler" ] } diff --git a/tests/rust_minimal/Cargo.toml b/tests/rust_minimal/Cargo.toml index 14142f8a2a..e2690fe93a 100644 --- a/tests/rust_minimal/Cargo.toml +++ b/tests/rust_minimal/Cargo.toml @@ -9,4 +9,4 @@ resolver = "2" crate-type = ["staticlib"] [dependencies] -riot-wrappers = "0.7" +riot-wrappers = { version = "0.7", features = [ "set_panic_handler" ] }