Cargo Features

Javy has no features set by default.

[dependencies]
javy = { version = "3.1.0", features = ["export_alloc_fns", "messagepack", "json"] }
export_alloc_fns
messagepack = rmp-serde, serde-transcode

Affects javy::messagepack

json = serde-transcode, serde_json, simd-json

According to our benchmarks and experiments, the fastest and most efficient JSON implementation comes from:
* Using SIMD JSON for parsing
* Using serde_json for stringifying
This implementation is behind a feature flag, because of the code size implications of enabling by default (due to the extra dependencies) and also because the native implementation is probably fine for most use-cases.

Affects javy::json

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.

serde_json json?
serde-transcode json? messagepack?
rmp-serde messagepack?
simd-json json?