mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-07 15:36:08 +00:00
use new proxmox-sys 0.2.0 for all crates
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
dace74a556
commit
82245339b8
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "proxmox-async"
|
name = "proxmox-async"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
authors = ["Proxmox Support Team <support@proxmox.com>"]
|
authors = ["Proxmox Support Team <support@proxmox.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "AGPL-3"
|
license = "AGPL-3"
|
||||||
@ -20,7 +20,7 @@ pin-utils = "0.1.0"
|
|||||||
tokio = { version = "1.0", features = ["fs", "rt", "rt-multi-thread", "sync"] }
|
tokio = { version = "1.0", features = ["fs", "rt", "rt-multi-thread", "sync"] }
|
||||||
walkdir = "2"
|
walkdir = "2"
|
||||||
|
|
||||||
proxmox = { path = "../proxmox", version = "0.15", default-features = false, features = [ "tokio" ] }
|
proxmox-sys = { path = "../proxmox-sys", version = "0.2.0" }
|
||||||
proxmox-io = { path = "../proxmox-io", version = "1", features = [ "tokio" ] }
|
proxmox-io = { path = "../proxmox-io", version = "1", features = [ "tokio" ] }
|
||||||
proxmox-time = { path = "../proxmox-time", version = "1" }
|
proxmox-time = { path = "../proxmox-time", version = "1" }
|
||||||
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
rust-proxmox-async (0.3.0) unstable; urgency=medium
|
||||||
|
|
||||||
|
* rebuild using proxmox-sys 0.2.0
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Tue, 23 Nov 2021 12:17:49 +0100
|
||||||
|
|
||||||
rust-proxmox-async (0.2.0) stable; urgency=medium
|
rust-proxmox-async (0.2.0) stable; urgency=medium
|
||||||
|
|
||||||
* improve dev docs
|
* improve dev docs
|
||||||
|
@ -9,7 +9,7 @@ use futures::ready;
|
|||||||
use futures::stream::Stream;
|
use futures::stream::Stream;
|
||||||
use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
|
use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
|
||||||
|
|
||||||
use proxmox::io_format_err;
|
use proxmox_sys::io_format_err;
|
||||||
use proxmox_io::ByteBuffer;
|
use proxmox_io::ByteBuffer;
|
||||||
|
|
||||||
const BUFFER_SIZE: usize = 8192;
|
const BUFFER_SIZE: usize = 8192;
|
||||||
|
@ -11,8 +11,8 @@ use tokio::sync::mpsc::Sender;
|
|||||||
use futures::ready;
|
use futures::ready;
|
||||||
use futures::future::FutureExt;
|
use futures::future::FutureExt;
|
||||||
|
|
||||||
use proxmox::io_format_err;
|
use proxmox_sys::io_format_err;
|
||||||
use proxmox::sys::error::io_err_other;
|
use proxmox_sys::error::io_err_other;
|
||||||
use proxmox_io::ByteBuffer;
|
use proxmox_io::ByteBuffer;
|
||||||
|
|
||||||
/// Wrapper around tokio::sync::mpsc::Sender, which implements Write
|
/// Wrapper around tokio::sync::mpsc::Sender, which implements Write
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "proxmox-http"
|
name = "proxmox-http"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
version = "0.5.6"
|
version = "0.6.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Dietmar Maurer <dietmar@proxmox.com>",
|
"Dietmar Maurer <dietmar@proxmox.com>",
|
||||||
"Wolfgang Bumiller <w.bumiller@proxmox.com>",
|
"Wolfgang Bumiller <w.bumiller@proxmox.com>",
|
||||||
@ -21,19 +21,20 @@ openssl = { version = "0.10", optional = true }
|
|||||||
tokio = { version = "1.0", features = [], optional = true }
|
tokio = { version = "1.0", features = [], optional = true }
|
||||||
tokio-openssl = { version = "0.6.1", optional = true }
|
tokio-openssl = { version = "0.6.1", optional = true }
|
||||||
|
|
||||||
proxmox = { path = "../proxmox", optional = true, version = "0.15", default-features = false }
|
proxmox-sys = { path = "../proxmox-sys", optional = true, version = "0.2.0" }
|
||||||
proxmox-io = { path = "../proxmox-io", optional = true, version = "1.0.0" }
|
proxmox-io = { path = "../proxmox-io", optional = true, version = "1.0.0" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|
||||||
client = [ "futures", "http-helpers", "openssl" ]
|
client = [ "futures", "http-helpers", "openssl" ]
|
||||||
http-helpers = [ "base64", "http", "hyper", "tokio/io-util", "tokio-openssl", "proxmox" ]
|
http-helpers = [ "base64", "http", "hyper", "tokio/io-util", "tokio-openssl", "proxmox-sys" ]
|
||||||
websocket = [
|
websocket = [
|
||||||
"base64",
|
"base64",
|
||||||
"futures",
|
"futures",
|
||||||
"hyper",
|
"hyper",
|
||||||
"openssl",
|
"openssl",
|
||||||
|
"proxmox-sys",
|
||||||
"proxmox-io/tokio",
|
"proxmox-io/tokio",
|
||||||
"tokio/io-util",
|
"tokio/io-util",
|
||||||
"tokio/sync",
|
"tokio/sync",
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
rust-proxmox-http (0.6.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* rebuild using proxmox-sys 0.2.0
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Tue, 23 Nov 2021 12:14:54 +0100
|
||||||
|
|
||||||
rust-proxmox-http (0.5.6-1) unstable; urgency=medium
|
rust-proxmox-http (0.5.6-1) unstable; urgency=medium
|
||||||
|
|
||||||
* rebuild with base64 0.13
|
* rebuild with base64 0.13
|
||||||
|
@ -27,8 +27,8 @@ Suggests:
|
|||||||
librust-proxmox-http+http-helpers-dev (= ${binary:Version}),
|
librust-proxmox-http+http-helpers-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http+hyper-dev (= ${binary:Version}),
|
librust-proxmox-http+hyper-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http+openssl-dev (= ${binary:Version}),
|
librust-proxmox-http+openssl-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http+proxmox-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-http+proxmox-io-dev (= ${binary:Version}),
|
librust-proxmox-http+proxmox-io-dev (= ${binary:Version}),
|
||||||
|
librust-proxmox-http+proxmox-sys-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http+tokio-dev (= ${binary:Version}),
|
librust-proxmox-http+tokio-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http+tokio-openssl-dev (= ${binary:Version}),
|
librust-proxmox-http+tokio-openssl-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http+websocket-dev (= ${binary:Version})
|
librust-proxmox-http+websocket-dev (= ${binary:Version})
|
||||||
@ -36,10 +36,10 @@ Provides:
|
|||||||
librust-proxmox-http+default-dev (= ${binary:Version}),
|
librust-proxmox-http+default-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0-dev (= ${binary:Version}),
|
librust-proxmox-http-0-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0+default-dev (= ${binary:Version}),
|
librust-proxmox-http-0+default-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+default-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+default-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6.0-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+default-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+default-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - Rust source code
|
Description: Proxmox HTTP library - Rust source code
|
||||||
This package contains the source for the Rust proxmox-http crate, packaged by
|
This package contains the source for the Rust proxmox-http crate, packaged by
|
||||||
debcargo for use with cargo and dh-cargo.
|
debcargo for use with cargo and dh-cargo.
|
||||||
@ -53,8 +53,8 @@ Depends:
|
|||||||
librust-base64-0.13+default-dev
|
librust-base64-0.13+default-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+base64-dev (= ${binary:Version}),
|
librust-proxmox-http-0+base64-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+base64-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+base64-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+base64-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+base64-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "base64"
|
Description: Proxmox HTTP library - feature "base64"
|
||||||
This metapackage enables feature "base64" for the Rust proxmox-http crate, by
|
This metapackage enables feature "base64" for the Rust proxmox-http crate, by
|
||||||
pulling in any additional dependencies needed by that feature.
|
pulling in any additional dependencies needed by that feature.
|
||||||
@ -70,8 +70,8 @@ Depends:
|
|||||||
librust-openssl-0.10+default-dev
|
librust-openssl-0.10+default-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+client-dev (= ${binary:Version}),
|
librust-proxmox-http-0+client-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+client-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+client-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+client-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+client-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "client"
|
Description: Proxmox HTTP library - feature "client"
|
||||||
This metapackage enables feature "client" for the Rust proxmox-http crate, by
|
This metapackage enables feature "client" for the Rust proxmox-http crate, by
|
||||||
pulling in any additional dependencies needed by that feature.
|
pulling in any additional dependencies needed by that feature.
|
||||||
@ -85,8 +85,8 @@ Depends:
|
|||||||
librust-futures-0.3+default-dev
|
librust-futures-0.3+default-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+futures-dev (= ${binary:Version}),
|
librust-proxmox-http-0+futures-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+futures-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+futures-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+futures-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+futures-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "futures"
|
Description: Proxmox HTTP library - feature "futures"
|
||||||
This metapackage enables feature "futures" for the Rust proxmox-http crate, by
|
This metapackage enables feature "futures" for the Rust proxmox-http crate, by
|
||||||
pulling in any additional dependencies needed by that feature.
|
pulling in any additional dependencies needed by that feature.
|
||||||
@ -100,8 +100,8 @@ Depends:
|
|||||||
librust-http-0.2+default-dev
|
librust-http-0.2+default-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+http-dev (= ${binary:Version}),
|
librust-proxmox-http-0+http-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+http-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+http-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+http-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+http-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "http"
|
Description: Proxmox HTTP library - feature "http"
|
||||||
This metapackage enables feature "http" for the Rust proxmox-http crate, by
|
This metapackage enables feature "http" for the Rust proxmox-http crate, by
|
||||||
pulling in any additional dependencies needed by that feature.
|
pulling in any additional dependencies needed by that feature.
|
||||||
@ -116,13 +116,13 @@ Depends:
|
|||||||
librust-http-0.2+default-dev,
|
librust-http-0.2+default-dev,
|
||||||
librust-hyper-0.14+default-dev,
|
librust-hyper-0.14+default-dev,
|
||||||
librust-hyper-0.14+full-dev,
|
librust-hyper-0.14+full-dev,
|
||||||
librust-proxmox-0.15-dev,
|
librust-proxmox-sys-0.2+default-dev,
|
||||||
librust-tokio-1+io-util-dev,
|
librust-tokio-1+io-util-dev,
|
||||||
librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~)
|
librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~)
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+http-helpers-dev (= ${binary:Version}),
|
librust-proxmox-http-0+http-helpers-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+http-helpers-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+http-helpers-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+http-helpers-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+http-helpers-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "http-helpers"
|
Description: Proxmox HTTP library - feature "http-helpers"
|
||||||
This metapackage enables feature "http-helpers" for the Rust proxmox-http
|
This metapackage enables feature "http-helpers" for the Rust proxmox-http
|
||||||
crate, by pulling in any additional dependencies needed by that feature.
|
crate, by pulling in any additional dependencies needed by that feature.
|
||||||
@ -137,8 +137,8 @@ Depends:
|
|||||||
librust-hyper-0.14+full-dev
|
librust-hyper-0.14+full-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+hyper-dev (= ${binary:Version}),
|
librust-proxmox-http-0+hyper-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+hyper-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+hyper-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+hyper-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+hyper-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "hyper"
|
Description: Proxmox HTTP library - feature "hyper"
|
||||||
This metapackage enables feature "hyper" for the Rust proxmox-http crate, by
|
This metapackage enables feature "hyper" for the Rust proxmox-http crate, by
|
||||||
pulling in any additional dependencies needed by that feature.
|
pulling in any additional dependencies needed by that feature.
|
||||||
@ -152,27 +152,12 @@ Depends:
|
|||||||
librust-openssl-0.10+default-dev
|
librust-openssl-0.10+default-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+openssl-dev (= ${binary:Version}),
|
librust-proxmox-http-0+openssl-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+openssl-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+openssl-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+openssl-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+openssl-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "openssl"
|
Description: Proxmox HTTP library - feature "openssl"
|
||||||
This metapackage enables feature "openssl" for the Rust proxmox-http crate, by
|
This metapackage enables feature "openssl" for the Rust proxmox-http crate, by
|
||||||
pulling in any additional dependencies needed by that feature.
|
pulling in any additional dependencies needed by that feature.
|
||||||
|
|
||||||
Package: librust-proxmox-http+proxmox-dev
|
|
||||||
Architecture: any
|
|
||||||
Multi-Arch: same
|
|
||||||
Depends:
|
|
||||||
${misc:Depends},
|
|
||||||
librust-proxmox-http-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-0.15-dev
|
|
||||||
Provides:
|
|
||||||
librust-proxmox-http-0+proxmox-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-http-0.5+proxmox-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-http-0.5.6+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.
|
|
||||||
|
|
||||||
Package: librust-proxmox-http+proxmox-io-dev
|
Package: librust-proxmox-http+proxmox-io-dev
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
@ -182,12 +167,27 @@ Depends:
|
|||||||
librust-proxmox-io-1+default-dev
|
librust-proxmox-io-1+default-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+proxmox-io-dev (= ${binary:Version}),
|
librust-proxmox-http-0+proxmox-io-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+proxmox-io-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+proxmox-io-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+proxmox-io-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+proxmox-io-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "proxmox-io"
|
Description: Proxmox HTTP library - feature "proxmox-io"
|
||||||
This metapackage enables feature "proxmox-io" for the Rust proxmox-http crate,
|
This metapackage enables feature "proxmox-io" for the Rust proxmox-http crate,
|
||||||
by pulling in any additional dependencies needed by that feature.
|
by pulling in any additional dependencies needed by that feature.
|
||||||
|
|
||||||
|
Package: librust-proxmox-http+proxmox-sys-dev
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends:
|
||||||
|
${misc:Depends},
|
||||||
|
librust-proxmox-http-dev (= ${binary:Version}),
|
||||||
|
librust-proxmox-sys-0.2+default-dev
|
||||||
|
Provides:
|
||||||
|
librust-proxmox-http-0+proxmox-sys-dev (= ${binary:Version}),
|
||||||
|
librust-proxmox-http-0.6+proxmox-sys-dev (= ${binary:Version}),
|
||||||
|
librust-proxmox-http-0.6.0+proxmox-sys-dev (= ${binary:Version})
|
||||||
|
Description: Proxmox HTTP library - feature "proxmox-sys"
|
||||||
|
This metapackage enables feature "proxmox-sys" for the Rust proxmox-http crate,
|
||||||
|
by pulling in any additional dependencies needed by that feature.
|
||||||
|
|
||||||
Package: librust-proxmox-http+tokio-dev
|
Package: librust-proxmox-http+tokio-dev
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
@ -197,8 +197,8 @@ Depends:
|
|||||||
librust-tokio-1+default-dev
|
librust-tokio-1+default-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+tokio-dev (= ${binary:Version}),
|
librust-proxmox-http-0+tokio-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+tokio-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+tokio-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+tokio-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+tokio-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "tokio"
|
Description: Proxmox HTTP library - feature "tokio"
|
||||||
This metapackage enables feature "tokio" for the Rust proxmox-http crate, by
|
This metapackage enables feature "tokio" for the Rust proxmox-http crate, by
|
||||||
pulling in any additional dependencies needed by that feature.
|
pulling in any additional dependencies needed by that feature.
|
||||||
@ -212,8 +212,8 @@ Depends:
|
|||||||
librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~)
|
librust-tokio-openssl-0.6+default-dev (>= 0.6.1-~~)
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+tokio-openssl-dev (= ${binary:Version}),
|
librust-proxmox-http-0+tokio-openssl-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+tokio-openssl-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+tokio-openssl-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+tokio-openssl-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+tokio-openssl-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "tokio-openssl"
|
Description: Proxmox HTTP library - feature "tokio-openssl"
|
||||||
This metapackage enables feature "tokio-openssl" for the Rust proxmox-http
|
This metapackage enables feature "tokio-openssl" for the Rust proxmox-http
|
||||||
crate, by pulling in any additional dependencies needed by that feature.
|
crate, by pulling in any additional dependencies needed by that feature.
|
||||||
@ -230,12 +230,13 @@ Depends:
|
|||||||
librust-hyper-0.14+full-dev,
|
librust-hyper-0.14+full-dev,
|
||||||
librust-openssl-0.10+default-dev,
|
librust-openssl-0.10+default-dev,
|
||||||
librust-proxmox-io-1+tokio-dev,
|
librust-proxmox-io-1+tokio-dev,
|
||||||
|
librust-proxmox-sys-0.2+default-dev,
|
||||||
librust-tokio-1+io-util-dev,
|
librust-tokio-1+io-util-dev,
|
||||||
librust-tokio-1+sync-dev
|
librust-tokio-1+sync-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-http-0+websocket-dev (= ${binary:Version}),
|
librust-proxmox-http-0+websocket-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5+websocket-dev (= ${binary:Version}),
|
librust-proxmox-http-0.6+websocket-dev (= ${binary:Version}),
|
||||||
librust-proxmox-http-0.5.6+websocket-dev (= ${binary:Version})
|
librust-proxmox-http-0.6.0+websocket-dev (= ${binary:Version})
|
||||||
Description: Proxmox HTTP library - feature "websocket"
|
Description: Proxmox HTTP library - feature "websocket"
|
||||||
This metapackage enables feature "websocket" for the Rust proxmox-http crate,
|
This metapackage enables feature "websocket" for the Rust proxmox-http crate,
|
||||||
by pulling in any additional dependencies needed by that feature.
|
by pulling in any additional dependencies needed by that feature.
|
||||||
|
@ -12,7 +12,7 @@ use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
|
|||||||
use tokio::net::TcpStream;
|
use tokio::net::TcpStream;
|
||||||
use tokio_openssl::SslStream;
|
use tokio_openssl::SslStream;
|
||||||
|
|
||||||
use proxmox::sys::linux::socket::set_tcp_keepalive;
|
use proxmox_sys::linux::socket::set_tcp_keepalive;
|
||||||
|
|
||||||
use crate::proxy_config::ProxyConfig;
|
use crate::proxy_config::ProxyConfig;
|
||||||
use crate::tls::MaybeTlsStream;
|
use crate::tls::MaybeTlsStream;
|
||||||
|
@ -22,7 +22,7 @@ use tokio::sync::mpsc;
|
|||||||
use futures::future::FutureExt;
|
use futures::future::FutureExt;
|
||||||
use futures::ready;
|
use futures::ready;
|
||||||
|
|
||||||
use proxmox::sys::error::io_err_other;
|
use proxmox_sys::error::io_err_other;
|
||||||
use proxmox_io::ByteBuffer;
|
use proxmox_io::ByteBuffer;
|
||||||
|
|
||||||
// see RFC6455 section 7.4.1
|
// see RFC6455 section 7.4.1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "proxmox-shared-memory"
|
name = "proxmox-shared-memory"
|
||||||
version = "0.1.1"
|
version = "0.2.0"
|
||||||
authors = ["Dietmar Maurer <dietmar@proxmox.com>"]
|
authors = ["Dietmar Maurer <dietmar@proxmox.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "AGPL-3"
|
license = "AGPL-3"
|
||||||
@ -13,4 +13,4 @@ anyhow = "1.0"
|
|||||||
libc = "0.2.107"
|
libc = "0.2.107"
|
||||||
nix = "0.19.1"
|
nix = "0.19.1"
|
||||||
|
|
||||||
proxmox = { path = "../proxmox", version = "0.15", default-features = false }
|
proxmox-sys = { path = "../proxmox-sys", version = "0.2.0" }
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
rust-proxmox-shared-memory (0.2.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* rebuild using proxmox-sys 0.2.0
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Tue, 23 Nov 2021 12:16:36 +0100
|
||||||
|
|
||||||
rust-proxmox-shared-memory (0.1.1-1) unstable; urgency=medium
|
rust-proxmox-shared-memory (0.1.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
* depend on libc 0.2.107
|
* depend on libc 0.2.107
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
Source: rust-proxmox-shared-memory
|
|
||||||
Section: rust
|
|
||||||
Priority: optional
|
|
||||||
Build-Depends: debhelper (>= 12),
|
|
||||||
dh-cargo (>= 24),
|
|
||||||
cargo:native <!nocheck>,
|
|
||||||
rustc:native <!nocheck>,
|
|
||||||
libstd-rust-dev <!nocheck>,
|
|
||||||
librust-anyhow-1+default-dev <!nocheck>,
|
|
||||||
librust-libc-0.2+default-dev (>= 0.2.107-~~) <!nocheck>,
|
|
||||||
librust-nix-0.19+default-dev (>= 0.19.1-~~) <!nocheck>,
|
|
||||||
librust-proxmox-0.15-dev <!nocheck>
|
|
||||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
|
||||||
Standards-Version: 4.5.1
|
|
||||||
Vcs-Git: git://git.proxmox.com/git/proxmox.git
|
|
||||||
Vcs-Browser: https://git.proxmox.com/?p=proxmox.git
|
|
||||||
Rules-Requires-Root: no
|
|
||||||
|
|
||||||
Package: librust-proxmox-shared-memory-dev
|
|
||||||
Architecture: any
|
|
||||||
Multi-Arch: same
|
|
||||||
Depends:
|
|
||||||
${misc:Depends},
|
|
||||||
librust-anyhow-1+default-dev,
|
|
||||||
librust-libc-0.2+default-dev (>= 0.2.107-~~),
|
|
||||||
librust-nix-0.19+default-dev (>= 0.19.1-~~),
|
|
||||||
librust-proxmox-0.15-dev
|
|
||||||
Provides:
|
|
||||||
librust-proxmox-shared-memory+default-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-shared-memory-0-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-shared-memory-0+default-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-shared-memory-0.1-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-shared-memory-0.1+default-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-shared-memory-0.1.1-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-shared-memory-0.1.1+default-dev (= ${binary:Version})
|
|
||||||
Description: Shared memory helpers and shared mutex implementation - Rust source code
|
|
||||||
This package contains the source for the Rust proxmox-shared-memory crate,
|
|
||||||
packaged by debcargo for use with cargo and dh-cargo.
|
|
@ -12,9 +12,9 @@ use nix::sys::mman::{MapFlags, ProtFlags};
|
|||||||
use nix::sys::stat::Mode;
|
use nix::sys::stat::Mode;
|
||||||
use nix::errno::Errno;
|
use nix::errno::Errno;
|
||||||
|
|
||||||
use proxmox::tools::fs::CreateOptions;
|
use proxmox_sys::fs::CreateOptions;
|
||||||
use proxmox::tools::mmap::Mmap;
|
use proxmox_sys::mmap::Mmap;
|
||||||
use proxmox::sys::error::SysError;
|
use proxmox_sys::error::SysError;
|
||||||
|
|
||||||
mod raw_shared_mutex;
|
mod raw_shared_mutex;
|
||||||
|
|
||||||
@ -211,7 +211,7 @@ mod test {
|
|||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use std::sync::atomic::AtomicU64;
|
use std::sync::atomic::AtomicU64;
|
||||||
use std::thread::spawn;
|
use std::thread::spawn;
|
||||||
use proxmox::tools::fs::create_path;
|
use proxmox_sys::fs::create_path;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
|
@ -19,8 +19,6 @@ regex = "1.2"
|
|||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
zstd = { version = "0.6", features = [ "bindgen" ] }
|
zstd = { version = "0.6", features = [ "bindgen" ] }
|
||||||
|
|
||||||
proxmox = { path = "../proxmox", version = "0.15", default-features = false }
|
|
||||||
|
|
||||||
# Macro crates:
|
# Macro crates:
|
||||||
proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.1" }
|
proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.1" }
|
||||||
|
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
Source: rust-proxmox-sys
|
|
||||||
Section: rust
|
|
||||||
Priority: optional
|
|
||||||
Build-Depends: debhelper (>= 12),
|
|
||||||
dh-cargo (>= 24),
|
|
||||||
cargo:native <!nocheck>,
|
|
||||||
rustc:native <!nocheck>,
|
|
||||||
libstd-rust-dev <!nocheck>,
|
|
||||||
librust-anyhow-1+default-dev <!nocheck>,
|
|
||||||
librust-base64-0.13+default-dev <!nocheck>,
|
|
||||||
librust-libc-0.2+default-dev (>= 0.2.107-~~) <!nocheck>,
|
|
||||||
librust-log-0.4+default-dev <!nocheck>,
|
|
||||||
librust-nix-0.19+default-dev (>= 0.19.1-~~) <!nocheck>,
|
|
||||||
librust-proxmox-0.15-dev <!nocheck>,
|
|
||||||
librust-zstd-0.6+bindgen-dev <!nocheck>,
|
|
||||||
librust-zstd-0.6+default-dev <!nocheck>,
|
|
||||||
uuid-dev <!nocheck>
|
|
||||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
|
||||||
Standards-Version: 4.5.1
|
|
||||||
Vcs-Git: git://git.proxmox.com/git/proxmox.git
|
|
||||||
Vcs-Browser: https://git.proxmox.com/?p=proxmox.git
|
|
||||||
Rules-Requires-Root: no
|
|
||||||
|
|
||||||
Package: librust-proxmox-sys-dev
|
|
||||||
Architecture: any
|
|
||||||
Multi-Arch: same
|
|
||||||
Depends:
|
|
||||||
${misc:Depends},
|
|
||||||
librust-anyhow-1+default-dev,
|
|
||||||
librust-base64-0.13+default-dev,
|
|
||||||
librust-libc-0.2+default-dev (>= 0.2.107-~~),
|
|
||||||
librust-log-0.4+default-dev,
|
|
||||||
librust-nix-0.19+default-dev (>= 0.19.1-~~),
|
|
||||||
librust-proxmox-0.15-dev,
|
|
||||||
librust-zstd-0.6+bindgen-dev,
|
|
||||||
librust-zstd-0.6+default-dev,
|
|
||||||
uuid-dev
|
|
||||||
Provides:
|
|
||||||
librust-proxmox-sys+default-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-sys-0-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-sys-0+default-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-sys-0.1-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-sys-0.1+default-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-sys-0.1.2-dev (= ${binary:Version}),
|
|
||||||
librust-proxmox-sys-0.1.2+default-dev (= ${binary:Version})
|
|
||||||
Description: System tools (using nix) - Rust source code
|
|
||||||
This package contains the source for the Rust proxmox-sys crate, packaged by
|
|
||||||
debcargo for use with cargo and dh-cargo.
|
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "proxmox"
|
name = "proxmox"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
version = "0.15.4"
|
version = "0.16.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Dietmar Maurer <dietmar@proxmox.com>",
|
"Dietmar Maurer <dietmar@proxmox.com>",
|
||||||
"Wolfgang Bumiller <w.bumiller@proxmox.com>",
|
"Wolfgang Bumiller <w.bumiller@proxmox.com>",
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
rust-proxmox (0.16.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* moved most code to proxmox-sys
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Tue, 23 Nov 2021 11:32:39 +0100
|
||||||
|
|
||||||
rust-proxmox (0.15.4-1) stable; urgency=medium
|
rust-proxmox (0.15.4-1) stable; urgency=medium
|
||||||
|
|
||||||
* rebuild with base64 0.13
|
* rebuild with base64 0.13
|
||||||
|
@ -58,10 +58,10 @@ Provides:
|
|||||||
librust-proxmox+default-dev (= ${binary:Version}),
|
librust-proxmox+default-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0-dev (= ${binary:Version}),
|
librust-proxmox-0-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0+default-dev (= ${binary:Version}),
|
librust-proxmox-0+default-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15-dev (= ${binary:Version}),
|
librust-proxmox-0.16-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15+default-dev (= ${binary:Version}),
|
librust-proxmox-0.16+default-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15.4-dev (= ${binary:Version}),
|
librust-proxmox-0.16.0-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15.4+default-dev (= ${binary:Version})
|
librust-proxmox-0.16.0+default-dev (= ${binary:Version})
|
||||||
Description: Generic Proxmox library - Rust source code
|
Description: Generic Proxmox library - Rust source code
|
||||||
This package contains the source for the Rust proxmox crate, packaged by
|
This package contains the source for the Rust proxmox crate, packaged by
|
||||||
debcargo for use with cargo and dh-cargo.
|
debcargo for use with cargo and dh-cargo.
|
||||||
@ -77,10 +77,10 @@ Provides:
|
|||||||
librust-proxmox+sortable-macro-dev (= ${binary:Version}),
|
librust-proxmox+sortable-macro-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0+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+sortable-macro-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15+proxmox-sortable-macro-dev (= ${binary:Version}),
|
librust-proxmox-0.16+proxmox-sortable-macro-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15+sortable-macro-dev (= ${binary:Version}),
|
librust-proxmox-0.16+sortable-macro-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15.4+proxmox-sortable-macro-dev (= ${binary:Version}),
|
librust-proxmox-0.16.0+proxmox-sortable-macro-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15.4+sortable-macro-dev (= ${binary:Version})
|
librust-proxmox-0.16.0+sortable-macro-dev (= ${binary:Version})
|
||||||
Description: Generic Proxmox library - feature "proxmox-sortable-macro" and 1 more
|
Description: Generic Proxmox library - feature "proxmox-sortable-macro" and 1 more
|
||||||
This metapackage enables feature "proxmox-sortable-macro" for the Rust proxmox
|
This metapackage enables feature "proxmox-sortable-macro" for the Rust proxmox
|
||||||
crate, by pulling in any additional dependencies needed by that feature.
|
crate, by pulling in any additional dependencies needed by that feature.
|
||||||
@ -96,8 +96,8 @@ Depends:
|
|||||||
librust-tokio-1+default-dev
|
librust-tokio-1+default-dev
|
||||||
Provides:
|
Provides:
|
||||||
librust-proxmox-0+tokio-dev (= ${binary:Version}),
|
librust-proxmox-0+tokio-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15+tokio-dev (= ${binary:Version}),
|
librust-proxmox-0.16+tokio-dev (= ${binary:Version}),
|
||||||
librust-proxmox-0.15.4+tokio-dev (= ${binary:Version})
|
librust-proxmox-0.16.0+tokio-dev (= ${binary:Version})
|
||||||
Description: Generic Proxmox library - feature "tokio"
|
Description: Generic Proxmox library - feature "tokio"
|
||||||
This metapackage enables feature "tokio" for the Rust proxmox crate, by pulling
|
This metapackage enables feature "tokio" for the Rust proxmox crate, by pulling
|
||||||
in any additional dependencies needed by that feature.
|
in any additional dependencies needed by that feature.
|
||||||
|
Loading…
Reference in New Issue
Block a user