This repository is home to the Rust crates for working with Slice, the interface definition language (IDL) used by IceRPC. It is a Cargo workspace made up of the following crates:
| Crate | Description | crates.io |
|---|---|---|
slicec |
The Slice parser and compiler. Ships as both a library and the slicec command-line binary. |
|
slice-codec |
A lightweight, no_std-friendly library for encoding and decoding Slice-encoded data. |
See each crate's README for more specific details.
To build everything in the workspace you'll need Rust and Cargo installed. From the root of the repository, run:
cargo buildTo run the full test suite for every crate in the workspace, run:
cargo testTo generate documentation for every crate in the workspace, run:
cargo doc --no-deps --document-private-items- Slice language documentation: https://docs.icerpc.dev/slice
slicecAPI docs: https://docs.rs/slicecslice-codecAPI docs: https://docs.rs/slice-codec
Licensed under the Apache License, Version 2.0.