tree-wide: unify workspace inherited attributes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2024-09-20 08:42:25 +02:00
parent 6e8ad21227
commit d6e86d670b
48 changed files with 216 additions and 142 deletions

View File

@ -30,10 +30,14 @@ Adding Crates
2) In the new crate's ``Cargo.toml``:
- In ``[package]`` set:
authors.workspace = true
license.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
If a separate 'exclude' is need it, separate it out as its own block above
the inherited fields.
- Add a meaningful ``description``
- Copy ``debian/copyright`` and ``debian/debcargo.toml`` from another subcrate.

View File

@ -1,14 +1,15 @@
[package]
name = "proxmox-access-control"
description = "A collection of utilities to implement access control management."
version = "0.2.3"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
exclude.workspace = true
rust-version.workspace = true
description = "A collection of utilities to implement access control management."
[dependencies]
anyhow.workspace = true

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-acme-api"
description = "ACME API implementation"
version = "0.1.6"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "ACME API implementation"
rust-version.workspace = true
[dependencies]

View File

@ -1,15 +1,16 @@
[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
version = "0.5.2"
exclude = [ "debian" ]
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
base64.workspace = true
serde = { workspace = true, features = ["derive"] }

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-api-macro"
edition.workspace = true
description = "Proxmox API macro"
version = "1.2.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Proxmox API macro"
exclude.workspace = true
[lib]
proc-macro = true

View File

@ -1,12 +1,13 @@
[package]
name = "proxmox-apt-api-types"
description = "APT API type definitions."
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "APT API type definitions."
[dependencies]
serde = { workspace = true, features = ["derive"] }

View File

@ -1,15 +1,16 @@
[package]
name = "proxmox-apt"
version = "0.11.3"
description = "Proxmox library for APT"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
version = "0.11.3"
exclude = ["debian"]
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
anyhow.workspace = true
hex.workspace = true

View File

@ -1,14 +1,14 @@
[package]
name = "proxmox-async"
description = "Proxmox async/tokio helpers"
version = "0.4.3"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Proxmox async/tokio helpers"
rust-version.workspace = true
exclude.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-auth-api"
description = "Tickets, API and Realm handling"
version = "0.4.6"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "Tickets, API and Realm handling"
rust-version.workspace = true
[[example]]

View File

@ -1,12 +1,13 @@
[package]
name = "proxmox-borrow"
description = "contains the Tied type to tie a value with a lifetime to the value it borrows from"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "contains the Tied type to tie a value with a lifetime to the value it borrows from"
exclude.workspace = true
[dependencies]

View File

@ -1,11 +1,13 @@
[package]
name = "proxmox-client"
version = "0.5.0"
description = "Base client for proxmox APIs for handling login and ticket renewal"
version = "0.5.0"
authors.workspace = true
license.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-compression"
description = "contains compression utilitites (such as an Zip Encoder for async rust)"
version = "0.2.4"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "contains compression utilitites (such as an Zip Encoder for async rust)"
exclude.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-config-digest"
description = "Configuration file digest API type."
version = "0.1.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Configuration file digest API type."
exclude.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,15 +1,16 @@
[package]
name = "proxmox-daemon"
version = "0.1.1"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = """
Daemon state handling (catching reload signals, registering commands with the command socket, ...)
"""
version = "0.1.1"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-dns-api"
description = "DNS Management API implementation"
version = "0.1.4"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "DNS Management API implementation"
rust-version.workspace = true
[dependencies]

View File

@ -1,14 +1,15 @@
[package]
name = "proxmox-http-error"
description = "Proxmox HTTP Error"
version = "0.1.0"
edition.workspace = true
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Proxmox HTTP Error"
exclude.workspace = true
rust-version.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,13 +1,15 @@
[package]
name = "proxmox-http"
edition.workspace = true
description = "Proxmox HTTP library"
version = "0.9.3"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Proxmox HTTP library"
exclude.workspace = true
rust-version.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-human-byte"
description = "Proxmox library for formatting byte sizes (IEC or SI)"
version = "0.1.3"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "Proxmox library for formatting byte sizes (IEC or SI)"
[dependencies]
anyhow.workspace = true

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-io"
description = "extension traits for Read and Write"
version = "1.1.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "extension traits for Read and Write"
exclude.workspace = true
[dependencies]
endian_trait = { workspace = true, features = ["arrays"] }

View File

@ -1,12 +1,13 @@
[package]
name = "proxmox-lang"
description = "simple rust language utilities such as try_block, which have no dependencies"
version = "1.4.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "simple rust language utilities such as try_block, which have no dependencies"
exclude.workspace = true
[dependencies]

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-ldap"
description = "Proxmox library for LDAP authentication/synchronization"
version = "0.2.2"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "Proxmox library for LDAP authentication/synchronization"
[dependencies]
anyhow.workspace = true

View File

@ -1,13 +1,15 @@
[package]
name = "proxmox-log"
description = "Logging infrastructure for proxmox"
version = "0.2.5"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Logging infrastructure for proxmox"
exclude.workspace = true
rust-version.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,11 +1,15 @@
[package]
name = "proxmox-login"
version = "0.1.1"
description = "proxmox product authentication api"
edition.workspace = true
license.workspace = true
version = "0.1.1"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[dependencies]
base64.workspace = true

View File

@ -1,13 +1,15 @@
[package]
name = "proxmox-metrics"
description = "Metrics Server export utilitites"
version = "0.3.1"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Metrics Server export utilitites"
exclude.workspace = true
rust-version.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-network-api"
description = "Network Management API implementation"
version = "0.1.3"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "Network Management API implementation"
rust-version.workspace = true
[dependencies]

View File

@ -1,11 +1,15 @@
[package]
name = "proxmox-notify"
description = "implementation of notification base and plugins"
version = "0.4.2"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
rust-version.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,14 +1,16 @@
[package]
name = "proxmox-openid"
description = "base for openid authentication in proxmox products"
version = "0.10.3"
exclude = [ "build", "debian" ]
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude = [
"build",
"debian",
]
rust-version.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-product-config"
description = "Configuration file handling for Proxmox products."
version = "0.2.2"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Configuration file handling for Proxmox products."
exclude.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,15 +1,16 @@
[package]
name = "proxmox-rest-server"
description = "REST server implementation"
version = "0.8.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "REST server implementation"
rust-version.workspace = true
exclude.workspace = true
[dev-dependencies]
proxmox-schema = { workspace = true, features = [ "api-macro" ] }
tokio = { workspace = true, features = [ "rt-multi-thread", "signal", "process" ] }

View File

@ -1,13 +1,15 @@
[package]
name = "proxmox-router"
description = "proxmox API Router and CLI utilities"
version = "3.0.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "proxmox API Router and CLI utilities"
exclude.workspace = true
rust-version.workspace = true
[[test]]
name = "docs"

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-rrd-api-types"
description = "Types for RRD values."
version = "1.0.2"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "Types for RRD values."
[dependencies]
serde = { workspace = true, features = ["derive"] }

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-rrd"
description = "Simple RRD database implementation."
version = "0.4.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "Simple RRD database implementation."
[dev-dependencies]
proxmox-router = { workspace = true, features = ["cli", "server"] }

View File

@ -1,15 +1,16 @@
[package]
name = "proxmox-schema"
description = "proxmox api schema and validation"
version = "3.2.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "proxmox api schema and validation"
rust-version.workspace = true
exclude.workspace = true
[dependencies]
anyhow.workspace = true
const_format = { workspace = true, optional = true }

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-section-config"
description = "proxmox schema based section config format parsing"
version = "2.1.1"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "proxmox schema based section config format parsing"
exclude.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-serde"
description = "Serde formatting tools"
version = "0.1.2"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Serde formatting tools"
exclude.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-shared-cache"
description = "A cache that can be used from multiple processes simultaneously"
version = "0.1.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "A cache that can be used from multiple processes simultaneously"
[dependencies]
anyhow.workspace = true

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-shared-memory"
description = "Shared memory helpers and shared mutex implementation"
version = "0.3.1"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Shared memory helpers and shared mutex implementation"
exclude.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-simple-config"
description = "Simple key/value format for configuration files."
version = "0.1.1"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "Simple key/value format for configuration files."
[dependencies]
anyhow.workspace = true

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-sortable-macro"
description = "Proxmox sortable macro"
version = "0.1.3"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Proxmox sortable macro"
exclude.workspace = true
[lib]
proc-macro = true

View File

@ -1,15 +1,16 @@
[package]
name = "proxmox-subscription"
description = "Proxmox subscription utilitites"
version = "0.4.6"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Proxmox subscription utilitites"
rust-version.workspace = true
exclude.workspace = true
[dependencies]
anyhow.workspace = true
base64.workspace = true

View File

@ -1,15 +1,16 @@
[package]
name = "proxmox-sys"
description = "System tools (using nix)."
version = "0.6.4"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "System tools (using nix)."
rust-version.workspace = true
exclude.workspace = true
[dependencies]
anyhow.workspace = true
libc.workspace = true

View File

@ -1,12 +1,15 @@
[package]
name = "proxmox-syslog-api"
description = "Syslog Management API implementation"
version = "0.1.1"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "Syslog Management API implementation"
rust-version.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,15 +1,16 @@
[package]
name = "proxmox-systemd"
version = "0.1.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = """
Utilities for dealing with systemd unit files and communicating with systemd.
"""
version = "0.1.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
libc.workspace = true

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-tfa"
description = "tfa implementation for totp and u2f"
version = "5.0.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "tfa implementation for totp and u2f"
exclude.workspace = true
[dependencies]
serde.workspace = true

View File

@ -1,12 +1,14 @@
[package]
name = "proxmox-time-api"
version = "0.1.3"
description = "Time Management API implementation"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
exclude.workspace = true
description = "Time Management API implementation"
[dependencies]
anyhow.workspace = true

View File

@ -1,14 +1,14 @@
[package]
name = "proxmox-time"
description = "time utilities and TmEditor"
version = "2.0.1"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "time utilities and TmEditor"
rust-version.workspace = true
exclude.workspace = true
[dependencies]
anyhow.workspace = true

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-uuid"
description = "bindings for libuuid with optional serde support"
version = "1.0.3"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "bindings for libuuid with optional serde support"
exclude.workspace = true
[dependencies]
serde = { workspace = true, optional = true }

View File

@ -1,13 +1,14 @@
[package]
name = "proxmox-worker-task"
description = "Worker task functionality"
version = "0.1.0"
authors.workspace = true
edition.workspace = true
exclude.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
description = "Worker task functionality"
exclude.workspace = true
[dependencies]
anyhow.workspace = true