sea-orm 1.1.1

🐚 An async & dynamic ORM for Rust
Documentation
[dependencies.async-stream]
default-features = false
version = "0.3"

[dependencies.async-trait]
default-features = false
version = "0.1"

[dependencies.bigdecimal]
default-features = false
optional = true
version = "0.4"

[dependencies.chrono]
default-features = false
optional = true
version = "0.4.30"

[dependencies.futures]
default-features = false
features = ["std"]
version = "0.3"

[dependencies.log]
default-features = false
version = "0.4"

[dependencies.ouroboros]
default-features = false
version = "0.18"

[dependencies.rust_decimal]
default-features = false
optional = true
version = "1"

[dependencies.sea-orm-macros]
default-features = false
features = ["strum"]
version = "~1.1.1"

[dependencies.sea-query]
default-features = false
features = ["thread-safe", "hashable-value", "backend-mysql", "backend-postgres", "backend-sqlite"]
version = "0.32.0"

[dependencies.sea-query-binder]
default-features = false
optional = true
version = "0.7.0"

[dependencies.serde]
default-features = false
version = "1.0"

[dependencies.serde_json]
default-features = false
optional = true
version = "1.0"

[dependencies.sqlx]
default-features = false
optional = true
version = "0.8.2"

[dependencies.strum]
default-features = false
version = "0.26"

[dependencies.thiserror]
default-features = false
version = "1"

[dependencies.time]
default-features = false
optional = true
version = "0.3.36"

[dependencies.tracing]
default-features = false
features = ["attributes", "log"]
version = "0.1"

[dependencies.url]
default-features = false
version = "2.2"

[dependencies.uuid]
default-features = false
optional = true
version = "1"

[dev-dependencies.actix-rt]
version = "2.2.0"

[dev-dependencies.arraystring]
version = "0.3"

[dev-dependencies.async-std]
features = ["attributes", "tokio1"]
version = "1"

[dev-dependencies.dotenv]
version = "0.15"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.maplit]
version = "1"

[dev-dependencies.once_cell]
version = "1.8"

[dev-dependencies.pretty_assertions]
version = "0.7"

[dev-dependencies.smol]
version = "1.2"

[dev-dependencies.smol-potat]
version = "1.1"

[dev-dependencies.time]
features = ["macros"]
version = "0.3.36"

[dev-dependencies.tokio]
features = ["full"]
version = "1.6"

[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3.17"

[dev-dependencies.uuid]
features = ["v4"]
version = "1"

[features]
debug-print = []
default = ["macros", "with-json", "with-chrono", "with-rust_decimal", "with-bigdecimal", "with-uuid", "with-time"]
json-array = ["postgres-array"]
macros = ["sea-orm-macros/derive"]
mock = []
postgres-array = ["sea-query/postgres-array", "sea-query-binder?/postgres-array", "sea-orm-macros/postgres-array"]
proxy = ["serde_json", "serde/derive"]
runtime-actix = ["sqlx?/runtime-tokio"]
runtime-actix-native-tls = ["sqlx?/runtime-tokio-native-tls", "runtime-actix"]
runtime-actix-rustls = ["sqlx?/runtime-tokio-rustls", "runtime-actix"]
runtime-async-std = ["sqlx?/runtime-async-std"]
runtime-async-std-native-tls = ["sqlx?/runtime-async-std-native-tls", "runtime-async-std"]
runtime-async-std-rustls = ["sqlx?/runtime-async-std-rustls", "runtime-async-std"]
runtime-tokio = ["sqlx?/runtime-tokio"]
runtime-tokio-native-tls = ["sqlx?/runtime-tokio-native-tls", "runtime-tokio"]
runtime-tokio-rustls = ["sqlx?/runtime-tokio-rustls", "runtime-tokio"]
sea-orm-internal = []
seaography = ["sea-orm-macros/seaography"]
sqlite-use-returning-for-3_35 = []
sqlx-all = ["sqlx-mysql", "sqlx-postgres", "sqlx-sqlite"]
sqlx-dep = []
sqlx-mysql = ["sqlx-dep", "sea-query-binder/sqlx-mysql", "sqlx/mysql"]
sqlx-postgres = ["sqlx-dep", "sea-query-binder/sqlx-postgres", "sqlx/postgres", "postgres-array"]
sqlx-sqlite = ["sqlx-dep", "sea-query-binder/sqlx-sqlite", "sqlx/sqlite"]
tests-cfg = ["serde/derive"]
with-bigdecimal = ["bigdecimal", "sea-query/with-bigdecimal", "sea-query-binder?/with-bigdecimal", "sqlx?/bigdecimal"]
with-chrono = ["chrono", "sea-query/with-chrono", "sea-query-binder?/with-chrono", "sqlx?/chrono"]
with-json = ["serde_json", "sea-query/with-json", "chrono?/serde", "rust_decimal?/serde", "bigdecimal?/serde", "uuid?/serde", "time?/serde", "sea-query-binder?/with-json", "sqlx?/json"]
with-rust_decimal = ["rust_decimal", "sea-query/with-rust_decimal", "sea-query-binder?/with-rust_decimal", "sqlx?/rust_decimal"]
with-time = ["time", "sea-query/with-time", "sea-query-binder?/with-time", "sqlx?/time"]
with-uuid = ["uuid", "sea-query/with-uuid", "sea-query-binder?/with-uuid", "sqlx?/uuid"]

[lib]
name = "sea_orm"
path = "src/lib.rs"

[package]
authors = ["Chris Tsang <chris.2y3@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["database"]
description = "🐚 An async & dynamic ORM for Rust"
documentation = "https://docs.rs/sea-orm"
edition = "2021"
homepage = "https://www.sea-ql.org/SeaORM"
keywords = ["async", "orm", "mysql", "postgres", "sqlite"]
license = "MIT OR Apache-2.0"
name = "sea-orm"
readme = "README.md"
repository = "https://github.com/SeaQL/sea-orm"
rust-version = "1.65"
version = "1.1.1"

[package.metadata.docs.rs]
features = ["default", "sqlx-all", "mock", "proxy", "runtime-async-std-native-tls", "postgres-array", "sea-orm-internal"]
rustdoc-args = ["--cfg", "docsrs"]

[[test]]
name = "active_enum_tests"
path = "tests/active_enum_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 = "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 = "empty_insert_tests"
path = "tests/empty_insert_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 = "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 = "parallel_tests"
path = "tests/parallel_tests.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 = "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 = "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"