hexga_encoding 0.0.11-beta.51

Encoding and I/O abstraction for loading, saving, and converting data with custom extensions and media types, with optional Serde integration.
docs.rs failed to build hexga_encoding-0.0.11-beta.51
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

🚧 Warning: Experimental Crate! 🚧

This crate is currently in beta and experimental. It is subject to breaking changes in future releases. Use it at your own risk, and keep in mind that the API may change in future versions.

HexGa Encoding

hexga_encoding provides a unified way to load, save, and encode a value across multiple formats and media types.

It includes support for Data URLs (RFC 2397), binary URLs, MIME-based media typing, and optional Serde integration.

Also export common Serde serializers and deserializers in a unified way (json, ron, ...) in the serde flag is present.

🧩 Example

use hexga_encoding::{ToUrl, FromUrl, Load, Save};

let text = String::from("Hello, world!");
let url = text.to_url("txt").unwrap();
assert!(url.starts_with("data:text/txt;base64,"));

let decoded = String::from_url(&url).unwrap();
assert_eq!(decoded, "Hello, world!");

Main Hexga crate

Check hexga : https://crates.io/crates/hexga if you are interested in a quick start, it regroup multiple hexga crates.