clojure_reader/lib.rs
1//! A Clojure reader in Rust.
2//!
3//! This crate tries to match the behavior of Clojure's `tools.reader` as much as possible.
4#![no_std]
5
6extern crate alloc;
7#[cfg(feature = "std")]
8extern crate std;
9
10pub mod edn;
11pub mod error;
12
13#[cfg(feature = "serde")]
14pub use de::from_str;
15#[cfg(feature = "serde")]
16pub use ser::{to_string, to_string_pretty};
17
18#[cfg(feature = "serde")]
19pub mod de;
20#[cfg(feature = "serde")]
21pub mod ser;
22
23#[cfg(feature = "unstable")]
24pub mod parse;
25#[cfg(not(feature = "unstable"))]
26mod parse;