Cargo Features

ion-rs has no features set by default.

[dependencies]
ion-rs = { version = "1.0.0-rc.9", features = ["experimental-ion-hash", "experimental", "experimental-ion-1-1", "experimental-reader-writer", "experimental-tooling-apis", "experimental-serde", "sha2"] }
experimental-ion-hash = digest, experimental-reader-writer

Affects ion-rs::ion_hash

experimental = experimental-ion-1-1, experimental-reader-writer, experimental-serde, experimental-tooling-apis

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-ion-1-1 experimental? = experimental-reader-writer

Feature for indicating explicit opt-in to Ion 1.1

Affects ion-rs::v1_1

experimental-reader-writer experimental? experimental-ion-1-1? experimental-ion-hash? experimental-serde?

Access to the streaming Reader and Writer types.
These APIs are functional and well-tested, but are not yet stable.

experimental-tooling-apis experimental?

Access to low-level encoding information. These APIs are not near stabilization.

experimental-serde experimental? = experimental-reader-writer

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

Enables serde and serde_with

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