# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.65" name = "sea-orm" version = "1.1.1" authors = ["Chris Tsang "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "🐚 An async & dynamic ORM for Rust" homepage = "https://www.sea-ql.org/SeaORM" documentation = "https://docs.rs/sea-orm" readme = "README.md" keywords = [ "async", "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", "sqlx-all", "mock", "proxy", "runtime-async-std-native-tls", "postgres-array", "sea-orm-internal", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "sea_orm" path = "src/lib.rs" [[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" [dependencies.async-stream] version = "0.3" default-features = false [dependencies.async-trait] version = "0.1" default-features = false [dependencies.bigdecimal] version = "0.4" optional = true default-features = false [dependencies.chrono] version = "0.4.30" optional = true default-features = false [dependencies.futures] version = "0.3" features = ["std"] default-features = false [dependencies.log] version = "0.4" default-features = false [dependencies.ouroboros] version = "0.18" default-features = false [dependencies.rust_decimal] version = "1" optional = true default-features = false [dependencies.sea-orm-macros] version = "~1.1.1" features = ["strum"] default-features = false [dependencies.sea-query] version = "0.32.0" features = [ "thread-safe", "hashable-value", "backend-mysql", "backend-postgres", "backend-sqlite", ] default-features = false [dependencies.sea-query-binder] version = "0.7.0" 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.sqlx] version = "0.8.2" optional = true default-features = false [dependencies.strum] version = "0.26" default-features = false [dependencies.thiserror] version = "1" 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.actix-rt] version = "2.2.0" [dev-dependencies.arraystring] version = "0.3" [dev-dependencies.async-std] version = "1" features = [ "attributes", "tokio1", ] [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] version = "0.3.36" features = ["macros"] [dev-dependencies.tokio] version = "1.6" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [dev-dependencies.uuid] version = "1" features = ["v4"] [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", ]