[package]
edition = "2024"
rust-version = "1.85.0"
name = "sea-orm-sync"
version = "2.0.0-rc.29"
authors = ["Chris Tsang <chris.2y3@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "🐚 The sync version of SeaORM"
homepage = "https://www.sea-ql.org/SeaORM"
documentation = "https://docs.rs/sea-orm"
readme = "README.md"
keywords = [
"orm",
"mysql",
"postgres",
"sqlite",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SeaQL/sea-orm"
[package.metadata.docs.rs]
features = [
"default",
"mock",
"proxy",
"rbac",
"schema-sync",
"postgres-array",
"postgres-vector",
"sea-orm-internal",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
debug-print = []
default = [
"sync",
"macros",
"with-json",
"with-chrono",
"with-rust_decimal",
"with-uuid",
"with-time",
"sqlite-use-returning-for-3_35",
]
entity-registry = [
"inventory",
"sea-orm-macros/entity-registry",
]
json-array = ["postgres-array"]
macros = ["sea-orm-macros/derive"]
mariadb-use-returning = []
mock = []
postgres-array = [
"sea-query/postgres-array",
"sea-orm-macros/postgres-array",
"sea-query-rusqlite?/postgres-array",
]
postgres-vector = [
"pgvector",
"sea-query/postgres-vector",
"sea-query-rusqlite?/postgres-vector",
]
proxy = [
"serde_json",
"serde/derive",
]
rbac = [
"sea-query/audit",
"macros",
]
rusqlite = [
"sea-query-rusqlite/sea-orm",
"sea-schema-sync/rusqlite",
]
schema-sync = ["sea-schema-sync"]
sea-orm-internal = []
seaography = ["sea-orm-macros/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 = ["serde/derive"]
tests-features = [
"default",
"rbac",
"schema-sync",
"with-bigdecimal",
]
with-bigdecimal = [
"bigdecimal",
"sea-query/with-bigdecimal",
"sea-query-rusqlite?/with-bigdecimal",
]
with-chrono = [
"chrono",
"sea-query/with-chrono",
"sea-query-rusqlite?/with-chrono",
]
with-ipnetwork = [
"ipnetwork",
"sea-query/with-ipnetwork",
"sea-query-rusqlite?/with-ipnetwork",
]
with-json = [
"serde_json",
"sea-query/with-json",
"sea-orm-macros/with-json",
"chrono?/serde",
"rust_decimal?/serde",
"bigdecimal?/serde",
"uuid?/serde",
"time?/serde",
"pgvector?/serde",
"sea-query-rusqlite?/with-json",
]
with-rust_decimal = [
"rust_decimal",
"sea-query/with-rust_decimal",
"sea-query-rusqlite?/with-rust_decimal",
]
with-time = [
"time",
"sea-query/with-time",
"sea-query-rusqlite?/with-time",
]
with-uuid = [
"uuid",
"sea-query/with-uuid",
"sea-query-rusqlite?/with-uuid",
]
[lib]
name = "sea_orm"
path = "src/lib.rs"
[[test]]
name = "active_enum_tests"
path = "tests/active_enum_tests.rs"
[[test]]
name = "active_model_ex_tests"
path = "tests/active_model_ex_tests.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "bits_tests"
path = "tests/bits_tests.rs"
[[test]]
name = "byte_primary_key_tests"
path = "tests/byte_primary_key_tests.rs"
[[test]]
name = "collection_tests"
path = "tests/collection_tests.rs"
[[test]]
name = "connection_tests"
path = "tests/connection_tests.rs"
[[test]]
name = "crud_tests"
path = "tests/crud_tests.rs"
[[test]]
name = "cursor_tests"
path = "tests/cursor_tests.rs"
[[test]]
name = "database_executor_tests"
path = "tests/database_executor_tests.rs"
[[test]]
name = "delete_by_id_tests"
path = "tests/delete_by_id_tests.rs"
[[test]]
name = "derive_iden_tests"
path = "tests/derive_iden_tests.rs"
[[test]]
name = "derive_tests"
path = "tests/derive_tests.rs"
[[test]]
name = "dyn_table_name_tests"
path = "tests/dyn_table_name_tests.rs"
[[test]]
name = "embedding_tests"
path = "tests/embedding_tests.rs"
[[test]]
name = "empty_insert_tests"
path = "tests/empty_insert_tests.rs"
[[test]]
name = "entity_loader_tests"
path = "tests/entity_loader_tests.rs"
[[test]]
name = "enum_primary_key_tests"
path = "tests/enum_primary_key_tests.rs"
[[test]]
name = "event_trigger_tests"
path = "tests/event_trigger_tests.rs"
[[test]]
name = "execute_unprepared_tests"
path = "tests/execute_unprepared_tests.rs"
[[test]]
name = "exists_tests"
path = "tests/exists_tests.rs"
[[test]]
name = "from_query_result_tests"
path = "tests/from_query_result_tests.rs"
[[test]]
name = "host_network_tests"
path = "tests/host_network_tests.rs"
[[test]]
name = "impl_from_for_active_model"
path = "tests/impl_from_for_active_model.rs"
[[test]]
name = "insert_default_tests"
path = "tests/insert_default_tests.rs"
[[test]]
name = "json_struct_tests"
path = "tests/json_struct_tests.rs"
[[test]]
name = "json_vec_tests"
path = "tests/json_vec_tests.rs"
[[test]]
name = "loader_tests"
path = "tests/loader_tests.rs"
[[test]]
name = "multi_select_tests"
path = "tests/multi_select_tests.rs"
[[test]]
name = "parallel_tests"
path = "tests/parallel_tests.rs"
[[test]]
name = "partial_model_nested"
path = "tests/partial_model_nested/main.rs"
[[test]]
name = "partial_model_tests"
path = "tests/partial_model_tests.rs"
[[test]]
name = "pi_tests"
path = "tests/pi_tests.rs"
[[test]]
name = "query_tests"
path = "tests/query_tests.rs"
[[test]]
name = "raw_sql_tests"
path = "tests/raw_sql_tests.rs"
[[test]]
name = "rbac_tests"
path = "tests/rbac_tests.rs"
[[test]]
name = "relational_tests"
path = "tests/relational_tests.rs"
[[test]]
name = "returning_tests"
path = "tests/returning_tests.rs"
[[test]]
name = "self_join_tests"
path = "tests/self_join_tests.rs"
[[test]]
name = "sequential_op_tests"
path = "tests/sequential_op_tests.rs"
[[test]]
name = "sql_err_tests"
path = "tests/sql_err_tests.rs"
[[test]]
name = "stream_tests"
path = "tests/stream_tests.rs"
[[test]]
name = "string_primary_key_tests"
path = "tests/string_primary_key_tests.rs"
[[test]]
name = "text_uuid_tests"
path = "tests/text_uuid_tests.rs"
[[test]]
name = "time_crate_tests"
path = "tests/time_crate_tests.rs"
[[test]]
name = "timestamp_tests"
path = "tests/timestamp_tests.rs"
[[test]]
name = "transaction_tests"
path = "tests/transaction_tests.rs"
[[test]]
name = "type_tests"
path = "tests/type_tests.rs"
[[test]]
name = "upsert_tests"
path = "tests/upsert_tests.rs"
[[test]]
name = "uuid_fmt_tests"
path = "tests/uuid_fmt_tests.rs"
[[test]]
name = "uuid_tests"
path = "tests/uuid_tests.rs"
[[test]]
name = "value_type_tests"
path = "tests/value_type_tests.rs"
[dependencies.bigdecimal]
version = "0.4"
features = ["std"]
optional = true
default-features = false
[dependencies.chrono]
version = "0.4.30"
optional = true
default-features = false
[dependencies.derive_more]
version = "2"
features = ["debug"]
[dependencies.inventory]
version = "0.3"
optional = true
[dependencies.ipnetwork]
version = "0.20"
optional = true
default-features = false
[dependencies.itertools]
version = "0.14.0"
[dependencies.log]
version = "0.4"
default-features = false
[dependencies.ouroboros]
version = "0.18"
default-features = false
[dependencies.pgvector]
version = "~0.4"
optional = true
default-features = false
[dependencies.rust_decimal]
version = "1"
features = ["std"]
optional = true
default-features = false
[dependencies.sea-orm-macros]
version = "~2.0.0-rc.20"
features = ["strum"]
default-features = false
[dependencies.sea-query]
version = "=1.0.0-rc.28"
features = [
"thread-safe",
"hashable-value",
"backend-mysql",
"backend-postgres",
"backend-sqlite",
"sea-orm",
]
default-features = false
[dependencies.sea-query-rusqlite]
version = "0.8.0-rc.14"
optional = true
[dependencies.sea-schema-sync]
version = "0.17.0-rc.15"
features = [
"sync",
"discovery",
"writer",
"probe",
]
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
default-features = false
[dependencies.serde_json]
version = "1.0"
optional = true
default-features = false
[dependencies.strum]
version = "0.27"
default-features = false
[dependencies.thiserror]
version = "2"
default-features = false
[dependencies.time]
version = "0.3.36"
optional = true
default-features = false
[dependencies.tracing]
version = "0.1"
features = [
"attributes",
"log",
]
default-features = false
[dependencies.url]
version = "2.2"
default-features = false
[dependencies.uuid]
version = "1"
optional = true
default-features = false
[dev-dependencies.dotenv]
version = "0.15"
[dev-dependencies.maplit]
version = "1"
[dev-dependencies.pretty_assertions]
version = "0.7"
[dev-dependencies.time]
version = "0.3.36"
features = ["macros"]
[dev-dependencies.tracing-subscriber]
version = "0.3.17"
features = ["env-filter"]
[dev-dependencies.uuid]
version = "1"
features = ["v4"]