External types
Schematic provides schema implementations for third-party crates through a concept known as external types. This functionality is opt-in through Cargo features.
chrono
Requires the
type_chronoCargo feature.
Implements schemas for Date, DateTime, Duration, Days, Months, IsoWeek, NaiveWeek,
NaiveDate, NaiveDateTime, and NaiveTime from the chrono
crate.
indexmap
Requires the
type_indexmapCargo feature.
Implements a schema for IndexMap and IndexSet from the
indexmap crate.
regex
Requires the
type_regexCargo feature.
Implements a schema for Regex from the regex crate.
relative-path
Requires the
type_relative_pathCargo feature.
Implements schemas for RelativePath and RelativePathBuf from the
relative-path crate.
rpkl
Requires the
type_serde_rpklCargo feature.
Implements schemas for Value from the rpkl crate.
rust_decimal
Requires the
type_rust_decimalCargo feature.
Implements a schema for Decimal from the rust_decimal
crate.
semver
Requires the
type_semverCargo feature.
Implements schemas for Version and VersionReq from the semver
crate.
serde_json
Requires the
type_serde_jsonCargo feature.
Implements schemas for Value, Number, and Map from the
serde_json crate.
serde_yaml
Requires the
type_serde_yamlCargo feature.
Implements schemas for Value, Number, and Mapping from the
serde_yaml crate.
serde_yml
Requires the
type_serde_ymlCargo feature.
Implements schemas for Value, Number, and Mapping from the
serde_yml crate.
toml
Requires the
type_serde_tomlCargo feature.
Implements schemas for Value and Map from the toml crate.
url
Requires the
type_urlCargo feature.
Implements a schema for Url from the url crate.
uuid
Requires the
type_uuidCargo feature.
Implements a schema for Uuid from the uuid crate.