Cargo Features

[dependencies]
reflectapi = { version = "0.9.1", default-features = false, features = ["builder", "msgpack", "uuid", "chrono", "url", "rust_decimal", "axum", "codegen", "rt", "glob", "json", "reqwest"] }
default = glob

The glob feature is set by default whenever reflectapi is added without default-features = false somewhere in the dependency tree.

builder axum? msgpack?

feature for implementing schema builder

Enables bytes, http, mime, and serde_json

serde_json:

optional 3rd party dependencies for implementing schema builder

msgpack = builder

Enables rmp-serde

optional 3rd party dependencies for additional serialization formats

uuid

features for implementing reflect traits for foreigh types

Enables uuid

optional 3rd party dependencies for implementing reflects traits for foreign types

chrono

Enables chrono

url

Enables url

rust_decimal

Enables rust_decimal

axum = builder

features for transforming reflect schema to runnable servers based on dififerent web server frameworks

Enables axum

optional 3rd party dependencies for transforming reflect schema to runnable servers based on dififerent web server frameworks

Affects reflectapi::axum

codegen

feature flag for enabling codegen libraries

Enables anyhow, askama, check_keyword ^0.2.0, indexmap, and serde_json

askama:

optional 3rd party dependencies for enabling codegen

Affects reflectapi::codegen

rt

Enables bytes, http, serde_json, and url

Affects reflectapi::rt

glob default

Enables glob of reflectapi-schema

json

Enables serde_json

Features from optional dependencies

reqwest implicit feature

Enables reqwest

optional 3rd party dependencies for client runtime