#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 3/week @ 2018-10-21 1/week @ 2018-10-28 7/week @ 2018-11-04 5/week @ 2018-11-11 4/week @ 2018-11-18 1/week @ 2018-11-25 2/week @ 2018-12-02 4/week @ 2018-12-09 2/week @ 2018-12-16 2/week @ 2018-12-23 7/week @ 2018-12-30 3/week @ 2019-01-13

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