Cargo Features
[dependencies]
ensemble = { version = "0.0.5", default-features = false, features = ["schema", "mysql", "postgres", "json", "uuid", "rustls", "native-tls", "validator"] }
- default = json, rustls, schema, uuid
-
These default features are set whenever
ensemble
is added without
somewhere in the dependency tree.default-features = false - schema default
-
Enables schemars
- mysql
-
Enables rbdc-mysql
Affects
connection::setup
,migrations::schema
… - postgres
-
Enables rbdc-pg
Affects
connection::setup
,migrations::schema
… - json default
-
Enables json of ensemble_derive
Affects
ensemble::Model.json
,ensemble::Collection.json
… - uuid default
- rustls default
-
Enables tls-rustls of optional rbdc-mysql and optional rbdc-pg
- native-tls
-
Enables tls-native-tls of optional rbdc-mysql and optional rbdc-pg
Features from optional dependencies
- validator implicit feature
-
Enables validator ^0.16.1