nexcore-codec 0.1.1

Zero-dependency codec library (hex, base64, percent-encoding) for NexCore ecosystem
Documentation
  • Coverage
  • 81.82%
    18 out of 22 items documented3 out of 13 items with examples
  • Size
  • Source code size: 30.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.4 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • nexvigilant/nexcore
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nexvigilant

Zero-dependency codec library for the NexCore ecosystem.

Supply Chain Sovereignty

This crate replaces multiple external encoding/decoding crates:

Module Replaces Spec
[hex] hex crate RFC 4648 §8 (Base16)
[base64] base64 crate RFC 4648 §4/§5 (Base64)

Examples

// Hex encoding
let encoded = nexcore_codec::hex::encode(b"NexVigilant");
assert_eq!(encoded, "4e65785669676964616e74");

// Base64 encoding
let encoded = nexcore_codec::base64::encode(b"Hello");
assert_eq!(encoded, "SGVsbG8=");