Cargo Features
[dependencies]
reflectapi = { version = "0.13.5", default-features = false, features = ["builder", "msgpack", "uuid", "chrono", "url", "rust_decimal", "axum", "codegen", "rt", "glob", "json", "indexmap", "reqwest", "reqwest-middleware"] }
- default = glob
-
The
glob
feature is set by default wheneverreflectapi
is added without
somewhere in the dependency tree.default-features = false - 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 ^0.7.4
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
- indexmap
-
Enables indexmap
- reqwest
-
Enables reqwest
optional 3rd party dependencies for client runtime
- reqwest-middleware
-
Enables reqwest-middleware