# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "azure_iot_sdk" version = "0.8.0" authors = ["Damien Pontifex "] description = "Client library for connection devices to Azure IoT Hub" documentation = "https://docs.rs/azure_iot_sdk" readme = "README.md" keywords = ["iot", "azure"] license = "MIT" repository = "https://github.com/damienpontifex/azure-iot-sdk-rs" [[example]] name = "send-message" required-features = ["https-transport"] [[example]] name = "receive-c2d-messages" required-features = ["c2d-messages"] [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.13" [dependencies.chrono] version = "0.4" [dependencies.form_urlencoded] version = "1" [dependencies.hmac] version = "0.11" [dependencies.hyper] version = "0.14" features = ["client", "http1"] optional = true [dependencies.hyper-tls] version = "0.5" optional = true [dependencies.log] version = "0.4" [dependencies.mqtt-protocol] version = "0.11" features = ["tokio"] [dependencies.native-tls] version = "0.2.4" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_urlencoded] version = "0.7" [dependencies.sha2] version = "0.9" [dependencies.tokio] version = "1" features = ["rt-multi-thread", "macros", "net", "io-util", "time", "sync"] [dependencies.tokio-native-tls] version = "0.3" [dev-dependencies.chrono] version = "0.4" features = ["serde"] [dev-dependencies.config] version = "0.11" [dev-dependencies.dotenv] version = "0.15" [dev-dependencies.env_logger] version = "0.8" [dev-dependencies.log] version = "0.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_distr] version = "0.4" [dev-dependencies.serde_json] version = "1" [features] c2d-messages = [] default = ["c2d-messages", "direct-methods", "twin-properties", "with-provision", "error-handling-messages"] direct-methods = [] error-handling-messages = [] https-transport = ["hyper", "hyper-tls"] twin-properties = [] with-provision = []