nu_plugin_endecode

Crates.ionu_plugin_endecode
lib.rsnu_plugin_endecode
version
sourcesrc
created_at2024-09-02 12:25:29.224554
updated_at2024-12-23 09:43:15.307354
descriptionA plugin with various encoding schemes, from Crockford's base-32 to HTML entity escaping.
homepage
repositoryhttps://github.com/kaathewisegit/nugins
max_upload_size
id1360454
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Andrej KolĨin (KAAtheWiseGit)

documentation

README

More formats for encode/decode

One day, while tinkering with Iroh, I had a need to convert one identifier from Base32 to z-base-32. This sent me down a rabbit hole of all the binary-to-text encoding schemes. It turns out, there are quite a few out there.

This plugin provides the following bases:

  • encode crockford: Crockford's Base32.

  • decode/encode z32: z-base-32, a "human-oriented" base-32 encoding.

  • decode/encode z85: ZeroMQ's Z85, a relaxed version (byte length doesn't have to be the multiple of 4).

  • decode/encode base58: Base58, mostly used by cryptocurrencies.

As well as a number of miscellaneous encodings:

  • decode/encode html: HTML entities escaping and unescaping.

  • decode unicode: converts Unicode strings to plain ASCII using the deunicode library.

Commit count: 105

cargo fmt