Cargo Features
msqlx-macros-core has no features set by default.
[dependencies]
msqlx-macros-core = { version = "0.9.0-msqlx.1", features = ["derive", "macros", "migrate", "sqlx-toml", "mysql", "postgres", "sqlite", "sqlite-unbundled", "sqlite-load-extension", "json", "bigdecimal", "bit-vec", "chrono", "ipnet", "ipnetwork", "mac_address", "rust_decimal", "time", "uuid", "async-global-executor", "async-std", "smol", "tokio"] }
- derive
-
SQLx features
Affects
msqlx-macros-core::derives… - macros = thiserror
-
Affects
msqlx-macros-core::query,msqlx-macros-core::test_attr,msqlx-macros-core::FOSS_DRIVERS… - migrate
-
Enables migrate of msqlx-core
Affects
msqlx-macros-core::migrate… - sqlx-toml
-
Enables sqlx-toml of msqlx-core and optional msqlx-sqlite
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. - mysql = sqlx-mysql
-
database
- postgres = sqlx-postgres
- sqlite
-
Enables bundled of msqlx-sqlite
- sqlite-unbundled
-
Enables unbundled of msqlx-sqlite
- sqlite-load-extension
-
Enables
drivers.sqlite.unsafe-load-extensionsin sqlx.tomlEnables load-extension of msqlx-sqlite
- json
-
type integrations
Enables json of msqlx-core, optional msqlx-mysql, optional msqlx-postgres, and optional msqlx-sqlite
- bigdecimal
-
Enables bigdecimal of msqlx-core, optional msqlx-mysql, and optional msqlx-postgres
msqlx-mysql:
Type Integration features
- bit-vec
-
Enables bit-vec of msqlx-core and optional msqlx-postgres
- chrono
-
Enables chrono of msqlx-core, optional msqlx-mysql, optional msqlx-postgres, and optional msqlx-sqlite
msqlx-sqlite:
Type integrations
- ipnet
-
Enables ipnet of msqlx-core and optional msqlx-postgres
- ipnetwork
-
Enables ipnetwork of msqlx-core and optional msqlx-postgres
- mac_address
-
Enables mac_address of msqlx-core and optional msqlx-postgres
- rust_decimal
-
Enables rust_decimal of msqlx-core, optional msqlx-mysql, and optional msqlx-postgres
- time
-
Enables time of msqlx-core, optional msqlx-mysql, optional msqlx-postgres, and optional msqlx-sqlite
- uuid
-
Enables uuid of msqlx-core, optional msqlx-mysql, optional msqlx-postgres, and optional msqlx-sqlite
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 mysql?
-
Enables msqlx-mysql
- sqlx-postgres postgres?
-
Enables msqlx-postgres
- sqlx-sqlite sqlite? sqlite-load-extension? sqlite-unbundled?
-
Enables msqlx-sqlite
- async-global-executor implicit feature
-
Enables async-global-executor
async-global-executor:
A global executor built on top of async-executor and async-io
- async-std implicit feature
-
Enables async-std
async-std:
Deprecated in favor of
smol- Async version of the Rust standard library - smol implicit feature
-
Enables smol
smol:
A small and fast async runtime
- tokio implicit feature
-
Enables tokio
tokio:
An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications
- thiserror macros?