Cargo Features
KitX has no features set by default.
[dependencies]
kitx = { version = "0.0.11", features = ["sqlite", "mysql", "postgres", "uuid", "rust_decimal"] }
- sqlite = chrono, field_access, num_cpus, serde, serde_json, sqlx, tokio
-
Enables chrono, json, sqlite and uuid of sqlx
Affects
kitx::sqlite
,common::query
,common::operations
,kitx::builders
,utils::query
… - mysql = chrono, field_access, num_cpus, serde, serde_json, sqlx, tokio
-
Enables chrono, json, mysql, rust_decimal and uuid of sqlx
Affects
kitx::mysql
,common::query
,common::operations
,kitx::builders
,utils::query
… - postgres = chrono, field_access, num_cpus, serde, serde_json, sqlx, tokio
-
Enables chrono, ipnetwork, json, mac_address, postgres, rust_decimal and uuid of sqlx
Affects
kitx::postgres
,common::query
,common::operations
,kitx::builders
,utils::query
…
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.
- sqlx mysql? postgres? sqlite?
- tokio mysql? postgres? sqlite?
- serde mysql? postgres? sqlite?
- serde_json mysql? postgres? sqlite?
- chrono mysql? postgres? sqlite?
- field_access mysql? postgres? sqlite?
- uuid implicit feature
-
Enables uuid
uuid:
A library to generate and parse UUIDs
- rust_decimal implicit feature
- num_cpus mysql? postgres? sqlite?