bump proxmox to 0.13.0-1 and proxmox-api-macro to 0.5.0

and proxmox-http to 0.4.0... urgh

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-08-24 15:24:23 +02:00
parent 2df0b8efb3
commit 0f2caafc4e
9 changed files with 104 additions and 76 deletions

View File

@ -1,7 +1,7 @@
[package]
name = "proxmox-api-macro"
edition = "2018"
version = "0.4.0"
version = "0.5.0"
authors = [ "Wolfgang Bumiller <w.bumiller@proxmox.com>" ]
license = "AGPL-3"
description = "Proxmox API macro"
@ -19,7 +19,7 @@ syn = { version = "1.0", features = [ "extra-traits", "full", "visit-mut" ] }
[dev-dependencies]
futures = "0.3"
proxmox = { version = "0.12.0", path = "../proxmox", features = [ "test-harness", "api-macro" ] }
proxmox = { version = "0.13.0", path = "../proxmox", features = [ "test-harness", "api-macro" ] }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"

View File

@ -1,3 +1,16 @@
rust-proxmox-api-macro (0.5.0-1) stable; urgency=medium
* for non structs without Updater types and methods, `type: Foo` can now be
omitted for api types
* Adapt to the changes to Updatable in the proxmox crate
* Updaters have no try_build_from or update_from method anymore for now
* #[api] types automatically implement the new ApiType trait
-- Proxmox Support Team <support@proxmox.com> Tue, 24 Aug 2021 15:22:05 +0200
rust-proxmox-api-macro (0.4.0-1) stable; urgency=medium
* update proxmox to 0.12.0

View File

@ -35,10 +35,10 @@ Provides:
librust-proxmox-api-macro+default-dev (= ${binary:Version}),
librust-proxmox-api-macro-0-dev (= ${binary:Version}),
librust-proxmox-api-macro-0+default-dev (= ${binary:Version}),
librust-proxmox-api-macro-0.4-dev (= ${binary:Version}),
librust-proxmox-api-macro-0.4+default-dev (= ${binary:Version}),
librust-proxmox-api-macro-0.4.0-dev (= ${binary:Version}),
librust-proxmox-api-macro-0.4.0+default-dev (= ${binary:Version})
librust-proxmox-api-macro-0.5-dev (= ${binary:Version}),
librust-proxmox-api-macro-0.5+default-dev (= ${binary:Version}),
librust-proxmox-api-macro-0.5.0-dev (= ${binary:Version}),
librust-proxmox-api-macro-0.5.0+default-dev (= ${binary:Version})
Description: Proxmox API macro - Rust source code
This package contains the source for the Rust proxmox-api-macro crate, packaged
by debcargo for use with cargo and dh-cargo.

View File

@ -1,7 +1,7 @@
[package]
name = "proxmox-http"
edition = "2018"
version = "0.3.0"
version = "0.4.0"
authors = [
"Dietmar Maurer <dietmar@proxmox.com>",
"Wolfgang Bumiller <w.bumiller@proxmox.com>",
@ -21,7 +21,7 @@ openssl = { version = "0.10", optional = true }
tokio = { version = "1.0", features = [], optional = true }
tokio-openssl = { version = "0.6.1", optional = true }
proxmox = { path = "../proxmox", optional = true, version = "0.12.0", default-features = false }
proxmox = { path = "../proxmox", optional = true, version = "0.13.0", default-features = false }
[features]
default = []

View File

@ -1,3 +1,9 @@
rust-proxmox-http (0.4.0-1) stable; urgency=medium
* update proxmox to 0.13.0
-- Proxmox Support Team <support@proxmox.com> Tue, 24 Aug 2021 15:33:16 +0200
rust-proxmox-http (0.3.0-1) stable; urgency=medium
* update promxox to 0.12.0

View File

@ -35,10 +35,10 @@ Provides:
librust-proxmox-http+default-dev (= ${binary:Version}),
librust-proxmox-http-0-dev (= ${binary:Version}),
librust-proxmox-http-0+default-dev (= ${binary:Version}),
librust-proxmox-http-0.3-dev (= ${binary:Version}),
librust-proxmox-http-0.3+default-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+default-dev (= ${binary:Version})
librust-proxmox-http-0.4-dev (= ${binary:Version}),
librust-proxmox-http-0.4+default-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+default-dev (= ${binary:Version})
Description: Proxmox HTTP library - Rust source code
This package contains the source for the Rust proxmox-http crate, packaged by
debcargo for use with cargo and dh-cargo.
@ -52,8 +52,8 @@ Depends:
librust-base64-0.12+default-dev
Provides:
librust-proxmox-http-0+base64-dev (= ${binary:Version}),
librust-proxmox-http-0.3+base64-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+base64-dev (= ${binary:Version})
librust-proxmox-http-0.4+base64-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+base64-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "base64"
This metapackage enables feature "base64" for the Rust proxmox-http crate, by
pulling in any additional dependencies needed by that feature.
@ -69,8 +69,8 @@ Depends:
librust-openssl-0.10+default-dev
Provides:
librust-proxmox-http-0+client-dev (= ${binary:Version}),
librust-proxmox-http-0.3+client-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+client-dev (= ${binary:Version})
librust-proxmox-http-0.4+client-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+client-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "client"
This metapackage enables feature "client" for the Rust proxmox-http crate, by
pulling in any additional dependencies needed by that feature.
@ -84,8 +84,8 @@ Depends:
librust-futures-0.3+default-dev
Provides:
librust-proxmox-http-0+futures-dev (= ${binary:Version}),
librust-proxmox-http-0.3+futures-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+futures-dev (= ${binary:Version})
librust-proxmox-http-0.4+futures-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+futures-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "futures"
This metapackage enables feature "futures" for the Rust proxmox-http crate, by
pulling in any additional dependencies needed by that feature.
@ -99,8 +99,8 @@ Depends:
librust-http-0.2+default-dev
Provides:
librust-proxmox-http-0+http-dev (= ${binary:Version}),
librust-proxmox-http-0.3+http-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+http-dev (= ${binary:Version})
librust-proxmox-http-0.4+http-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+http-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "http"
This metapackage enables feature "http" for the Rust proxmox-http crate, by
pulling in any additional dependencies needed by that feature.
@ -115,13 +115,13 @@ Depends:
librust-http-0.2+default-dev,
librust-hyper-0.14+default-dev,
librust-hyper-0.14+full-dev,
librust-proxmox-0.12-dev,
librust-proxmox-0.13-dev,
librust-tokio-1+io-util-dev,
librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~)
Provides:
librust-proxmox-http-0+http-helpers-dev (= ${binary:Version}),
librust-proxmox-http-0.3+http-helpers-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+http-helpers-dev (= ${binary:Version})
librust-proxmox-http-0.4+http-helpers-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+http-helpers-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "http-helpers"
This metapackage enables feature "http-helpers" for the Rust proxmox-http
crate, by pulling in any additional dependencies needed by that feature.
@ -136,8 +136,8 @@ Depends:
librust-hyper-0.14+full-dev
Provides:
librust-proxmox-http-0+hyper-dev (= ${binary:Version}),
librust-proxmox-http-0.3+hyper-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+hyper-dev (= ${binary:Version})
librust-proxmox-http-0.4+hyper-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+hyper-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "hyper"
This metapackage enables feature "hyper" for the Rust proxmox-http crate, by
pulling in any additional dependencies needed by that feature.
@ -151,8 +151,8 @@ Depends:
librust-openssl-0.10+default-dev
Provides:
librust-proxmox-http-0+openssl-dev (= ${binary:Version}),
librust-proxmox-http-0.3+openssl-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+openssl-dev (= ${binary:Version})
librust-proxmox-http-0.4+openssl-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+openssl-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "openssl"
This metapackage enables feature "openssl" for the Rust proxmox-http crate, by
pulling in any additional dependencies needed by that feature.
@ -163,11 +163,11 @@ Multi-Arch: same
Depends:
${misc:Depends},
librust-proxmox-http-dev (= ${binary:Version}),
librust-proxmox-0.12-dev
librust-proxmox-0.13-dev
Provides:
librust-proxmox-http-0+proxmox-dev (= ${binary:Version}),
librust-proxmox-http-0.3+proxmox-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+proxmox-dev (= ${binary:Version})
librust-proxmox-http-0.4+proxmox-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+proxmox-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "proxmox"
This metapackage enables feature "proxmox" for the Rust proxmox-http crate, by
pulling in any additional dependencies needed by that feature.
@ -181,8 +181,8 @@ Depends:
librust-tokio-1+default-dev
Provides:
librust-proxmox-http-0+tokio-dev (= ${binary:Version}),
librust-proxmox-http-0.3+tokio-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+tokio-dev (= ${binary:Version})
librust-proxmox-http-0.4+tokio-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+tokio-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "tokio"
This metapackage enables feature "tokio" for the Rust proxmox-http crate, by
pulling in any additional dependencies needed by that feature.
@ -196,8 +196,8 @@ Depends:
librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~)
Provides:
librust-proxmox-http-0+tokio-openssl-dev (= ${binary:Version}),
librust-proxmox-http-0.3+tokio-openssl-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+tokio-openssl-dev (= ${binary:Version})
librust-proxmox-http-0.4+tokio-openssl-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+tokio-openssl-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "tokio-openssl"
This metapackage enables feature "tokio-openssl" for the Rust proxmox-http
crate, by pulling in any additional dependencies needed by that feature.
@ -213,13 +213,13 @@ Depends:
librust-hyper-0.14+default-dev,
librust-hyper-0.14+full-dev,
librust-openssl-0.10+default-dev,
librust-proxmox-0.12+tokio-dev,
librust-proxmox-0.13+tokio-dev,
librust-tokio-1+io-util-dev,
librust-tokio-1+sync-dev
Provides:
librust-proxmox-http-0+websocket-dev (= ${binary:Version}),
librust-proxmox-http-0.3+websocket-dev (= ${binary:Version}),
librust-proxmox-http-0.3.0+websocket-dev (= ${binary:Version})
librust-proxmox-http-0.4+websocket-dev (= ${binary:Version}),
librust-proxmox-http-0.4.0+websocket-dev (= ${binary:Version})
Description: Proxmox HTTP library - feature "websocket"
This metapackage enables feature "websocket" for the Rust proxmox-http crate,
by pulling in any additional dependencies needed by that feature.

View File

@ -1,7 +1,7 @@
[package]
name = "proxmox"
edition = "2018"
version = "0.12.1"
version = "0.13.0"
authors = [
"Dietmar Maurer <dietmar@proxmox.com>",
"Wolfgang Bumiller <w.bumiller@proxmox.com>",
@ -46,7 +46,7 @@ url = "2.1"
#regex, serde, serde_json
# Macro crates:
proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "0.4.0" }
proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "0.5.0" }
proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.1" }
[features]

View File

@ -1,3 +1,12 @@
rust-proxmox (0.13.0-1) stable; urgency=medium
* introduce ApiType trait with a `const API_SCHEMA: Schema`, all API types
should implement this
* Rename `Updatable` to `UpdaterType` and drop `UPDATER_IS_OPTION` from it
-- Proxmox Support Team <support@proxmox.com> Tue, 24 Aug 2021 15:20:24 +0200
rust-proxmox (0.12.1-1) stable; urgency=medium
* fs: fallback to link if renameat2 is not supported in atomic file creation

View File

@ -80,10 +80,10 @@ Provides:
librust-proxmox+test-harness-dev (= ${binary:Version}),
librust-proxmox-0-dev (= ${binary:Version}),
librust-proxmox-0+test-harness-dev (= ${binary:Version}),
librust-proxmox-0.12-dev (= ${binary:Version}),
librust-proxmox-0.12+test-harness-dev (= ${binary:Version}),
librust-proxmox-0.12.1-dev (= ${binary:Version}),
librust-proxmox-0.12.1+test-harness-dev (= ${binary:Version})
librust-proxmox-0.13-dev (= ${binary:Version}),
librust-proxmox-0.13+test-harness-dev (= ${binary:Version}),
librust-proxmox-0.13.0-dev (= ${binary:Version}),
librust-proxmox-0.13.0+test-harness-dev (= ${binary:Version})
Description: Proxmox library - Rust source code
This package contains the source for the Rust proxmox crate, packaged by
debcargo for use with cargo and dh-cargo.
@ -94,15 +94,15 @@ Multi-Arch: same
Depends:
${misc:Depends},
librust-proxmox-dev (= ${binary:Version}),
librust-proxmox-api-macro-0.4+default-dev
librust-proxmox-api-macro-0.5+default-dev
Provides:
librust-proxmox+proxmox-api-macro-dev (= ${binary:Version}),
librust-proxmox-0+api-macro-dev (= ${binary:Version}),
librust-proxmox-0+proxmox-api-macro-dev (= ${binary:Version}),
librust-proxmox-0.12+api-macro-dev (= ${binary:Version}),
librust-proxmox-0.12+proxmox-api-macro-dev (= ${binary:Version}),
librust-proxmox-0.12.1+api-macro-dev (= ${binary:Version}),
librust-proxmox-0.12.1+proxmox-api-macro-dev (= ${binary:Version})
librust-proxmox-0.13+api-macro-dev (= ${binary:Version}),
librust-proxmox-0.13+proxmox-api-macro-dev (= ${binary:Version}),
librust-proxmox-0.13.0+api-macro-dev (= ${binary:Version}),
librust-proxmox-0.13.0+proxmox-api-macro-dev (= ${binary:Version})
Description: Proxmox library - feature "api-macro" and 1 more
This metapackage enables feature "api-macro" for the Rust proxmox crate, by
pulling in any additional dependencies needed by that feature.
@ -120,10 +120,10 @@ Provides:
librust-proxmox+u2f-dev (= ${binary:Version}),
librust-proxmox-0+base32-dev (= ${binary:Version}),
librust-proxmox-0+u2f-dev (= ${binary:Version}),
librust-proxmox-0.12+base32-dev (= ${binary:Version}),
librust-proxmox-0.12+u2f-dev (= ${binary:Version}),
librust-proxmox-0.12.1+base32-dev (= ${binary:Version}),
librust-proxmox-0.12.1+u2f-dev (= ${binary:Version})
librust-proxmox-0.13+base32-dev (= ${binary:Version}),
librust-proxmox-0.13+u2f-dev (= ${binary:Version}),
librust-proxmox-0.13.0+base32-dev (= ${binary:Version}),
librust-proxmox-0.13.0+u2f-dev (= ${binary:Version})
Description: Proxmox library - feature "base32" and 1 more
This metapackage enables feature "base32" for the Rust proxmox crate, by
pulling in any additional dependencies needed by that feature.
@ -142,8 +142,8 @@ Depends:
librust-tokio-1+default-dev
Provides:
librust-proxmox-0+cli-dev (= ${binary:Version}),
librust-proxmox-0.12+cli-dev (= ${binary:Version}),
librust-proxmox-0.12.1+cli-dev (= ${binary:Version})
librust-proxmox-0.13+cli-dev (= ${binary:Version}),
librust-proxmox-0.13.0+cli-dev (= ${binary:Version})
Description: Proxmox library - feature "cli"
This metapackage enables feature "cli" for the Rust proxmox crate, by pulling
in any additional dependencies needed by that feature.
@ -160,8 +160,8 @@ Depends:
librust-proxmox+u2f-dev (= ${binary:Version})
Provides:
librust-proxmox-0+default-dev (= ${binary:Version}),
librust-proxmox-0.12+default-dev (= ${binary:Version}),
librust-proxmox-0.12.1+default-dev (= ${binary:Version})
librust-proxmox-0.13+default-dev (= ${binary:Version}),
librust-proxmox-0.13.0+default-dev (= ${binary:Version})
Description: Proxmox library - feature "default"
This metapackage enables feature "default" for the Rust proxmox crate, by
pulling in any additional dependencies needed by that feature.
@ -176,8 +176,8 @@ Depends:
librust-tokio-1+macros-dev
Provides:
librust-proxmox-0+examples-dev (= ${binary:Version}),
librust-proxmox-0.12+examples-dev (= ${binary:Version}),
librust-proxmox-0.12.1+examples-dev (= ${binary:Version})
librust-proxmox-0.13+examples-dev (= ${binary:Version}),
librust-proxmox-0.13.0+examples-dev (= ${binary:Version})
Description: Proxmox library - feature "examples"
This metapackage enables feature "examples" for the Rust proxmox crate, by
pulling in any additional dependencies needed by that feature.
@ -191,8 +191,8 @@ Depends:
librust-futures-0.3+default-dev
Provides:
librust-proxmox-0+futures-dev (= ${binary:Version}),
librust-proxmox-0.12+futures-dev (= ${binary:Version}),
librust-proxmox-0.12.1+futures-dev (= ${binary:Version})
librust-proxmox-0.13+futures-dev (= ${binary:Version}),
librust-proxmox-0.13.0+futures-dev (= ${binary:Version})
Description: Proxmox library - feature "futures"
This metapackage enables feature "futures" for the Rust proxmox crate, by
pulling in any additional dependencies needed by that feature.
@ -207,8 +207,8 @@ Depends:
librust-hyper-0.14+full-dev
Provides:
librust-proxmox-0+hyper-dev (= ${binary:Version}),
librust-proxmox-0.12+hyper-dev (= ${binary:Version}),
librust-proxmox-0.12.1+hyper-dev (= ${binary:Version})
librust-proxmox-0.13+hyper-dev (= ${binary:Version}),
librust-proxmox-0.13.0+hyper-dev (= ${binary:Version})
Description: Proxmox library - feature "hyper"
This metapackage enables feature "hyper" for the Rust proxmox crate, by pulling
in any additional dependencies needed by that feature.
@ -224,10 +224,10 @@ Provides:
librust-proxmox+tfa-dev (= ${binary:Version}),
librust-proxmox-0+openssl-dev (= ${binary:Version}),
librust-proxmox-0+tfa-dev (= ${binary:Version}),
librust-proxmox-0.12+openssl-dev (= ${binary:Version}),
librust-proxmox-0.12+tfa-dev (= ${binary:Version}),
librust-proxmox-0.12.1+openssl-dev (= ${binary:Version}),
librust-proxmox-0.12.1+tfa-dev (= ${binary:Version})
librust-proxmox-0.13+openssl-dev (= ${binary:Version}),
librust-proxmox-0.13+tfa-dev (= ${binary:Version}),
librust-proxmox-0.13.0+openssl-dev (= ${binary:Version}),
librust-proxmox-0.13.0+tfa-dev (= ${binary:Version})
Description: Proxmox library - feature "openssl" and 1 more
This metapackage enables feature "openssl" for the Rust proxmox crate, by
pulling in any additional dependencies needed by that feature.
@ -245,10 +245,10 @@ Provides:
librust-proxmox+sortable-macro-dev (= ${binary:Version}),
librust-proxmox-0+proxmox-sortable-macro-dev (= ${binary:Version}),
librust-proxmox-0+sortable-macro-dev (= ${binary:Version}),
librust-proxmox-0.12+proxmox-sortable-macro-dev (= ${binary:Version}),
librust-proxmox-0.12+sortable-macro-dev (= ${binary:Version}),
librust-proxmox-0.12.1+proxmox-sortable-macro-dev (= ${binary:Version}),
librust-proxmox-0.12.1+sortable-macro-dev (= ${binary:Version})
librust-proxmox-0.13+proxmox-sortable-macro-dev (= ${binary:Version}),
librust-proxmox-0.13+sortable-macro-dev (= ${binary:Version}),
librust-proxmox-0.13.0+proxmox-sortable-macro-dev (= ${binary:Version}),
librust-proxmox-0.13.0+sortable-macro-dev (= ${binary:Version})
Description: Proxmox library - feature "proxmox-sortable-macro" and 1 more
This metapackage enables feature "proxmox-sortable-macro" for the Rust proxmox
crate, by pulling in any additional dependencies needed by that feature.
@ -267,8 +267,8 @@ Depends:
librust-tokio-1+default-dev
Provides:
librust-proxmox-0+router-dev (= ${binary:Version}),
librust-proxmox-0.12+router-dev (= ${binary:Version}),
librust-proxmox-0.12.1+router-dev (= ${binary:Version})
librust-proxmox-0.13+router-dev (= ${binary:Version}),
librust-proxmox-0.13.0+router-dev (= ${binary:Version})
Description: Proxmox library - feature "router"
This metapackage enables feature "router" for the Rust proxmox crate, by
pulling in any additional dependencies needed by that feature.
@ -282,8 +282,8 @@ Depends:
librust-tokio-1+default-dev
Provides:
librust-proxmox-0+tokio-dev (= ${binary:Version}),
librust-proxmox-0.12+tokio-dev (= ${binary:Version}),
librust-proxmox-0.12.1+tokio-dev (= ${binary:Version})
librust-proxmox-0.13+tokio-dev (= ${binary:Version}),
librust-proxmox-0.13.0+tokio-dev (= ${binary:Version})
Description: Proxmox library - feature "tokio"
This metapackage enables feature "tokio" for the Rust proxmox crate, by pulling
in any additional dependencies needed by that feature.
@ -297,8 +297,8 @@ Depends:
librust-tokio-stream-0.1+default-dev (>= 0.1.1-~~)
Provides:
librust-proxmox-0+tokio-stream-dev (= ${binary:Version}),
librust-proxmox-0.12+tokio-stream-dev (= ${binary:Version}),
librust-proxmox-0.12.1+tokio-stream-dev (= ${binary:Version})
librust-proxmox-0.13+tokio-stream-dev (= ${binary:Version}),
librust-proxmox-0.13.0+tokio-stream-dev (= ${binary:Version})
Description: Proxmox library - feature "tokio-stream"
This metapackage enables feature "tokio-stream" for the Rust proxmox crate, by
pulling in any additional dependencies needed by that feature.