Cargo Features

[dependencies]
jscontact = { version = "0.2.1", default-features = false, features = ["typed", "jsonptr"] }
default = jsonptr, typed

The "typed" feature is enabled by default

typed default

The typed feature enables the usage of the @type attributes in jscontact structs This can be disabled with { default-features = false } in your Cargo.toml Disabling this feature reduce the size of the library and the size of the serialized data Note that disabling this feature can break serialization/deserialization of jscontact structs because the @type attributes are used to determine the type of the jscontact struct If the @type attributes are not present, the deserialization can fail for similars jscontact structs see tests/test_localizations.rs for an example

jsonptr default

Enables jsonptr ^0.6.3