# 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" name = "coap" version = "0.19.1" authors = ["Yang Zhang "] description = "A CoAP library" documentation = "https://docs.rs/coap/" readme = "README.md" keywords = ["CoAP"] license = "MIT" repository = "https://github.com/covertness/coap-rs" [dependencies.async-trait] version = "0.1.74" [dependencies.coap-lite] version = "0.11.3" [dependencies.futures] version = "^0.3" [dependencies.log] version = "^0.4" [dependencies.pkcs8] version = "0.10.2" optional = true [dependencies.rand] version = "0.8.5" [dependencies.rcgen] version = "^0.11.0" optional = true [dependencies.regex] version = "^1.5" [dependencies.rustls] version = "^0.21.1" optional = true [dependencies.rustls-pemfile] version = "2.0.0" optional = true [dependencies.sec1] version = "0.7.3" features = [ "pem", "pkcs8", "std", ] optional = true [dependencies.tokio] version = "^1.32" features = ["full"] [dependencies.tokio-stream] version = "^0.1" features = ["time"] [dependencies.tokio-util] version = "^0.6" features = [ "codec", "net", ] [dependencies.url] version = "^2.2" [dependencies.webrtc-dtls] version = "0.8.0" optional = true [dependencies.webrtc-util] version = "0.8.0" optional = true [dev-dependencies.quickcheck] version = "0.8.2" [dev-dependencies.socket2] version = "0.5" [dev-dependencies.tokio-test] version = "0.4.4" [features] default = ["dtls"] dtls = [ "dep:webrtc-dtls", "dep:webrtc-util", "dep:rustls", "dep:rustls-pemfile", "dep:rcgen", "dep:pkcs8", "dep:sec1", ]