Cargo Features

ion-rs has no features set by default.

[dependencies]
ion-rs = { version = "1.0.0-rc.3", features = ["experimental-ion-hash", "experimental", "experimental-streaming", "experimental-reader", "experimental-writer", "experimental-lazy-reader", "experimental-serde", "sha2"] }
experimental-ion-hash = digest

Affects ion-rs::ion_hash

experimental = experimental-lazy-reader, experimental-reader, experimental-serde, experimental-streaming, experimental-writer

Feature for indicating particularly bleeding edge APIs or functionality in the library.
These are not guaranteed any sort of API stability and may also have non-standard Ion behavior (e.g., draft Ion 1.1 capabilities).

experimental-streaming experimental?

Experimental streaming APIs

Affects ion-rs::thunk, ion-rs::tokens

experimental-reader experimental?

Access to the IonReader trait, its implementations, and the ReaderBuilder. These APIs are functional and well-tested, but are not yet stable.

Affects element::element_stream_reader

experimental-writer experimental?

Access to the IonWriter trait and its implementations. These APIs are functional and well-tested, but are not yet stable.

Affects element::element_stream_writer

experimental-lazy-reader experimental?

A reader API that parks on a top-level value and yields 'lazy' handles to the data contained therein. These lazy handles can be read multiple times, allowing for an inexpensive form of 'rewind' functionality.

Affects writer::WriteConfig, ion-rs::lazy

experimental-serde experimental?

Experimental serde API to serialize and deserialize Ion data into Rust objects using serde crate

Enables serde and serde_with ^2.0

Affects ion-rs::serde

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

digest experimental-ion-hash?

Enables digest ^0.9

sha2 implicit feature

Enables sha2 ^0.9

Affects ion_hash::sha256