# 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 = "libcoap-rs" version = "0.2.2" authors = ["Hugo Hakim Damer "] description = "An idiomatic wrapper around the libcoap CoAP library for Rust." readme = "README.md" keywords = [ "coap", "libcoap", ] categories = [ "api-bindings", "network-programming", "embedded", ] license = "BSD-2-Clause" repository = "https://github.com/namib-project/libcoap-rs" resolver = "1" [package.metadata.docs.rs] features = [ "dtls", "dtls_openssl", "vendored", ] [dependencies.libc] version = "^0.2.95" [dependencies.libcoap-sys] version = "^0.2.2" [dependencies.num-derive] version = "^0.3.3" [dependencies.num-traits] version = "^0.2.14" [dependencies.rand] version = "^0.8.4" [dependencies.thiserror] version = "^1.0" [dependencies.url] version = "^2.2" [features] default = [ "dtls", "tcp", "dtls_openssl", ] dtls = ["libcoap-sys/dtls"] dtls_gnutls = ["libcoap-sys/dtls_backend_gnutls"] dtls_mbedtls = ["libcoap-sys/dtls_backend_mbedtls"] dtls_openssl = ["libcoap-sys/dtls_backend_openssl"] dtls_tinydtls = ["libcoap-sys/dtls_backend_tinydtls"] nightly = [] tcp = [] vendored = ["libcoap-sys/vendored"]