# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.65" name = "coap-message-demos" version = "0.4.0" authors = ["chrysn "] description = "Demos of the coap-message ecosystem" documentation = "https://docs.rs/coap-message-demos/" readme = "README.md" keywords = [ "coap", "iot", ] categories = ["no-std"] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/chrysn/coap-message-demos" [package.metadata.docs.rs] all-features = true [[example]] name = "coaplite" required-features = ["example-coaplite"] [[example]] name = "std_embedded_nal_minicoapserver" required-features = ["example-std_embedded_nal_minicoapserver"] [[example]] name = "std_embedded_nal_minicoaptcpserver" required-features = ["example-std_embedded_nal_minicoaptcpserver"] [[example]] name = "std_embedded_nal_coap" required-features = ["example-std_embedded_nal_coap"] [[example]] name = "coap_crate" required-features = ["example-coap_crate"] [dependencies.async-std] version = "^1.12" features = ["attributes"] optional = true [dependencies.coap] version = "^0.14" optional = true [dependencies.coap-handler] version = "^0.2.0" [dependencies.coap-handler-implementations] version = "^0.5.0" [dependencies.coap-lite] version = "0.11.5" optional = true [dependencies.coap-message] version = "^0.3.0" [dependencies.coap-message-utils] version = "0.3.0" [dependencies.coap-numbers] version = "0.2.2" [dependencies.coap-request] version = "0.2.0-alpha.1" [dependencies.coap-request-implementations] version = "0.1.0-alpha.3" optional = true [dependencies.coap-scroll-ring-server] version = "0.2.0" optional = true [dependencies.embassy-futures] version = "0.1" optional = true [dependencies.embedded-nal] version = "^0.6" optional = true [dependencies.embedded-nal-async] version = "^0.7" optional = true [dependencies.embedded-nal-coap] version = "0.1.0-alpha.2" optional = true [dependencies.embedded-nal-minimal-coapserver] version = "^0.4" optional = true [dependencies.embedded-nal-minimal-coaptcpserver] version = "^0.2" optional = true [dependencies.embedded-nal-tcpextensions] version = "^0.1" optional = true [dependencies.heapless] version = "0.7" features = ["serde"] [dependencies.log] version = "^0.4" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.scroll-ring] version = "0.1.1" optional = true [dependencies.serde] version = "1" features = ["derive"] default-features = false [dependencies.static_cell] version = "1" optional = true [dependencies.std-embedded-nal] version = "^0.1.2" optional = true [dependencies.std-embedded-nal-async] version = "^0.2" optional = true [dependencies.tokio] version = "^1" optional = true [features] alloc = ["serde/alloc"] default = ["std"] example-coap_crate = [ "coap", "tokio", "with-log", "alloc", "coap-lite", ] example-coaplite = [ "coap-lite", "with-log", "alloc", ] example-std_embedded_nal_coap = [ "embedded-nal-coap", "embedded-nal-async", "std-embedded-nal-async", "with-log", "alloc", "async-std", "embassy-futures", "rand", "coap-request-implementations", ] example-std_embedded_nal_minicoapserver = [ "embedded-nal-minimal-coapserver", "embedded-nal", "std-embedded-nal", "with-log", "alloc", ] example-std_embedded_nal_minicoaptcpserver = [ "embedded-nal-minimal-coaptcpserver", "embedded-nal", "std-embedded-nal/embedded-nal-tcpextensions", "with-log", "alloc", "embedded-nal-tcpextensions", ] std = [ "alloc", "serde/std", "coap-handler-implementations/serde-std", ] with-log = [ "log", "static_cell", "scroll-ring", "coap-scroll-ring-server", ] [badges.gitlab] repository = "chrysn/coap-message-demos" [badges.maintenance] status = "experimental"