Cargo Features

validated_struct has no features set by default.

[dependencies]
validated_struct = { version = "2.1.0", features = ["json_get", "json5"] }
json_get = serde_json

Enables serde_json of validated_struct_macros

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.

json5 implicit feature

Enables json5

json5:

A Rust JSON5 serializer and deserializer which speaks Serde

Affects validated_struct::ValidatedMap.insert_json5

serde_json json_get?

Affects validated_struct::ValidatedMap.get_json