[package] name = "async-acme" version = "0.5.0" authors = ["User65k <15049544+User65k@users.noreply.github.com>"] edition = "2021" repository = "https://github.com/User65k/async-acme" description = "async ACME client for tls-alpn-01 challenge" license = "MIT" keywords = ["letsencrypt", "acme", "async", "alpn", "tls"] readme = "README.md" [dependencies] generic-async-http-client = "0.5" base64 = "0.22" thiserror = "1.0" log = "0.4" serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } futures-util = { version = "0.3", default-features = false } async-trait = "0.1" rustls = { version = "0.22", optional = true} ring = {version = "0.17", features = ["std"], optional = true} #used by rustls rcgen = { version = "0.12", default-features = false, optional = true} #uses ring rustls-pemfile = { version = "2.1", optional = true} openssl = { version = "0.10", optional = true } native-tls = { version = "0.2", optional = true } #picky # custom cert gen #easy_ssl # openssl cert gen #p12 = "0.2.0" x509-parser = { version = "0.16", default-features = false} async-std = {version="1.9.0",optional=true} tokio = {version = "1.6", optional=true} [features] use_rustls = ["generic-async-http-client/rustls", "rustls", "ring", "rcgen/pem", "rcgen/ring", "rustls-pemfile"] use_async_std = ["async-std", "generic-async-http-client/use_async_h1"] use_tokio = ["tokio/fs", "tokio/time", "generic-async-http-client/use_hyper"] use_openssl = ["openssl","native-tls"] hyper_rustls = ["use_rustls", "use_tokio"] async_std_rustls = ["use_rustls", "use_async_std"] default = [] [dev-dependencies] async-stream = "0.3.0" tokio = { version = "1.0", features = ["io-std", "macros", "net", "rt-multi-thread"] } hyper = { version = "1.2", features = ["full"] } hyper-util = {version = "0.1.3", features = ["http1", "http2", "server", "tokio"]} futures-util = { version = "0.3.1", default-features = false } tokio-rustls = "0.25" pretty_env_logger = { version = "0.5.0", default-features = false } futures-rustls = "0.25" [[example]] name = "hyper_rustls" path = "examples/hyper_rustls.rs" required-features = ["hyper_rustls"] [[example]] name = "async_rustls" path = "examples/async_rustls.rs" required-features = ["async_std_rustls"] [package.metadata.docs.rs] features = ["use_rustls"] rustdoc-args = ["--cfg", "docsrs"]