#codec #string #id #decoding #byte #wynntils

idmangler-lib

Library for encoding and decoding Wynntils id strings

6 releases (breaking)

new 0.5.0 Jan 6, 2025
0.4.0 Nov 5, 2024
0.3.0 Sep 11, 2024
0.2.0 Sep 10, 2024
0.1.1 Sep 10, 2024

#1600 in Encoding

Download history 29/week @ 2024-09-18 15/week @ 2024-09-25 3/week @ 2024-10-02 45/week @ 2024-10-30 79/week @ 2024-11-06 5/week @ 2024-11-13 4/week @ 2024-11-20 1/week @ 2024-12-04 1/week @ 2024-12-11 14/week @ 2024-12-25 102/week @ 2025-01-01

118 downloads per month
Used in idmangler-cli

LGPL-3.0

100KB
2.5K SLoC

idmangler-lib

A library for encoding and decoding Wynntils id strings. Created for the new version of the idmangler project.

Project status

This project is currently still under development but everything required for basic usage is in place.

No guarantees are made for project stability before the 1.0 version.

License

idmangler-lib is based on code from Wynntils and is such licensed under the same GNU Lesser General Public License v3.0


lib.rs:

This library provides an implementation of the wynntils idstring format. This format is used by the Wynntils mod to encode items for sharing them.

For working with items the item module provides tools for decoding and encoding items from and to strings.

Alternatively the block module provides tools for working with the blocks that make up the idstring format.

Typically idstrings are represented using an encoded string using unicode private use area characters, however the contents of an idstring may also be represented as bytes. Conversion between the two is provided by the encoding::string module.

Dependencies

~265–780KB
~18K SLoC