1// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
2// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
4// option. This file may not be copied, modified, or distributed
5// except according to those terms.
6
7#![cfg_attr(all(test, feature = "bench"), feature(test))]
8//#![cfg_attr(test, deny(warnings))]
9
10#[cfg(feature = "encoding")]
11pub extern crate encoding;
12#[cfg(feature = "encoding_rs")]
13pub extern crate encoding_rs;
14#[cfg(all(test, feature = "bench"))]
15extern crate test;
16#[macro_use]
17extern crate mac;
18extern crate futf;
19extern crate utf8;
20
21pub use fmt::Format;
22pub use stream::TendrilSink;
23pub use tendril::{Atomic, Atomicity, NonAtomic, SendTendril};
24pub use tendril::{ByteTendril, ReadExt, SliceExt, StrTendril, SubtendrilError, Tendril};
25pub use utf8_decode::IncompleteUtf8;
26
27pub mod fmt;
28pub mod stream;
29
30mod buf32;
31mod tendril;
32mod utf8_decode;
33mod util;
34
35static OFLOW: &'static str = "tendril: overflow in buffer arithmetic";
36