#raw #string #bytes

raw-string

RawStr/RawString are like str/String, but without any guaranteed encoding

13 releases

0.3.5 Jan 10, 2019
0.3.4 Jan 10, 2019
0.3.2 Sep 23, 2018
0.2.4 Sep 9, 2018
0.1.1 Sep 8, 2018

#56 in Text processing

Download history 13/week @ 2018-10-22 4/week @ 2018-10-29 40/week @ 2018-11-05 40/week @ 2018-11-12 20/week @ 2018-11-19 20/week @ 2018-11-26 65/week @ 2018-12-03 59/week @ 2018-12-10 12/week @ 2018-12-17 70/week @ 2018-12-24 14/week @ 2019-01-07 121/week @ 2019-01-14

159 downloads per month

BSD-2-Clause

27KB
782 lines


lib.rs:

RawString and RawStr are the equivalents of String and str, or OsString and OsStr, but without any guarantees about the encoding.

They are useful in all places where you would otherwise use Vec<u8> and [u8] to represent your strings.

No runtime deps