Cargo Features
[dependencies]
sea-orm = { version = "1.1.1", default-features = false, features = ["debug-print", "macros", "proxy", "with-json", "with-chrono", "with-rust_decimal", "with-bigdecimal", "with-uuid", "with-time", "postgres-array", "mock", "json-array", "sea-orm-internal", "sqlx-dep", "sqlx-all", "sqlx-mysql", "sqlx-postgres", "sqlx-sqlite", "sqlite-use-returning-for-3_35", "runtime-async-std", "runtime-async-std-native-tls", "runtime-async-std-rustls", "runtime-actix", "runtime-actix-native-tls", "runtime-actix-rustls", "runtime-tokio", "runtime-tokio-native-tls", "runtime-tokio-rustls", "tests-cfg", "seaography"] }
- default = macros, with-bigdecimal, with-chrono, with-json, with-rust_decimal, with-time, with-uuid
-
These default features are set whenever
sea-orm
is added without
somewhere in the dependency tree.default-features = false - debug-print
- macros default
-
Enables derive of sea-orm-macros
Affects
sea-orm::tests_cfg
… - proxy = serde_json
- with-json default = serde_json
-
Enables with-json of sea-query and optional sea-query-binder, serde of optional time and optional uuid, serde of optional bigdecimal, optional chrono, and optional rust_decimal and json of optional sqlx
sqlx:
types
Affects
active_model::ActiveModelTrait.set_from_json
,active_model::ActiveModelTrait.from_json
,query::TryGetableFromJson
… - with-chrono default = chrono
-
Enables chrono of optional sqlx, with-chrono of sea-query and optional sea-query-binder
Affects
prelude::DateTimeWithTimeZone
,prelude::DateTimeUtc
,prelude::DateTimeLocal
,prelude::ChronoDateTimeWithTimeZone
,prelude::ChronoDateTimeUtc
,prelude::ChronoDateTimeLocal
… - with-rust_decimal default = rust_decimal
-
Enables rust_decimal of optional sqlx, with-rust_decimal of sea-query and optional sea-query-binder
- with-bigdecimal default = bigdecimal
-
Enables bigdecimal of optional sqlx, with-bigdecimal of sea-query and optional sea-query-binder
- with-uuid default = uuid
-
Enables uuid of optional sqlx, with-uuid of sea-query and optional sea-query-binder
- with-time default = time
-
Enables time of optional sqlx, with-time of sea-query and optional sea-query-binder
- postgres-array json-array? sqlx-postgres?
-
Enables postgres-array of sea-orm-macros, sea-query, and optional sea-query-binder
- mock
- json-array = postgres-array
-
this does not actually enable sqlx-postgres, but only a few traits to support array in sea-query
- sea-orm-internal
- sqlx-dep sqlx-mysql? sqlx-postgres? sqlx-sqlite?
- sqlx-all = sqlx-mysql, sqlx-postgres, sqlx-sqlite
- sqlx-mysql sqlx-all? = sqlx-dep
-
Enables sqlx-mysql of sea-query-binder, mysql of sqlx
Affects
query::ColIdx.as_sqlx_mysql_index
… - sqlx-postgres sqlx-all? = postgres-array, sqlx-dep
-
Enables sqlx-postgres of sea-query-binder, postgres of sqlx
Affects
query::ColIdx.as_sqlx_postgres_index
… - sqlx-sqlite sqlx-all? = sqlx-dep
-
Enables sqlx-sqlite of sea-query-binder, sqlite of sqlx
Affects
query::ColIdx.as_sqlx_sqlite_index
… - sqlite-use-returning-for-3_35
- runtime-async-std runtime-async-std-native-tls? runtime-async-std-rustls?
-
Enables runtime-async-std of optional sqlx
sqlx:
Base runtime features without TLS
- runtime-async-std-native-tls = runtime-async-std
-
Enables runtime-async-std-native-tls of optional sqlx
sqlx:
Legacy Runtime + TLS features
- runtime-async-std-rustls = runtime-async-std
-
Enables runtime-async-std-rustls of optional sqlx
- runtime-actix runtime-actix-native-tls? runtime-actix-rustls?
-
Enables runtime-tokio of optional sqlx
- runtime-actix-native-tls = runtime-actix
-
Enables runtime-tokio-native-tls of optional sqlx
- runtime-actix-rustls = runtime-actix
-
Enables runtime-tokio-rustls of optional sqlx
- runtime-tokio runtime-tokio-native-tls? runtime-tokio-rustls?
-
Enables runtime-tokio of optional sqlx
- runtime-tokio-native-tls = runtime-tokio
-
Enables runtime-tokio-native-tls of optional sqlx
- runtime-tokio-rustls = runtime-tokio
-
Enables runtime-tokio-rustls of optional sqlx
- tests-cfg
-
serde:
Provide derive(Serialize, Deserialize) macros.
Affects
sea-orm::tests_cfg
… - seaography
-
Enables seaography of sea-orm-macros
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.