weakauras-codec
This library provides routines for decoding and encoding WeakAuras-compatible strings.
Decoding example
This is how you can use the library to decode WeakAuras-compatible strings.
use ;
Encoding example
This is how you can use the library to encode data as a WeakAuras-compatible string.
use Error;
use ;
Crate features
- legacy-strings-decoding - Enable decoding of legacy WeakAuras-compatible strings. Uses a GPL-licensed library. Disabled by default.
- gpl-dependencies - Enable GPL-licensed dependencies. Currently, it enables the
legacy-strings-decodingfeature. Disabled by default. - flate2-rust-backend - Enable the
rust-backendfeature inflate2. Enabled by default. - flate2-zlib-rs - Enable the
zlib-rsfeature inflate2. Disabled by default. - flate2-zlib - Enable the
zlibfeature inflate2. Disabled by default. - flate2-zlib-ng - Enable the
zlib-ngfeature inflate2. Disabled by default. - flate2-zlib-ng-compat - Enable the
zlib-ng-compatfeature inflate2. Disabled by default. - flate2-cloudflare-zlib - Enable the
cloudflare_zlibfeature inflate2. Disabled by default. - lua-value-arbitrary - Implement
arbitrary::ArbitraryforLuaValue. Disabled by default. - lua-value-fnv - Use
fnvinstead ofBTreeMapas the implementation ofLuaValue::Map. Disabled by default. - lua-value-indexmap - Use
indexmapinstead ofBTreeMapas the implementation ofLuaValue::Map. Disabled by default. - serde - Allow serializing and deserializing
LuaValueusingserde. Disabled by default.