Bug#1142263: ITP: rust-base-encode -- Encode and decode data to any base.

Juan Manuel Méndez Rey <[email protected]>
Newsgroups gmane.linux.debian.devel.wnpp
Message-ID <b61974ec8f6116a1a24c6fea829d01b6__39829.8587928124$1784244330$gmane$org@proton.me>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.