• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/25-Apr-2025-2,5621,435

.cargo-checksum.jsonD25-Apr-2025404 11

Android.bpD25-Apr-2025930 3733

Cargo.tomlD25-Apr-20251.1 KiB4743

LICENSED25-Apr-20251.1 KiB2318

METADATAD25-Apr-2025439 1817

MODULE_LICENSE_MITD25-Apr-20250

README.mdD25-Apr-20252.1 KiB3630

cargo_embargo.jsonD25-Apr-202547 54

README.md

1[![CI Status][ci_badge]][ci]
2[![Coverage Status][coveralls_badge]][coveralls]
3
4This library provides the following common encodings:
5
6| Name                     | Description                                       |
7|--------------------------|---------------------------------------------------|
8| `HEXLOWER`               | lowercase hexadecimal                             |
9| `HEXLOWER_PERMISSIVE`    | lowercase hexadecimal (case-insensitive decoding) |
10| `HEXUPPER`               | uppercase hexadecimal                             |
11| `HEXUPPER_PERMISSIVE`    | uppercase hexadecimal (case-insensitive decoding) |
12| `BASE32`                 | RFC4648 base32                                    |
13| `BASE32_NOPAD`           | RFC4648 base32 (no padding)                       |
14| `BASE32_DNSSEC`          | RFC5155 base32                                    |
15| `BASE32_DNSCURVE`        | DNSCurve base32                                   |
16| `BASE32HEX`              | RFC4648 base32hex                                 |
17| `BASE32HEX_NOPAD`        | RFC4648 base32hex (no padding)                    |
18| `BASE64`                 | RFC4648 base64                                    |
19| `BASE64_NOPAD`           | RFC4648 base64 (no padding)                       |
20| `BASE64_MIME`            | RFC2045-like base64                               |
21| `BASE64_MIME_PERMISSIVE` | RFC2045-like base64 (ignoring trailing bits)      |
22| `BASE64URL`              | RFC4648 base64url                                 |
23| `BASE64URL_NOPAD`        | RFC4648 base64url (no padding)                    |
24
25It also provides the possibility to define custom little-endian ASCII
26base-conversion encodings for bases of size 2, 4, 8, 16, 32, and 64 (for which
27all above use-cases are particular instances).
28
29See the [documentation] for more details.
30
31[ci]: https://github.com/ia0/data-encoding/actions/workflows/ci.yml
32[ci_badge]: https://github.com/ia0/data-encoding/actions/workflows/ci.yml/badge.svg
33[coveralls]: https://coveralls.io/github/ia0/data-encoding?branch=main
34[coveralls_badge]: https://coveralls.io/repos/github/ia0/data-encoding/badge.svg?branch=main
35[documentation]: https://docs.rs/data-encoding
36