Cargo Features
msqlx-sqlite has no features set by default.
[dependencies]
msqlx-sqlite = { version = "0.9.0-msqlx.1", features = ["any", "json", "offline", "migrate", "chrono", "time", "uuid", "regexp", "deserialize", "load-extension", "preupdate-hook", "unlock-notify", "bundled", "unbundled", "sqlx-toml", "bigdecimal", "rust_decimal"] }
- any
-
Enables any of msqlx-core
Affects
msqlx-sqlite::any… - json = serde
-
Enables json of msqlx-core
- offline = serde
-
Enables offline of msqlx-core
msqlx-core:
support offline/decoupled building (enables serialization of
Describe) - migrate
-
Enables migrate of msqlx-core
- chrono
-
Type integrations
Enables chrono, chrono of msqlx-core
- time
-
Enables time, time of msqlx-core
- uuid
-
Enables uuid, uuid of msqlx-core
- regexp
-
Enables regex
- deserialize
-
Conditionally compiled SQLite features
- load-extension
- preupdate-hook
-
Enables preupdate_hook of libsqlite3-sys >=0.30.0, <0.36.0
libsqlite3-sys:
SQLITE_ENABLE_PREUPDATE_HOOK
- unlock-notify
-
Enables unlock_notify of libsqlite3-sys >=0.30.0, <0.36.0
libsqlite3-sys:
SQLITE_ENABLE_UNLOCK_NOTIFY
- bundled
-
Enables bundled of libsqlite3-sys >=0.30.0, <0.36.0
libsqlite3-sys:
Use bundled SQLite sources (instead of the one provided by your OS / distribution)
- unbundled
-
Enables buildtime_bindgen of libsqlite3-sys >=0.30.0, <0.36.0
- sqlx-toml
-
Enables sqlx-toml of msqlx-core
msqlx-core:
Enable parsing of
sqlx.toml. For simplicity, theconfigmodule is always enabled, but disabling this disables theserdederives and thetomlcrate, which is a good bit less code to compile if the feature isn't being used. - bigdecimal
-
Note: currently unused, only to satisfy "unexpected
cfgcondition" lint - rust_decimal
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.