Cargo Features

[dependencies]
architect-schemars = { version = "1.0.0", default-features = false, features = ["derive", "preserve_order", "impl_json_schema", "derive_json_schema", "uuid", "arrayvec", "indexmap1", "ui_test", "chrono", "either", "uuid1", "smallvec", "arrayvec07", "url", "bytes", "rust_decimal", "bigdecimal", "enumset", "smol_str", "netidx-core", "enumflags2"] }
default = derive

The derive feature is set by default whenever architect-schemars is added without default-features = false somewhere in the dependency tree.

derive default impl_json_schema? = schemars_derive
preserve_order = indexmap

Use a different representation for the map type of Schemars.
This allows data to be read into a Value and written back to a JSON string while preserving the order of map keys in the input.

Affects architect-schemars::Map, architect-schemars::MapEntry

impl_json_schema derive_json_schema? = derive
derive_json_schema = impl_json_schema

derive_json_schema will be removed in a later version

uuid = uuid08

uuid feature contains uuid08 only for back-compat - will be changed to include uuid 1.0 instead in a later version

arrayvec = arrayvec05

arrayvec feature without version suffix is included only for back-compat - will be removed in a later version

indexmap1 = indexmap
ui_test

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.

schemars_derive derive

Enables architect-schemars_derive

chrono implicit feature

Enables chrono

chrono:

Date and time library for Rust

indexmap indexmap1? preserve_order?

Enables indexmap ^1.2

either implicit feature

Enables either

either:

The enum Either with variants Left and Right is a general purpose sum type with two cases

uuid08 uuid?

Enables uuid ^0.8

uuid1 implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

smallvec implicit feature

Enables smallvec

smallvec:

'Small vector' optimization: store up to a small number of items on the stack

arrayvec05 arrayvec?

Enables arrayvec ^0.5

arrayvec07 implicit feature

Enables arrayvec

url implicit feature

Enables url

url:

URL library for Rust, based on the WHATWG URL Standard

bytes implicit feature

Enables bytes

bytes:

Types and traits for working with bytes

rust_decimal implicit feature
bigdecimal implicit feature

Enables bigdecimal ^0.3

bigdecimal:

Arbitrary precision decimal numbers

enumset implicit feature

Enables enumset

enumset:

A library for creating compact sets of enums

smol_str implicit feature

Enables smol_str ^0.1.17

smol_str:

small-string optimized string type with O(1) clone

netidx-core implicit feature

Enables netidx-core ^0.22

netidx-core:

netidx core libraries

enumflags2 implicit feature

Enables enumflags2

enumflags2:

Enum-based bit flags