diff --git a/proxmox-client/Cargo.toml b/proxmox-client/Cargo.toml index 95a1bc96..2f0dde7a 100644 --- a/proxmox-client/Cargo.toml +++ b/proxmox-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-client" -version = "0.2.3" +version = "0.3.0" description = "Base client for proxmox APIs for handling login and ticket renewal" authors.workspace = true license.workspace = true diff --git a/proxmox-client/debian/changelog b/proxmox-client/debian/changelog index 444b4acd..8c433fd8 100644 --- a/proxmox-client/debian/changelog +++ b/proxmox-client/debian/changelog @@ -1,3 +1,11 @@ +rust-proxmox-client (0.3.0-1) bookworm; urgency=medium + + * add `post_without_body()` to HttpApiClient + + * improve error handling in RawApiResponse handling + + -- Proxmox Support Team Mon, 16 Oct 2023 13:26:43 +0200 + rust-proxmox-client (0.2.3-1) bookworm; urgency=medium * fix hyper client not setting content type header diff --git a/proxmox-client/debian/control b/proxmox-client/debian/control new file mode 100644 index 00000000..a31549d2 --- /dev/null +++ b/proxmox-client/debian/control @@ -0,0 +1,100 @@ +Source: rust-proxmox-client +Section: rust +Priority: optional +Build-Depends: debhelper (>= 12), + dh-cargo (>= 25), + cargo:native , + rustc:native , + libstd-rust-dev , + librust-anyhow-1+default-dev , + librust-base64-0.13+default-dev , + librust-hex-0.4+default-dev , + librust-http-0.2+default-dev , + librust-once-cell-1+default-dev (>= 1.3.1-~~) , + librust-percent-encoding-2+default-dev (>= 2.1-~~) , + librust-proxmox-login-0.1+default-dev , + librust-proxmox-login-0.1+http-dev , + librust-proxmox-schema-2+api-macro-dev , + librust-proxmox-schema-2+default-dev , + librust-proxmox-section-config-2+default-dev , + librust-regex-1+default-dev (>= 1.5-~~) , + librust-serde-1+default-dev , + librust-serde-json-1+default-dev , + librust-serde-plain-1+default-dev +Maintainer: Proxmox Support Team +Standards-Version: 4.6.1 +Vcs-Git: git://git.proxmox.com/git/proxmox.git +Vcs-Browser: https://git.proxmox.com/?p=proxmox.git +X-Cargo-Crate: proxmox-client +Rules-Requires-Root: no + +Package: librust-proxmox-client-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-anyhow-1+default-dev, + librust-base64-0.13+default-dev, + librust-hex-0.4+default-dev, + librust-http-0.2+default-dev, + librust-once-cell-1+default-dev (>= 1.3.1-~~), + librust-percent-encoding-2+default-dev (>= 2.1-~~), + librust-proxmox-login-0.1+default-dev, + librust-proxmox-login-0.1+http-dev, + librust-proxmox-schema-2+api-macro-dev, + librust-proxmox-schema-2+default-dev, + librust-proxmox-section-config-2+default-dev, + librust-regex-1+default-dev (>= 1.5-~~), + librust-serde-1+default-dev, + librust-serde-json-1+default-dev, + librust-serde-plain-1+default-dev +Suggests: + librust-proxmox-client+hyper-client-dev (= ${binary:Version}), + librust-proxmox-client+webauthn-dev (= ${binary:Version}) +Provides: + librust-proxmox-client+default-dev (= ${binary:Version}), + librust-proxmox-client-0-dev (= ${binary:Version}), + librust-proxmox-client-0+default-dev (= ${binary:Version}), + librust-proxmox-client-0.3-dev (= ${binary:Version}), + librust-proxmox-client-0.3+default-dev (= ${binary:Version}), + librust-proxmox-client-0.3.0-dev (= ${binary:Version}), + librust-proxmox-client-0.3.0+default-dev (= ${binary:Version}) +Description: Base client for proxmox APIs for handling login and ticket renewal - Rust source code + This package contains the source for the Rust proxmox-client crate, packaged by + debcargo for use with cargo and dh-cargo. + +Package: librust-proxmox-client+hyper-client-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-client-dev (= ${binary:Version}), + librust-hyper-0.14+default-dev (>= 0.14.5-~~), + librust-log-0.4+default-dev (>= 0.4.17-~~), + librust-openssl-0.10+default-dev, + librust-proxmox-http-0.9+client-dev, + librust-proxmox-http-0.9+default-dev +Provides: + librust-proxmox-client-0+hyper-client-dev (= ${binary:Version}), + librust-proxmox-client-0.3+hyper-client-dev (= ${binary:Version}), + librust-proxmox-client-0.3.0+hyper-client-dev (= ${binary:Version}) +Description: Base client for proxmox APIs for handling login and ticket renewal - feature "hyper-client" + This metapackage enables feature "hyper-client" for the Rust proxmox-client + crate, by pulling in any additional dependencies needed by that feature. + +Package: librust-proxmox-client+webauthn-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-client-dev (= ${binary:Version}), + librust-proxmox-login-0.1+http-dev, + librust-proxmox-login-0.1+webauthn-dev, + librust-webauthn-rs-0.3+default-dev +Provides: + librust-proxmox-client-0+webauthn-dev (= ${binary:Version}), + librust-proxmox-client-0.3+webauthn-dev (= ${binary:Version}), + librust-proxmox-client-0.3.0+webauthn-dev (= ${binary:Version}) +Description: Base client for proxmox APIs for handling login and ticket renewal - feature "webauthn" + This metapackage enables feature "webauthn" for the Rust proxmox-client crate, + by pulling in any additional dependencies needed by that feature.