870948f1d7
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
45 lines
1.2 KiB
TOML
45 lines
1.2 KiB
TOML
[package]
|
|
name = "proxmox-acme"
|
|
version = "0.5.2"
|
|
description = "ACME client library"
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
|
|
exclude = [ "debian" ]
|
|
|
|
[dependencies]
|
|
base64.workspace = true
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json.workspace = true
|
|
|
|
# For the ACME implementation
|
|
openssl = { workspace = true, optional = true }
|
|
|
|
# For the client
|
|
native-tls = { workspace = true, optional = true }
|
|
|
|
proxmox-schema = { workspace = true, optional = true, features = [ "api-macro" ] }
|
|
proxmox-http = { workspace = true, optional = true, features = [ "client" ] }
|
|
anyhow = { workspace = true, optional = true }
|
|
bytes = { workspace = true, optional = true }
|
|
hyper = { workspace = true, optional = true }
|
|
|
|
[dependencies.ureq]
|
|
optional = true
|
|
version = "2.4"
|
|
default-features = false
|
|
features = [ "native-tls", "gzip" ]
|
|
|
|
[features]
|
|
default = [ "impl" ]
|
|
api-types = [ "dep:proxmox-schema" ]
|
|
impl = [ "api-types", "dep:openssl" ]
|
|
client = [ "impl", "dep:ureq", "dep:native-tls"]
|
|
async-client = [ "impl", "dep:hyper", "dep:proxmox-http", "dep:anyhow", "dep:bytes" ]
|
|
|
|
[dev-dependencies]
|
|
anyhow.workspace = true
|