| Crates.io | enc |
| lib.rs | enc |
| version | 0.15.0 |
| created_at | 2019-09-19 01:14:22.881248+00 |
| updated_at | 2025-09-22 17:28:32.185764+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 | 107,667 |
This library aids in processing encoded data.
enc = { version = "0.15.0", features = ["full"] }
full
base-64
hex
percent
var-int
For more features see the Feature Flag 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.