/rust-conversions

Reference for converting between various string and byte types in Rust

Primary LanguageRust

rust-conversions

This is a reference for converting between various string and byte types in Rust. For example, how to convert from a CStr to a PathBuf.

Rendered view: https://nicholasbishop.github.io/rust-conversions

Building locally

cargo run

This will generate formatted code in the gen directory and check it with clippy.

The rendered HTML output will be under docs/index.html.