Skip to content

Reference for converting between various string and byte types in Rust

Notifications You must be signed in to change notification settings

nicholasbishop/rust-conversions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Reference for converting between various string and byte types in Rust

Topics

Resources

Stars

Watchers

Forks