[package] name = "tencentcloud" version = "0.2.2" edition = "2021" authors = ["Sherlock Holo "] license = "MIT" repository = "https://github.com/Sherlock-Holo/tencentcloud" description = "tencentcloud rust generic sdk" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["tokio-rustls-tls"] tokio-rustls-tls = ["dep:hyper-rustls"] tokio-native-tls = ["dep:tokio-native-tls", "tokio/net", "dep:native-tls", "hyper/tcp"] async-std-rustls-tls = ["dep:tokio-util", "dep:tokio", "dep:async-std", "dep:futures-rustls", "dep:rustls-native-certs"] async-std-native-tls = ["dep:tokio-util", "dep:tokio", "dep:async-std", "dep:async-native-tls"] [dependencies] hmac = "0.12" sha2 = "0.10" hex = "0.4" time = { version = "0.3", features = ["formatting", "macros"] } hyper = { version = "0.14", features = ["client", "http1", "http2"] } http-body = "0.4" serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "1" tracing = "0.1" futures-util = "0.3" # async-std rustls or native-tls async-std = { version = "1", optional = true } futures-rustls = { version = "0.24", optional = true } rustls-native-certs = { version = "0.6", optional = true } async-native-tls = { version = "0.5", optional = true } tokio = { version = "1", optional = true } tokio-util = { version = "0.7", features = ["compat"], optional = true } # tokio rustls or native-tls hyper-rustls = { version = "0.24", default-features = false, features = ["http1", "http2", "native-tokio"], optional = true } tokio-native-tls = { version = "0.3", optional = true } # make sure we can set alpn native-tls = { version = "0.2", features = ["alpn"], optional = true }