# 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" rust-version = "1.80" name = "azure_core" version = "0.22.0" authors = ["Microsoft"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Rust wrappers around Microsoft Azure REST APIs - Core crate" homepage = "https://github.com/azure/azure-sdk-for-rust" documentation = "https://docs.rs/azure_core" readme = "README.md" keywords = [ "sdk", "azure", "rest", "iot", "cloud", ] categories = ["api-bindings"] license = "MIT" repository = "https://github.com/azure/azure-sdk-for-rust" [package.metadata.docs.rs] features = [ "hmac_openssl", "hmac_rust", "reqwest", "reqwest_gzip", "reqwest_rustls", "test", "tokio_fs", "tokio_sleep", "xml", ] [lib] name = "azure_core" path = "src/lib.rs" [dependencies.async-lock] version = "3.0" [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1.0" [dependencies.futures] version = "0.3" [dependencies.hmac] version = "0.12" optional = true [dependencies.once_cell] version = "1.18" [dependencies.openssl] version = "0.10.70" optional = true [dependencies.paste] version = "1.0" [dependencies.pin-project] version = "1.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" optional = true [dependencies.tokio] version = "1.0" features = [ "macros", "time", ] optional = true default-features = false [dependencies.tracing] version = "0.1.40" [dependencies.typespec] version = "0.2.0" features = [ "http", "json", ] default-features = false [dependencies.typespec_client_core] version = "0.1.0" features = [ "http", "json", ] default-features = false [dev-dependencies.thiserror] version = "1.0" [dev-dependencies.time] version = "0.3.10" features = [ "serde-well-known", "macros", "wasm-bindgen", ] [dev-dependencies.tokio] version = "1.0" features = [ "macros", "time", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" [build-dependencies.rustc_version] version = "0.4" [features] azurite_workaround = [] default = [] hmac_openssl = ["dep:openssl"] hmac_rust = [ "dep:sha2", "dep:hmac", ] reqwest = ["typespec_client_core/reqwest"] reqwest_gzip = ["typespec_client_core/reqwest_gzip"] reqwest_rustls = ["typespec_client_core/reqwest_rustls"] test = [] tokio_fs = ["typespec_client_core/tokio_fs"] tokio_sleep = ["typespec_client_core/tokio_sleep"] xml = ["typespec_client_core/xml"]