1#![cfg_attr(feature = "no-std", no_std)]
2
3#[cfg(feature = "no-std")]
4extern crate alloc;
5
6#[cfg(all(feature = "std", feature = "no-std"))]
7compile_error!("Enable either `std` or `no-std`, but not both!");
8
9#[cfg(not(any(feature = "std", feature = "no-std")))]
10compile_error!("Either `std` or `no-std` must be enabled!");
11
12mod colors;
13mod error;
14mod format;
15mod functions;
16mod interpreter;
17mod minify;
18mod out;
19mod parser;
20mod renderer;
21mod shape;
22
23pub use error::{Error, Result};
24pub use format::format;
25pub use minify::minify;
26pub use out::*;