# 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 = "2018" name = "coap-client" version = "0.3.1" authors = ["ryan "] description = "A CoAP client" readme = "README.md" license = "MPL-2.0" repository = "https://github.com/ryankurte/rust-coap-client" [[bin]] name = "coap-client" path = "src/util.rs" required-features = ["util"] [dependencies.anyhow] version = "1.0.38" optional = true [dependencies.async-trait] version = "0.1.42" [dependencies.bytes] version = "1.0.1" [dependencies.coap-lite] version = "0.4.0" [dependencies.futures] version = "0.3.12" [dependencies.hex] version = "0.4.2" optional = true [dependencies.humantime] version = "2.1.0" [dependencies.log] version = "0.4.14" [dependencies.openssl] version = "0.10.32" optional = true [dependencies.rand] version = "0.8.3" [dependencies.simplelog] version = "0.9.0" optional = true [dependencies.structopt] version = "0.3.17" [dependencies.strum] version = "0.22.0" [dependencies.strum_macros] version = "0.20.1" [dependencies.thiserror] version = "1.0.23" [dependencies.tokio] version = "1.1.1" features = ["full"] optional = true [dependencies.tokio-openssl] version = "0.6.1" optional = true [dependencies.url] version = "2.2.0" [dev-dependencies.simplelog] version = "0.9.0" [features] backend-tokio = ["tokio", "openssl", "tokio-openssl"] default = ["backend-tokio", "util"] util = ["simplelog", "backend-tokio", "anyhow", "hex"]