#string #str #byte #bytes #text

bstr

A string type that is not required to be valid UTF-8

1 unstable release

0.0.1 Oct 9, 2018

#11 in #str

Download history 6/week @ 2018-10-10

2 downloads per month

MIT/Apache

7KB

bstr

This crate provides a BString and BStr types that are conventionally UTF-8 for Rust. They differ from the standard library's String and str types in that they are not required to be valid UTF-8.

Linux build status Windows build status

THIS CRATE IS A WORK IN PROGRESS.

Documentation

https://docs.rs/bstr

Usage

Add this to your Cargo.toml:

[dependencies]
bstr = "0.1"

and this to your crate root:

extern crate bstr;

License

This project is licensed under either of

at your option.

No runtime deps