Package: wnpp
Severity: wishlist
Owner: Juan Manuel Méndez Rey <[email protected]>
X-Debbugs-CC: [email protected]

* Package name    : rust-base-encode
  Version         : 0.3.1
  Upstream Contact: Janis Pritzkau <[email protected]>
* URL             : https://github.com/janispritzkau/rust-base-encode
* License         : Expat
  Programming Lang: Rust
  Description     : Encode and decode data to any base.

base-encode is a small, zero-dependency Rust crate that encodes and decodes
byte data to and from an arbitrary base in the range 2 to 256. It preserves
leading zeros and provides both byte-slice functions (encode / decode) and
string helpers (from_str / to_string) that map digits through a caller-supplied
alphabet.

This package is needed as a build dependency for the node-rollup v4 update
(Debian bug #1092721). Rollup's bundled Rust crate rust/xxhash uses
base-encode unconditionally (src/lib.rs: `use base_encode::to_string;`), and
that crate is compiled into the WASM parser during the Debian build. Packaging
base-encode allows it to be de-vendored from the node-rollup source package.

The package will be maintained within the Debian Rust Team at:
https://salsa.debian.org/rust-team/debcargo-conf

Reply via email to