]> git.proxmox.com Git - proxmox.git/commitdiff
bump proxmox-http to 0.8.0
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 30 Jan 2023 10:29:07 +0000 (11:29 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 2 Mar 2023 15:14:04 +0000 (16:14 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Cargo.toml
proxmox-http/Cargo.toml
proxmox-http/debian/changelog
proxmox-http/debian/control

index fb391149ac7a8e2e949b1f4b0082ee2346281a8b..2efa337a3e0c545db7ce4d1b4116b7d9797cdb33 100644 (file)
@@ -79,7 +79,7 @@ zstd = { version = "0.6", features = [ "bindgen" ] }
 proxmox-api-macro = { version = "1.0.4", path = "proxmox-api-macro" }
 proxmox-async = { version = "0.4.1", path = "proxmox-async" }
 proxmox-compression = { version = "0.1.1", path = "proxmox-compression" }
-proxmox-http = { version = "0.8.0-alpha.1", path = "proxmox-http" }
+proxmox-http = { version = "0.8.0", path = "proxmox-http" }
 proxmox-io = { version = "1.0.0", path = "proxmox-io" }
 proxmox-lang = { version = "1.1", path = "proxmox-lang" }
 proxmox-router = { version = "1.3.1", path = "proxmox-router" }
index a9ab364f5800f76fea56d3b5aba071da7baf6545..39f6d6f9556c17f1ebffcac8e08414b50d031834 100644 (file)
@@ -1,7 +1,7 @@
 [package]
 name = "proxmox-http"
 edition.workspace = true
-version = "0.8.0-alpha.1"
+version = "0.8.0"
 authors.workspace = true
 license.workspace = true
 repository.workspace = true
index 559822021e260422f746798cc85c287f87821e13..dc11629f0988a6770f22173440210508d5acb0a3 100644 (file)
@@ -1,3 +1,17 @@
+rust-proxmox-http (0.8.0-1) unstable; urgency=medium
+
+  * make rate limiting 2 separate features instead of part of the client
+    feature:
+    - rate-limiter
+    - rate-limited-stream
+
+  * reduce hyper dependencies from 'full' to only the required features
+
+  * add 'inner' and 'inner_mut' accessors to RateLimitedStream and drop the
+    'peer_addr()' method
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 30 Jan 2023 11:25:22 +0100
+
 rust-proxmox-http (0.7.0-1) unstable; urgency=medium
 
   * refactor and extend HttpClient trait
index a8f5aea81600ba993f3d1a5720c414d75cd1ddf9..a4c0e5ddb2e88e73ca41ca1add8c200f2c2c67d6 100644 (file)
@@ -26,15 +26,17 @@ Suggests:
  librust-proxmox-http+client-trait-dev (= ${binary:Version}),
  librust-proxmox-http+http-helpers-dev (= ${binary:Version}),
  librust-proxmox-http+proxmox-async-dev (= ${binary:Version}),
+ librust-proxmox-http+rate-limited-stream-dev (= ${binary:Version}),
+ librust-proxmox-http+rate-limiter-dev (= ${binary:Version}),
  librust-proxmox-http+websocket-dev (= ${binary:Version})
 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.7-dev (= ${binary:Version}),
- librust-proxmox-http-0.7+default-dev (= ${binary:Version}),
- librust-proxmox-http-0.7.0-dev (= ${binary:Version}),
- librust-proxmox-http-0.7.0+default-dev (= ${binary:Version})
+ librust-proxmox-http-0.8-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8+default-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.0-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.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.
@@ -46,17 +48,21 @@ Depends:
  ${misc:Depends},
  librust-proxmox-http-dev (= ${binary:Version}),
  librust-proxmox-http+http-helpers-dev (= ${binary:Version}),
+ librust-proxmox-http+rate-limited-stream-dev (= ${binary:Version}),
  librust-futures-0.3+default-dev,
+ librust-hyper-0.14+client-dev (>= 0.14.5-~~),
  librust-hyper-0.14+default-dev (>= 0.14.5-~~),
- librust-hyper-0.14+full-dev (>= 0.14.5-~~),
+ librust-hyper-0.14+http1-dev (>= 0.14.5-~~),
+ librust-hyper-0.14+http2-dev (>= 0.14.5-~~),
+ librust-hyper-0.14+tcp-dev (>= 0.14.5-~~),
  librust-openssl-0.10+default-dev,
  librust-tokio-1+default-dev (>= 1.6-~~),
  librust-tokio-1+io-util-dev (>= 1.6-~~),
  librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~)
 Provides:
  librust-proxmox-http-0+client-dev (= ${binary:Version}),
- librust-proxmox-http-0.7+client-dev (= ${binary:Version}),
- librust-proxmox-http-0.7.0+client-dev (= ${binary:Version})
+ librust-proxmox-http-0.8+client-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.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.
@@ -73,8 +79,8 @@ Depends:
  librust-ureq-2+native-certs-dev (>= 2.4-~~)
 Provides:
  librust-proxmox-http-0+client-sync-dev (= ${binary:Version}),
- librust-proxmox-http-0.7+client-sync-dev (= ${binary:Version}),
- librust-proxmox-http-0.7.0+client-sync-dev (= ${binary:Version})
+ librust-proxmox-http-0.8+client-sync-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.0+client-sync-dev (= ${binary:Version})
 Description: Proxmox HTTP library - feature "client-sync"
  This metapackage enables feature "client-sync" for the Rust proxmox-http crate,
  by pulling in any additional dependencies needed by that feature.
@@ -88,8 +94,8 @@ Depends:
  librust-http-0.2+default-dev
 Provides:
  librust-proxmox-http-0+client-trait-dev (= ${binary:Version}),
- librust-proxmox-http-0.7+client-trait-dev (= ${binary:Version}),
- librust-proxmox-http-0.7.0+client-trait-dev (= ${binary:Version})
+ librust-proxmox-http-0.8+client-trait-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.0+client-trait-dev (= ${binary:Version})
 Description: Proxmox HTTP library - feature "client-trait"
  This metapackage enables feature "client-trait" for the Rust proxmox-http
  crate, by pulling in any additional dependencies needed by that feature.
@@ -102,13 +108,13 @@ Depends:
  librust-proxmox-http-dev (= ${binary:Version}),
  librust-base64-0.13+default-dev,
  librust-http-0.2+default-dev,
- librust-proxmox-sys-0.4+default-dev (>= 0.4.1-~~),
+ librust-proxmox-sys-0.4+default-dev (>= 0.4.2-~~),
  librust-serde-json-1+default-dev,
  librust-url-2+default-dev (>= 2.2-~~)
 Provides:
  librust-proxmox-http-0+http-helpers-dev (= ${binary:Version}),
- librust-proxmox-http-0.7+http-helpers-dev (= ${binary:Version}),
- librust-proxmox-http-0.7.0+http-helpers-dev (= ${binary:Version})
+ librust-proxmox-http-0.8+http-helpers-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.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.
@@ -122,12 +128,46 @@ Depends:
  librust-proxmox-async-0.4+default-dev (>= 0.4.1-~~)
 Provides:
  librust-proxmox-http-0+proxmox-async-dev (= ${binary:Version}),
- librust-proxmox-http-0.7+proxmox-async-dev (= ${binary:Version}),
- librust-proxmox-http-0.7.0+proxmox-async-dev (= ${binary:Version})
+ librust-proxmox-http-0.8+proxmox-async-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.0+proxmox-async-dev (= ${binary:Version})
 Description: Proxmox HTTP library - feature "proxmox-async"
  This metapackage enables feature "proxmox-async" for the Rust proxmox-http
  crate, by pulling in any additional dependencies needed by that feature.
 
+Package: librust-proxmox-http+rate-limited-stream-dev
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ librust-proxmox-http-dev (= ${binary:Version}),
+ librust-proxmox-http+rate-limiter-dev (= ${binary:Version}),
+ librust-hyper-0.14+client-dev (>= 0.14.5-~~),
+ librust-hyper-0.14+default-dev (>= 0.14.5-~~),
+ librust-tokio-1+default-dev (>= 1.6-~~),
+ librust-tokio-1+time-dev (>= 1.6-~~)
+Provides:
+ librust-proxmox-http-0+rate-limited-stream-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8+rate-limited-stream-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.0+rate-limited-stream-dev (= ${binary:Version})
+Description: Proxmox HTTP library - feature "rate-limited-stream"
+ This metapackage enables feature "rate-limited-stream" for the Rust proxmox-
+ http crate, by pulling in any additional dependencies needed by that feature.
+
+Package: librust-proxmox-http+rate-limiter-dev
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ librust-proxmox-http-dev (= ${binary:Version}),
+ librust-hyper-0.14+default-dev (>= 0.14.5-~~)
+Provides:
+ librust-proxmox-http-0+rate-limiter-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8+rate-limiter-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.0+rate-limiter-dev (= ${binary:Version})
+Description: Proxmox HTTP library - feature "rate-limiter"
+ This metapackage enables feature "rate-limiter" for the Rust proxmox-http
+ crate, by pulling in any additional dependencies needed by that feature.
+
 Package: librust-proxmox-http+websocket-dev
 Architecture: any
 Multi-Arch: same
@@ -141,14 +181,14 @@ Depends:
  librust-proxmox-io-1+default-dev,
  librust-proxmox-io-1+tokio-dev,
  librust-proxmox-lang-1+default-dev (>= 1.1-~~),
- librust-proxmox-sys-0.4+default-dev (>= 0.4.1-~~),
+ librust-proxmox-sys-0.4+default-dev (>= 0.4.2-~~),
  librust-tokio-1+default-dev (>= 1.6-~~),
  librust-tokio-1+io-util-dev (>= 1.6-~~),
  librust-tokio-1+sync-dev (>= 1.6-~~)
 Provides:
  librust-proxmox-http-0+websocket-dev (= ${binary:Version}),
- librust-proxmox-http-0.7+websocket-dev (= ${binary:Version}),
- librust-proxmox-http-0.7.0+websocket-dev (= ${binary:Version})
+ librust-proxmox-http-0.8+websocket-dev (= ${binary:Version}),
+ librust-proxmox-http-0.8.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.