Cargo Features
[dependencies]
sea-query = { version = "0.32.0", default-features = false, features = ["backend-mysql", "backend-postgres", "backend-sqlite", "derive", "attr", "hashable-value", "postgres-array", "postgres-vector", "postgres-interval", "thread-safe", "with-chrono", "with-json", "with-rust_decimal", "with-bigdecimal", "with-uuid", "with-time", "with-ipnetwork", "with-mac_address", "tests-cfg", "all-features", "all-types", "option-sqlite-exact-column-type", "postgres-types"] }
- backend-mysql default all-features?
-
STUB
Affects
extension::mysql
… - default = backend-mysql, backend-postgres, backend-sqlite, derive
-
These default features are set whenever
sea-query
is added without
somewhere in the dependency tree.default-features = false - backend-postgres default all-features?
-
Affects
extension::postgres
… - backend-sqlite default all-features?
-
Affects
extension::sqlite
… - derive default all-features? = sea-query-derive
- attr all-features? = sea-query-derive
- hashable-value all-features? = ordered-float
- postgres-array all-types?
-
Affects
value::with_array
… - postgres-vector all-types? = pgvector
-
Affects
value::with_vector
… - postgres-interval all-types?
- thread-safe all-features?
- with-chrono all-types? = chrono
- with-json all-types? = serde_json
-
Affects
value::sea_value_to_json_value
… - with-rust_decimal all-types? = rust_decimal
- with-bigdecimal all-types? = bigdecimal
- with-uuid all-types? = uuid
- with-time all-types? = time
-
Affects
value::time_format
… - with-ipnetwork all-types? = ipnetwork
- with-mac_address all-types? = mac_address
- tests-cfg
-
Affects
sea-query::tests_cfg
… - all-features = all-types, attr, backend-mysql, backend-postgres, backend-sqlite, derive, hashable-value, thread-safe
-
everything except option-*
- all-types all-features? = postgres-array, postgres-interval, postgres-vector, with-bigdecimal, with-chrono, with-ipnetwork, with-json, with-mac_address, with-rust_decimal, with-time, with-uuid
- option-more-parentheses option-sqlite-exact-column-type
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.
- sea-query-derive attr? derive
- serde_json with-json?
- chrono with-chrono?
- postgres-types implicit feature
-
Enables postgres-types
postgres-types:
Conversions between Rust and Postgres values
- pgvector postgres-vector?
- rust_decimal with-rust_decimal?
- bigdecimal with-bigdecimal?
- uuid with-uuid?
- time with-time?
- ipnetwork with-ipnetwork?
- mac_address with-mac_address?
- ordered-float hashable-value?
-
Enables ordered-float ^3.4