kfl/
lib.rs

1#![no_std]
2#![warn(missing_docs)]
3#![warn(missing_debug_implementations)]
4extern crate alloc;
5
6mod convert;
7mod grammar;
8mod macros;
9mod wrappers;
10
11pub mod ast;
12pub mod context;
13pub mod decode;
14pub mod errors;
15pub mod print;
16pub mod span;
17pub mod traits;
18
19#[cfg(feature = "derive")]
20pub use kfl_derive::{Decode, DecodePartial, DecodeScalar};
21#[cfg(feature = "derive")]
22pub use kfl_derive::{Encode, EncodePartial, EncodeScalar};
23
24pub use errors::Error;
25pub use traits::{Decode, DecodePartial, DecodeScalar};
26pub use traits::{Encode, EncodePartial, EncodeScalar};
27pub use wrappers::{decode, decode_children, decode_with_context, parse};
28pub use wrappers::{encode, encode_children, print};