Cargo Features

[dependencies]
sea-orm-sync = { version = "2.0.0-rc.38", default-features = false, features = ["debug-print", "entity-registry", "json-array", "macros", "mariadb-use-returning", "postgres-array", "postgres-vector", "proxy", "rbac", "rusqlite", "schema-sync", "sea-orm-internal", "seaography", "sqlite-no-row-value-before-3_15", "sqlite-use-returning-for-3_35", "sqlx-dep", "sqlx-mysql", "sqlx-postgres", "sqlx-sqlite", "sync", "tests-cfg", "tests-features", "tracing-spans", "with-arrow", "with-bigdecimal", "with-chrono", "with-ipnetwork", "with-json", "with-mac_address", "with-rust_decimal", "with-time", "with-uuid", "mock"] }
default tests-features? = macros, sqlite-use-returning-for-3_35, sync, with-chrono, with-json, with-rust_decimal, with-time, with-uuid

These default features are set whenever sea-orm-sync is added without default-features = false somewhere in the dependency tree.

debug-print
entity-registry = inventory

Enables entity-registry of sea-orm-macros

json-array = postgres-array

this does not actually enable postgres, but only a few traits to support array in sea-query

macros default rbac?

Enables derive of sea-orm-macros

Affects sea-orm-sync::tests_cfg

mariadb-use-returning
postgres-array json-array?

Enables postgres-array of sea-orm-macros, sea-query, and optional sea-query-rusqlite

Affects column::ColumnTrait.eq_any, column::ColumnTrait.ne_all

postgres-vector = pgvector

Enables postgres-vector of sea-query and optional sea-query-rusqlite

proxy

Enables derive of serde

rbac tests-features? = macros

Enables audit of sea-query

sea-query:

STUB

Affects statement::StatementBuilder.audit, sea-orm-sync::rbac

rusqlite

Enables sea-orm of sea-query-rusqlite, rusqlite of sea-schema-sync

schema-sync tests-features? = sea-schema-sync
sea-orm-internal
seaography

Enables seaography of sea-orm-macros

sqlite-no-row-value-before-3_15
sqlite-use-returning-for-3_35 default

Affects sqlite::ensure_returning_version

sqlx-dep
sqlx-mysql

Affects query::ColIdx.as_sqlx_mysql_index

sqlx-postgres

Affects query::ColIdx.as_sqlx_postgres_index

sqlx-sqlite

Affects query::ColIdx.as_sqlx_sqlite_index

sync default

Affects paginator::PaginatorStream

tests-cfg

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects sea-orm-sync::tests_cfg

tests-features = default, rbac, schema-sync, with-arrow, with-bigdecimal, with-ipnetwork
tracing-spans
with-arrow tests-features? = sea-orm-arrow

Enables with-arrow of sea-orm-macros

Affects active_model::ActiveModelTrait.from_arrow, active_model::ActiveModelTrait.to_arrow

with-bigdecimal tests-features? = bigdecimal

Enables with-bigdecimal of optional sea-orm-arrow, sea-query, and optional sea-query-rusqlite

with-chrono default = chrono

Enables with-chrono of optional sea-orm-arrow, sea-query, and optional sea-query-rusqlite

Affects prelude::DateTimeWithTimeZone, prelude::DateTimeUtc, prelude::DateTimeLocal, prelude::ChronoDateTimeWithTimeZone, prelude::ChronoDateTimeUtc, prelude::ChronoUtc, prelude::ChronoDateTimeLocal

with-ipnetwork tests-features? = ipnetwork

Enables with-ipnetwork of sea-query and optional sea-query-rusqlite

with-json default = serde_json

Enables serde of optional time and optional uuid, with-json of sea-orm-macros, sea-query, and optional sea-query-rusqlite, serde of optional bigdecimal, optional chrono, optional mac_address, optional pgvector, and optional rust_decimal

Affects active_model::ActiveModelTrait.set_from_json, active_model::ActiveModelTrait.from_json, column::ColumnTrait.json_key, query::TryGetableFromJson, tests_cfg::serde_rename

with-mac_address = mac_address

Enables with-mac_address of sea-query and optional sea-query-rusqlite

with-rust_decimal default = rust_decimal

Enables with-rust_decimal of optional sea-orm-arrow, sea-query, and optional sea-query-rusqlite

Affects cake_filling_price::Model.price

with-time default = time

Enables with-time of optional sea-orm-arrow, sea-query, and optional sea-query-rusqlite

with-uuid default = uuid

Enables with-uuid of sea-query and optional sea-query-rusqlite

mock

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.

bigdecimal with-bigdecimal?
chrono with-chrono
inventory entity-registry?
ipnetwork with-ipnetwork?

Enables ipnetwork ^0.20

mac_address with-mac_address?
pgvector postgres-vector?
rust_decimal with-rust_decimal
sea-orm-arrow with-arrow?
sea-query-rusqlite rusqlite?
sea-schema-sync rusqlite? schema-sync?
serde_json with-json
time with-time
uuid with-uuid