| Crates.io | enc |
| lib.rs | enc |
| version | 0.18.0-rc.3 |
| created_at | 2019-09-19 01:14:22.881248+00 |
| updated_at | 2026-01-16 13:13:37.58737+00 |
| description | This library aids in processing encoded data. |
| homepage | https://github.com/nikdeapen/enc |
| repository | https://github.com/nikdeapen/enc |
| max_upload_size | |
| id | 165843 |
| size | 114,019 |
This library aids in processing encoded data.
enc = { version = "0.18.0-rc.3", features = ["full"] }
full
base-64
hex
percent
var-int
For more features see the Crate Docs.
This crate has no dependencies.
There are separate traits for handling encoded data and encoded values.
The src/data folder holds the traits: Encoder, StringEncoder, Decoder and Validator. These traits provide an
interface for encoders that operate on byte slices, such as base-64 & hex.
The src/value folder holds the traits: EncodedLen, EncodeToSlice, EncodeToWrite etc. These traits provide an
interface for values that know how to encode and decode themselves such as var-int.
faster-hex).serde.async contexts.no-std contexts.unsafe code.