1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! A Natural Language Structured Document `serde` implementation. The main entrypoints
//! are the `from_str` and `to_string` methods which take deserializable and serializable
//! objects respectively and converts the from and to English. See the
//! [README](https://github.com/RiddleAndCode/nlsd/blob/master/nlsd/README.md) for more information
//! on the specifications.
#![cfg_attr(not(feature = "std"), no_std)]

#[cfg(feature = "std")]
extern crate std as core;

#[macro_use]
extern crate alloc;

mod de;
mod error;
mod helpers;
mod ser;

pub use de::Deserializer;
pub use error::{Error, Result};
pub use helpers::*;
pub use ser::Serializer;