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 = [
"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]
name = "proxmox-api-macro"
edition = "2018"
edition.workspace = true
version = "1.0.3"
authors = [ "Wolfgang Bumiller <w.bumiller@proxmox.com>" ]
license = "AGPL-3"
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "Proxmox API macro"
exclude = [ "debian" ]
exclude.workspace = true
[lib]
proc-macro = true

View File

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

View File

@ -1,11 +1,12 @@
[package]
name = "proxmox-borrow"
version = "1.0.1"
authors = ["Proxmox Support Team <support@proxmox.com>"]
edition = "2018"
license = "AGPL-3"
authors.workspace = true
edition.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 = [ "debian" ]
exclude.workspace = true
[dependencies]

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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