Cargo Features
[dependencies]
azure_iot_sdk = { version = "0.8.0", default-features = false, features = ["direct-methods", "twin-properties", "c2d-messages", "error-handling-messages", "https-transport", "with-provision"] }
- default = c2d-messages, direct-methods, error-handling-messages, twin-properties, with-provision
-
These default features are set whenever
azure_iot_sdk
is added without
somewhere in the dependency tree.default-features = false - direct-methods default
-
Affects
message::DirectMethodResponse
,message::DirectMethodInvocation
,transport::Transport.respond_to_direct_method
,transport::Transport.get_receiver
… - twin-properties default
-
Affects
transport::Transport.send_property_update
,transport::Transport.request_twin_properties
,transport::Transport.get_receiver
… - c2d-messages default
-
Affects
transport::Transport.get_receiver
… - error-handling-messages default
- https-transport = hyper, hyper-tls
- with-provision default
-
Affects
azure_iot_sdk::provision
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- hyper https-transport?
-
Enables hyper ^0.14
- hyper-tls https-transport?
-
Enables hyper-tls ^0.5