raw_string/
lib.rs

1//! `RawString` and `RawStr` are the equivalents of `String` and
2//! `str`, or `OsString` and `OsStr`, but without any guarantees
3//! about the encoding.
4//!
5//! They are useful in all places where you would otherwise use
6//! `Vec<u8>` and `[u8]` to represent your strings.
7
8// TODO: Remove this once docs.rs supports rust stable 1.28 or later.
9#![cfg_attr(feature="old-nightly",feature(slice_get_slice))]
10
11mod str;
12mod string;
13
14pub use str::*;
15pub use string::*;
16
17#[cfg(unix)]
18pub mod unix;