[go: up one dir, main page]

azure_core 0.29.1

Rust wrappers around Microsoft Azure REST APIs - Core crate
Documentation
# 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.85"
name = "azure_core"
version = "0.29.1"
authors = ["Microsoft"]
build = "build.rs"
autolib = false
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 = [
    "debug",
    "decimal",
    "hmac_openssl",
    "hmac_rust",
    "reqwest",
    "reqwest_deflate",
    "reqwest_gzip",
    "reqwest_native_tls",
    "tokio",
    "wasm_bindgen",
    "xml",
]

[features]
debug = ["typespec_client_core/debug"]
decimal = ["typespec_client_core/decimal"]
default = [
    "reqwest",
    "reqwest_deflate",
    "reqwest_gzip",
    "reqwest_native_tls",
]
hmac_openssl = ["dep:openssl"]
hmac_rust = [
    "dep:sha2",
    "dep:hmac",
]
reqwest = ["typespec_client_core/reqwest"]
reqwest_deflate = [
    "reqwest",
    "typespec_client_core/reqwest_deflate",
]
reqwest_gzip = [
    "reqwest",
    "typespec_client_core/reqwest_gzip",
]
reqwest_native_tls = [
    "reqwest",
    "typespec_client_core/reqwest_native_tls",
]
test = ["typespec_client_core/test"]
tokio = [
    "dep:tokio",
    "typespec_client_core/tokio",
]
wasm_bindgen = ["typespec_client_core/wasm_bindgen"]
xml = ["typespec_client_core/xml"]

[lib]
name = "azure_core"
path = "src/lib.rs"

[[example]]
name = "core_pager"
path = "examples/core_pager.rs"

[[example]]
name = "core_poller"
path = "examples/core_poller.rs"

[[example]]
name = "core_remove_user_agent"
path = "examples/core_remove_user_agent.rs"

[[example]]
name = "core_ureq_client"
path = "examples/core_ureq_client.rs"

[[test]]
name = "core_error_http_response"
path = "tests/core_error_http_response.rs"

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false

[[bench]]
name = "http_transport_benchmarks"
path = "benches/http_transport_benchmarks.rs"
harness = false

[dependencies.async-lock]
version = "3.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.azure_core_macros]
version = "0.3.1"

[dependencies.bytes]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.openssl]
version = "0.10.72"
optional = true

[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.9.1"
features = [
    "http",
    "json",
]
default-features = false

[dependencies.typespec_client_core]
version = "0.8.1"
features = [
    "derive",
    "http",
    "json",
]
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

[dev-dependencies.http]
version = "1.3.1"

[dev-dependencies.reqwest]
version = "0.12.23"
features = ["stream"]
default-features = false

[dev-dependencies.thiserror]
version = "1.0"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "time",
]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3"

[dev-dependencies.ureq]
version = "3"
features = [
    "gzip",
    "native-tls",
]
default-features = false

[build-dependencies.rustc_version]
version = "0.4"

[lints.clippy]
large_futures = "deny"
uninlined_format_args = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]

[lints.rustdoc]
bare_urls = "allow"