Cargo Features

json-syntax has no features set by default.

[dependencies]
json-syntax = { version = "0.12.5", features = ["canonicalize", "serde", "serde_json", "contextual"] }
canonicalize = ryu-js

JSON Canonicalization Scheme (JCS) implementation.

Enables canonical of json-number

serde

Serialization/Deserialization support using serde.

Enables serde, serde of json-number, serde of smallstr

serde_json

Compatibility layer with the serde_json crate.

Enables serde_json, serde_json of json-number

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.

contextual implicit feature

Enables contextual

contextual:

Utility crate to deal with data in context

ryu-js canonicalize?

Enables ryu-js ^0.2.2