Cargo Features

[dependencies]
apistos-schemars = { version = "1.0.0-alpha.2", default-features = false, features = ["derive", "preserve_order", "raw_value", "ui_test", "arrayvec07", "bigdecimal04", "bytes1", "chrono04", "either1", "enumset1", "indexmap2", "ipnetwork", "rust_decimal1", "semver1", "smallvec1", "smol_str02", "url2", "uuid1"] }
default = derive

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

derive default = schemars_derive
preserve_order

Enables preserve_order of serde_json

serde_json:

Make serde_json::Map use a representation which maintains insertion order.
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.

raw_value

Enables raw_value of serde_json

serde_json:

Provide a RawValue type that can hold unprocessed JSON during deserialization.

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 apistos-schemars_derive

arrayvec07 implicit feature

Enables arrayvec

optional dependencies

bigdecimal04 implicit feature

Enables bigdecimal

bigdecimal:

Arbitrary precision decimal numbers

bytes1 implicit feature

Enables bytes

bytes:

Types and traits for working with bytes

chrono04 implicit feature

Enables chrono

chrono:

Date and time library for Rust

either1 implicit feature

Enables either

either:

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

enumset1 implicit feature

Enables enumset

enumset:

A library for creating compact sets of enums

indexmap2 implicit feature

Enables indexmap

indexmap:

A hash table with consistent order and fast iteration

ipnetwork implicit feature

Enables ipnetwork

ipnetwork:

A library to work with IP CIDRs in Rust

rust_decimal1 implicit feature

Enables rust_decimal

semver1 implicit feature

Enables semver

semver:

Parser and evaluator for Cargo's flavor of Semantic Versioning

smallvec1 implicit feature

Enables smallvec

smallvec:

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

smol_str02 implicit feature

Enables smol_str ^0.2.1

smol_str:

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

url2 implicit feature

Enables url

url:

URL library for Rust, based on the WHATWG URL Standard

uuid1 implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs