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"]
22mod generated;
23
24pub use decode::{Decode, decode_enum_head};
25pub use encode::{Encode, ReversePointer, encode_enum_head_padding, encode_enum_head_tag};
26pub use error::{Error, Result};
27pub use layout::Layout;
28pub use reader::{ArrayReader, ReaderExt, TupleReader};
29pub use value::{Value, ValueVisitor};
30pub use visitor::Visitor;
31
32#[cfg(feature = "std")]
33pub use printer::print_source;
34pub use shape::{Shape, get_shape};
35#[cfg(feature = "std")]
36pub use tabular::{TableCell, TabularReader};
37
38pub use bytes;
39
40#[cfg(not(feature = "std"))]
41extern crate alloc;
42
43#[cfg(feature = "std")]
44pub use ::std::vec;
45#[cfg(not(feature = "std"))]
46pub use alloc::vec;
47
48#[cfg(feature = "std")]
49pub use ::std::string;
50#[cfg(not(feature = "std"))]
51pub use alloc::string;
52
53#[cfg(feature = "std")]
54use ::std::borrow;
55#[cfg(not(feature = "std"))]
56use alloc::borrow;
57
58#[cfg(feature = "std")]
59pub use ::std::boxed;
60#[cfg(not(feature = "std"))]
61pub use alloc::boxed;
62
63#[cfg(feature = "std")]
64pub use ::std::collections;
65#[cfg(not(feature = "std"))]
66pub use alloc::collections;