Cargo Features
[dependencies]
rorm = { version = "0.6.4", default-features = false, features = ["all-drivers", "postgres-only", "chrono", "time", "uuid", "msgpack", "cli", "tokio", "async-std", "rustls", "native-tls"] }
- default = all-drivers, chrono, time, uuid
-
These default features are set whenever
rorm
is added without
somewhere in the dependency tree.default-features = false - all-drivers default
-
Drivers
Enables mysql, postgres and sqlite of optional rorm-cli and rorm-db
rorm-cli:
rorm-cli exposes interfaces to integrate the cli as library
- postgres-only
-
Enables postgres-only of rorm-db, postgres of optional rorm-cli and bit-vec ~0.6
Bitvec support (postgres-only)
and ipnetwork
Ip network support (postgres-only)
and mac_address
Mac address support (postgres-only)
- chrono default
-
Extensions
Enables chrono
Date and time support
- time default
-
Enables time
- uuid default
-
Enables uuid
Uuid support
- msgpack
-
Enables rmp-serde
MessagePack<T>
support - cli
-
Enables rorm-cli
Affects
rorm::cli
… - tokio
-
Available Runtimes
- async-std
-
rorm-db:
sqlx runtime
- rustls
-
TLS libraries
- native-tls
-
Enables native-tls of rorm-db