#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

#10 in #str

Download history 5/week @ 2018-10-09 7/week @ 2018-10-16 3/week @ 2018-10-23 1/week @ 2018-10-30 9/week @ 2018-11-06 3/week @ 2018-11-13 4/week @ 2018-11-20 2/week @ 2018-11-27 3/week @ 2018-12-04 3/week @ 2018-12-11

5 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