all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox] compression: make Deflate{De, En}coderBuilder public
@ 2024-07-25  9:22 Maximiliano Sandoval
  2024-07-26  9:44 ` [pbs-devel] applied: " Wolfgang Bumiller
  0 siblings, 1 reply; 2+ messages in thread
From: Maximiliano Sandoval @ 2024-07-25  9:22 UTC (permalink / raw)
  To: pbs-devel; +Cc: Wolfgang Bumiller

These structs are returned by the public method
`Deflate{En,De}coder::builder`.

Reported-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 proxmox-compression/src/deflate/mod.rs | 4 ++--
 proxmox-compression/src/lib.rs         | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/proxmox-compression/src/deflate/mod.rs b/proxmox-compression/src/deflate/mod.rs
index 94faabb3..b86bd274 100644
--- a/proxmox-compression/src/deflate/mod.rs
+++ b/proxmox-compression/src/deflate/mod.rs
@@ -1,8 +1,8 @@
 mod compression;
 mod decompression;
 
-pub use compression::{DeflateEncoder, Level};
-pub use decompression::DeflateDecoder;
+pub use compression::{DeflateEncoder, DeflateEncoderBuilder, Level};
+pub use decompression::{DeflateDecoder, DeflateDecoderBuilder};
 
 const BUFFER_SIZE: usize = 8192;
 
diff --git a/proxmox-compression/src/lib.rs b/proxmox-compression/src/lib.rs
index 817d2af5..af962154 100644
--- a/proxmox-compression/src/lib.rs
+++ b/proxmox-compression/src/lib.rs
@@ -1,6 +1,8 @@
 #![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
 
-pub use deflate::{DeflateDecoder, DeflateEncoder, Level};
+pub use deflate::{
+    DeflateDecoder, DeflateDecoderBuilder, DeflateEncoder, DeflateEncoderBuilder, Level,
+};
 
 mod deflate;
 pub mod tar;
-- 
2.39.2



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pbs-devel] applied: [PATCH proxmox] compression: make Deflate{De, En}coderBuilder public
  2024-07-25  9:22 [pbs-devel] [PATCH proxmox] compression: make Deflate{De, En}coderBuilder public Maximiliano Sandoval
@ 2024-07-26  9:44 ` Wolfgang Bumiller
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bumiller @ 2024-07-26  9:44 UTC (permalink / raw)
  To: Maximiliano Sandoval; +Cc: pbs-devel

applied, thanks


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-26  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-25  9:22 [pbs-devel] [PATCH proxmox] compression: make Deflate{De, En}coderBuilder public Maximiliano Sandoval
2024-07-26  9:44 ` [pbs-devel] applied: " Wolfgang Bumiller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal