acme-api: remove useless api-types feature

We always need those types, so there is no need to make this a feature.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer 2024-05-31 12:19:10 +02:00
parent d152e47d78
commit 5e00ee7bb0
2 changed files with 13 additions and 36 deletions

View File

@ -21,29 +21,25 @@ log = { workspace = true, optional = true }
nix = { workspace = true, optional = true }
lazy_static = { workspace = true, optional = true }
proxmox-serde = { workspace = true, optional = true }
proxmox-serde.workspace = true
proxmox-section-config = { workspace = true, optional = true }
proxmox-rest-server = { workspace = true, optional = true }
proxmox-router = { workspace = true, optional = true }
proxmox-sys = { workspace = true, optional = true }
proxmox-schema = { workspace = true, features = ["api-macro", "api-types"] }
proxmox-acme = { workspace = true, optional = true, features = ["api-types"] }
proxmox-acme = { workspace = true, features = ["api-types"] }
proxmox-config-digest = { workspace = true, optional = true }
proxmox-product-config = { workspace = true, optional = true }
[features]
default = ["api-types"]
api-types = ["dep:proxmox-acme", "dep:proxmox-serde"]
default = []
impl = [
"api-types",
"dep:proxmox-config-digest",
"proxmox-config-digest?/openssl",
"dep:proxmox-product-config",
"dep:proxmox-acme",
"proxmox-acme?/impl",
"proxmox-acme?/async-client",
"proxmox-acme/impl",
"proxmox-acme/async-client",
"dep:proxmox-section-config",
#"dep:openssl",
"dep:lazy_static",
"dep:log",
"dep:nix",

View File

@ -29,53 +29,34 @@ Multi-Arch: same
Depends:
${misc:Depends},
librust-anyhow-1+default-dev,
librust-proxmox-acme-0.5+api-types-dev (>= 0.5.2-~~),
librust-proxmox-schema-3+api-macro-dev (>= 3.1.1-~~),
librust-proxmox-schema-3+api-types-dev (>= 3.1.1-~~),
librust-proxmox-schema-3+default-dev (>= 3.1.1-~~),
librust-proxmox-serde-0.1+default-dev (>= 0.1.1-~~),
librust-proxmox-serde-0.1+serde-json-dev (>= 0.1.1-~~),
librust-serde-1+default-dev,
librust-serde-1+derive-dev,
librust-serde-json-1+default-dev
Recommends:
librust-proxmox-acme-api+api-types-dev (= ${binary:Version})
Suggests:
librust-proxmox-acme-api+impl-dev (= ${binary:Version})
Provides:
librust-proxmox-acme-api+default-dev (= ${binary:Version}),
librust-proxmox-acme-api-0-dev (= ${binary:Version}),
librust-proxmox-acme-api-0+default-dev (= ${binary:Version}),
librust-proxmox-acme-api-0.1-dev (= ${binary:Version}),
librust-proxmox-acme-api-0.1.0-dev (= ${binary:Version})
librust-proxmox-acme-api-0.1+default-dev (= ${binary:Version}),
librust-proxmox-acme-api-0.1.0-dev (= ${binary:Version}),
librust-proxmox-acme-api-0.1.0+default-dev (= ${binary:Version})
Description: ACME API implementation - Rust source code
Source code for Debianized Rust crate "proxmox-acme-api"
Package: librust-proxmox-acme-api+api-types-dev
Architecture: any
Multi-Arch: same
Depends:
${misc:Depends},
librust-proxmox-acme-api-dev (= ${binary:Version}),
librust-proxmox-acme-0.5+api-types-dev (>= 0.5.2-~~),
librust-proxmox-serde-0.1+default-dev (>= 0.1.1-~~),
librust-proxmox-serde-0.1+serde-json-dev (>= 0.1.1-~~)
Provides:
librust-proxmox-acme-api+default-dev (= ${binary:Version}),
librust-proxmox-acme-api-0+api-types-dev (= ${binary:Version}),
librust-proxmox-acme-api-0+default-dev (= ${binary:Version}),
librust-proxmox-acme-api-0.1+api-types-dev (= ${binary:Version}),
librust-proxmox-acme-api-0.1+default-dev (= ${binary:Version}),
librust-proxmox-acme-api-0.1.0+api-types-dev (= ${binary:Version}),
librust-proxmox-acme-api-0.1.0+default-dev (= ${binary:Version})
Description: ACME API implementation - feature "api-types" and 1 more
This metapackage enables feature "api-types" for the Rust proxmox-acme-api
crate, by pulling in any additional dependencies needed by that feature.
.
Additionally, this package also provides the "default" feature.
Package: librust-proxmox-acme-api+impl-dev
Architecture: any
Multi-Arch: same
Depends:
${misc:Depends},
librust-proxmox-acme-api-dev (= ${binary:Version}),
librust-proxmox-acme-api+api-types-dev (= ${binary:Version}),
librust-base64-0.13+default-dev,
librust-futures-0.3+default-dev,
librust-http-0.2+default-dev,