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

Rust examples: Update coap-handler-implementations dependency

This helps remove duplicate code after previous updates.
This commit is contained in:
chrysn 2023-04-24 11:40:43 +02:00
parent 5f91bd8812
commit d630f00cde
2 changed files with 4 additions and 19 deletions

View File

@ -154,21 +154,6 @@ dependencies = [
"windowed-infinity",
]
[[package]]
name = "coap-handler-implementations"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a88fc2ff9ee38c4ff71d2ab2154afb842fa7c81e4e924753c74d89aed1b56bb6"
dependencies = [
"coap-handler",
"coap-message",
"coap-numbers",
"crc 1.8.1",
"serde",
"serde_cbor",
"windowed-infinity",
]
[[package]]
name = "coap-handler-implementations"
version = "0.4.2"
@ -199,7 +184,7 @@ version = "0.3.0"
source = "git+https://gitlab.com/chrysn/coap-message-demos/#eb1b6ce4c72269b68e6be8ca758d3379d1e59258"
dependencies = [
"coap-handler",
"coap-handler-implementations 0.4.2",
"coap-handler-implementations",
"coap-message",
"coap-numbers",
"heapless",
@ -544,7 +529,7 @@ version = "0.1.0"
source = "git+https://gitlab.com/etonomy/riot-module-examples/#5aa33e8e8f7912049e09a5b1379131038d70641f"
dependencies = [
"coap-handler",
"coap-handler-implementations 0.4.2",
"coap-handler-implementations",
"coap-message",
"coap-numbers",
"embedded-graphics",
@ -600,7 +585,7 @@ dependencies = [
name = "rust-gcoap"
version = "0.1.0"
dependencies = [
"coap-handler-implementations 0.3.6",
"coap-handler-implementations",
"coap-message-demos",
"riot-coap-handler-demos",
"riot-wrappers",

View File

@ -22,7 +22,7 @@ opt-level = "s"
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-handler-implementations = "0.3"
coap-handler-implementations = "0.4"
riot-coap-handler-demos = { git = "https://gitlab.com/etonomy/riot-module-examples/", features = [ "vfs" ] }
# While currently this exmple does not use any RIOT modules implemented in