move common metadata to workspace

and switch all crates to 2021 edition as well as a unified "authors" value.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2022-12-06 12:18:46 +01:00
parent 5ec765f842
commit 64959d9ae0
21 changed files with 106 additions and 83 deletions

View File

@ -24,3 +24,9 @@ members = [
exclude = [ exclude = [
"build", "build",
] ]
[workspace.package]
authors = ["Proxmox Support Team <support@proxmox.com>"]
edition = "2021"
license = "AGPL-3"
repository = "https://git.proxmox.com/?p=proxmox.git"
exclude = [ "debian" ]

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-api-macro" name = "proxmox-api-macro"
edition = "2018" edition.workspace = true
version = "1.0.3" version = "1.0.3"
authors = [ "Wolfgang Bumiller <w.bumiller@proxmox.com>" ] authors.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "Proxmox API macro" description = "Proxmox API macro"
exclude = [ "debian" ] exclude.workspace = true
[lib] [lib]
proc-macro = true proc-macro = true

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-async" name = "proxmox-async"
version = "0.4.1" version = "0.4.1"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "Proxmox async/tokio helpers" description = "Proxmox async/tokio helpers"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,11 +1,12 @@
[package] [package]
name = "proxmox-borrow" name = "proxmox-borrow"
version = "1.0.1" version = "1.0.1"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "contains the Tied type to tie a value with a lifetime to the value it borrows from" description = "contains the Tied type to tie a value with a lifetime to the value it borrows from"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-compression" name = "proxmox-compression"
version = "0.1.2" version = "0.1.2"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "contains compression utilitites (such as an Zip Encoder for async rust)" description = "contains compression utilitites (such as an Zip Encoder for async rust)"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,15 +1,13 @@
[package] [package]
name = "proxmox-http" name = "proxmox-http"
edition = "2018" edition.workspace = true
version = "0.7.0" version = "0.7.0"
authors = [ authors.workspace = true
"Dietmar Maurer <dietmar@proxmox.com>", license.workspace = true
"Wolfgang Bumiller <w.bumiller@proxmox.com>", repository.workspace = true
]
license = "AGPL-3"
description = "Proxmox HTTP library" description = "Proxmox HTTP library"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-io" name = "proxmox-io"
version = "1.0.1" version = "1.0.1"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "extension traits for Read and Write" description = "extension traits for Read and Write"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
endian_trait = { version = "0.6", features = ["arrays"] } endian_trait = { version = "0.6", features = ["arrays"] }

View File

@ -1,11 +1,12 @@
[package] [package]
name = "proxmox-lang" name = "proxmox-lang"
version = "1.1.0" version = "1.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "simple rust language utilities such as try_block, which have no dependencies" description = "simple rust language utilities such as try_block, which have no dependencies"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-metrics" name = "proxmox-metrics"
version = "0.2.1" version = "0.2.1"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "Metrics Server export utilitites" description = "Metrics Server export utilitites"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-rest-server" name = "proxmox-rest-server"
version = "0.2.0" version = "0.2.0"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "REST server implementation" description = "REST server implementation"
exclude = [ "debian" ] exclude.workspace = true
[dev-dependencies] [dev-dependencies]
proxmox-schema = { version = "1.3.1", features = [ "api-macro" ] } proxmox-schema = { version = "1.3.1", features = [ "api-macro" ] }

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-router" name = "proxmox-router"
version = "1.3.0" version = "1.3.0"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "proxmox API Router and CLI utilities" description = "proxmox API Router and CLI utilities"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-schema" name = "proxmox-schema"
version = "1.3.5" version = "1.3.5"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2021" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "proxmox api schema and validation" description = "proxmox api schema and validation"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-section-config" name = "proxmox-section-config"
version = "1.0.2" version = "1.0.2"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "proxmox schema based section config format parsing" description = "proxmox schema based section config format parsing"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-serde" name = "proxmox-serde"
version = "0.1.1" version = "0.1.1"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "Serde formatting tools" description = "Serde formatting tools"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-shared-memory" name = "proxmox-shared-memory"
version = "0.2.2" version = "0.2.2"
authors = ["Dietmar Maurer <dietmar@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "Shared memory helpers and shared mutex implementation" description = "Shared memory helpers and shared mutex implementation"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-sortable-macro" name = "proxmox-sortable-macro"
version = "0.1.2" version = "0.1.2"
authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "Proxmox sortable macro" description = "Proxmox sortable macro"
exclude = [ "debian" ] exclude.workspace = true
[lib] [lib]
proc-macro = true proc-macro = true

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-subscription" name = "proxmox-subscription"
version = "0.3.0" version = "0.3.0"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "Proxmox subscription utilitites" description = "Proxmox subscription utilitites"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-sys" name = "proxmox-sys"
version = "0.4.1" version = "0.4.1"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2021" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "System tools (using nix)." description = "System tools (using nix)."
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-tfa" name = "proxmox-tfa"
version = "2.1.0" version = "2.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2021" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "tfa implementation for totp and u2f" description = "tfa implementation for totp and u2f"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-time" name = "proxmox-time"
version = "1.1.4" version = "1.1.4"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "time utilities and TmEditor" description = "time utilities and TmEditor"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View File

@ -1,12 +1,13 @@
[package] [package]
name = "proxmox-uuid" name = "proxmox-uuid"
version = "1.0.1" version = "1.0.1"
authors = ["Proxmox Support Team <support@proxmox.com>"] authors.workspace = true
edition = "2018" edition.workspace = true
license = "AGPL-3" license.workspace = true
repository.workspace = true
description = "bindings for libuuid with optional serde support" description = "bindings for libuuid with optional serde support"
exclude = [ "debian" ] exclude.workspace = true
[dependencies] [dependencies]
libc = "0.2" libc = "0.2"