# 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.64.0" name = "oauth10a" version = "1.5.1" authors = ["Florentin Dubois "] description = "A rust implementation of the oauth 1.0a protocol fully-async with logging, metrics and tracing facilities" readme = "README.md" keywords = [ "clevercloud", "client", "logging", "metrics", "oauth1a", ] license-file = "LICENSE" repository = "https://github.com/CleverCloud/oauth10a-rust" [dependencies.async-trait] version = "^0.1.72" optional = true [dependencies.base64] version = "^0.21.2" optional = true [dependencies.bytes] version = "^1.4.0" features = ["serde"] optional = true [dependencies.cidr] version = "^0.2.2" optional = true [dependencies.crypto-common] version = "^0.1.6" optional = true [dependencies.headers] version = "^0.3.8" optional = true [dependencies.hmac] version = "^0.12.1" features = ["std"] optional = true [dependencies.hyper] version = "^0.14.27" optional = true default-features = false [dependencies.hyper-proxy] version = "^0.9.1" features = ["rustls-webpki"] optional = true default-features = false [dependencies.hyper-rustls] version = "^0.24.0" features = [ "webpki-tokio", "http1", "tls12", ] optional = true default-features = false [dependencies.log] version = "^0.4.19" optional = true [dependencies.once_cell] version = "^1.18.0" optional = true [dependencies.prometheus] version = "^0.13.3" optional = true [dependencies.serde] version = "^1.0.179" features = ["derive"] optional = true [dependencies.serde_json] version = "^1.0.104" features = [ "preserve_order", "float_roundtrip", ] optional = true [dependencies.sha2] version = "^0.10.7" optional = true [dependencies.thiserror] version = "^1.0.44" optional = true [dependencies.tracing] version = "^0.1.37" optional = true [dependencies.tracing-futures] version = "^0.2.5" optional = true [dependencies.url] version = "^2.4.0" features = ["serde"] optional = true default-features = false [dependencies.urlencoding] version = "^2.1.3" optional = true [dependencies.uuid] version = "^1.4.1" features = [ "serde", "v4", ] optional = true [features] client = [ "async-trait", "base64", "bytes", "crypto-common", "hmac", "hyper", "hyper/client", "hyper/tcp", "hyper/http1", "hyper-rustls", "serde", "serde_json", "sha2", "thiserror", "urlencoding", "uuid", ] default = [ "client", "proxy", "logging", ] logging = [ "log", "tracing/log-always", "hyper-rustls/logging", ] metrics = [ "once_cell", "prometheus", ] proxy = [ "cidr", "headers", "hyper-proxy", "url", ] tokio = ["tracing-futures/tokio"] trace = [ "tracing", "tracing-futures", ]