This crate has two targets, a library and a binary (both named slicec).
The slicec library contains all the code for parsing and validating Slice definitions, taking either strings or files,
and converting them into a typed AST. It also exposes APIs for traversing and searching this AST, as well as retrieving
any warnings / errors discovered in the parsed Slice definitions.
Crates can include the slicec library by listing it as a dependency:
slicec = "0.3.3"The slicec binary is a command-line tool which accepts Slice files (in addition to other flags), parses them into an
AST using the library, then writes a Slice-encoded version of the AST to stdout, for other tools to consume.
The slicec binary can be installed with:
cargo install slicecIt can also be run directly from source with:
cargo run