rust/azure_iot_operations_services/Cargo.toml (58 lines of code) (raw):

# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. [package] name = "azure_iot_operations_services" version = "0.8.0" edition = "2024" license = "MIT" description = "Azure IoT Operations Services" repository = "https://github.com/Azure/iot-operations-sdks" readme = "README.md" publish = true [features] default = [] all = ["state_store", "schema_registry", "leased_lock"] state_store = [] schema_registry = [ "serde", "serde_json", "chrono", "iso8601-duration", "base64", "bigdecimal", "time", "uuid" ] leased_lock = ["state_store"] [dependencies] azure_iot_operations_protocol = { version = "0.9", path = "../azure_iot_operations_protocol", registry = "aio-sdks" } azure_iot_operations_mqtt = { version = "0.9", path = "../azure_iot_operations_mqtt", registry = "aio-sdks" } derive_builder.workspace = true log.workspace = true thiserror.workspace = true tokio.workspace = true data-encoding = "2.5" serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0.105", optional = true } chrono = { version = "0.4.31", features = ["serde", "alloc"], optional = true } iso8601-duration = { version = "0.2", features = ["serde", "chrono"], optional = true } base64 = { version = "0.22.1", optional = true } bigdecimal = { version = "0.4.5", optional = true } time = { version = "0.3", features = ["serde", "formatting", "parsing"], optional = true } uuid = { version = "1.8.0", features = ["serde", "v4"], optional = true } [dev-dependencies] env_logger.workspace = true test-case.workspace = true [lints] workspace = true [[example]] name = "state_store_client" required-features = ["state_store"] [[example]] name = "schema_registry_client" required-features = ["schema_registry"] [[example]] name = "leased_lock_client" required-features = ["leased_lock"] [package.metadata.docs.rs] all-features = true