netencode/lib-rust/workspace-template

Netencode Rust Playground

Welcome to your netencode experimentation workspace! 🦀

Getting Started

Run the examples:

cargo run --example basic      # Basic type examples
cargo run --example advanced   # Complex structures
cargo run --example playground # Your experiments

Run tests:

cargo test

API Quick Reference

Basic Types

Composite Types

Encoding

let value = T::text("hello");
let encoded = value.encode();  // Returns Vec<u8>
let as_string = String::from_utf8_lossy(&encoded);

Learn More

Happy coding! 🚀