Amazon Ion Rust
A Rust implementation of the Amazon Ion data format.
Example
For more information, please see the documentation.
use crate::;
Experimental features
The ion_rs library has a number of features that users can opt into. While the following features
are complete and well-tested, their APIs are not stable and are subject to change without notice
between minor versions of the library.
experimental-reader-writer, a streaming reader and writer API.experimental-tooling-apis, APIs for accessing the encoding-level details of the stream.experimental-serde, aserdeserializer and deserializer.experimental-ion-hash, an implementation of Ion Hash.
Development
This project uses a submodule to pull in Ion Tests and Ion Hash Tests. The easiest way to pull everything in is to clone the repository recursively:
You can also initialize the submodules as follows:
Building the project:
Running all tests for ion-rust:
Our continuous integration builds/tests, checks formatting, builds all API docs including private, and clippy linting, you will likely want to check most of these to avoid having to wait until the CI finds it: