Crate kfl

Crate kfl 

Source

Re-exports§

pub use errors::Error;
pub use traits::Decode;
pub use traits::DecodePartial;
pub use traits::DecodeScalar;
pub use traits::Encode;
pub use traits::EncodePartial;
pub use traits::EncodeScalar;

Modules§

ast
Structures that represent abstract syntax tree (AST) of the KDL document
context
Decode support stuff
decode
Used by derive macro.
errors
Error types for the kfl library
print
Display implementation for ast
span
kfl supports to kinds of the span for parsing
traits
Traits used for the library

Macros§

own
Creates Box<str> from &str

Functions§

decode
Parse KDL text and decode it into Rust object
decode_children
Parse KDL text and decode Rust object
decode_with_context
Parse KDL text and decode Rust object providing extra context for the decoder
encode
Encode Rust object and print it into KDL text
encode_children
Parse KDL text and decode Rust object
parse
Parse KDL text and return AST
print
Print ast and return KDL text

Derive Macros§

Decode
DecodePartial
DecodeScalar
Encode
EncodePartial
EncodeScalar