1#![cfg_attr(not(feature = "std"), no_std)]
2
3pub mod br;
4mod decode;
5mod encode;
6pub mod error;
7pub mod ident;
8pub mod ir;
9pub mod layout;
10mod printer;
11pub mod reader;
12pub mod rr;
13mod shape;
14#[path = "std_types.rs"]
15pub mod std;
16mod tabular;
17pub mod typed_data;
18mod value;
19mod visitor;
20
21#[path = "project/generated.rs"]
22#[allow(unused_imports)]
23mod generated;
24
25pub use decode::{Decode, decode_enum_head};
26pub use encode::{Encode, ReversePointer, encode_enum_head_padding, encode_enum_head_tag};
27pub use error::{Error, Result};
28pub use layout::Layout;
29pub use reader::{ArrayReader, ReaderExt, TupleReader};
30pub use value::{Value, ValueVisitor};
31pub use visitor::Visitor;
32
33#[cfg(feature = "std")]
34pub use printer::{print_duration, print_source, print_time};
35pub use shape::{Shape, get_shape};
36#[cfg(feature = "std")]
37pub use tabular::{TableCell, TabularReader};
38
39pub use bytes;
40
41#[cfg(not(feature = "std"))]
42extern crate alloc;
43
44#[cfg(feature = "std")]
45pub use ::std::vec;
46#[cfg(not(feature = "std"))]
47pub use alloc::vec;
48
49#[cfg(feature = "std")]
50pub use ::std::string;
51#[cfg(not(feature = "std"))]
52pub use alloc::string;
53
54#[cfg(feature = "std")]
55use ::std::borrow;
56#[cfg(not(feature = "std"))]
57use alloc::borrow;
58
59#[cfg(feature = "std")]
60pub use ::std::boxed;
61#[cfg(not(feature = "std"))]
62pub use alloc::boxed;
63
64#[cfg(feature = "std")]
65pub use ::std::collections;
66#[cfg(not(feature = "std"))]
67pub use alloc::collections;