Amazon Ion Rust
A Rust implementation of the Amazon Ion data format.
Example
For more information, please see our official documentation.
use ;
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-ion-hash
, an implementation of Ion Hash.experimental-reader
, a streaming reader API.experimental-writer
, a streaming writer API.
Features that are defined in Cargo.toml
but not listed above have not been thoroughly tested.
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: