ormer 0.1.21

A minimalist ORM framework that supports SQLite, PostgreSQL, MySQL, and SqlServer
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "ormer"
version = "0.1.21"
authors = ["fawdlstty<f@fawdlstty.com>"]
build = false
exclude = ["src/main.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimalist ORM framework that supports SQLite, PostgreSQL, MySQL, and SqlServer"
homepage = "https://github.com/fawdlstty/ormer"
readme = "README.md"
keywords = [
    "orm",
    "database",
]
categories = []
license = "MIT"
repository = "https://github.com/fawdlstty/ormer"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["sqlite"]
full = [
    "sqlite",
    "postgresql",
    "mysql",
    "mssql",
]
mssql = [
    "dep:tiberius",
    "dep:tokio-util",
]
mysql = ["dep:mysql_async"]
postgresql = [
    "dep:tokio-postgres",
    "dep:postgres-types",
    "dep:bb8",
    "dep:bb8-postgres",
]
sqlite = ["dep:turso"]

[lib]
name = "ormer"
path = "src/lib.rs"
doctest = false

[[test]]
name = "_test_common"
path = "tests/_test_common.rs"

[[test]]
name = "aggregate_test"
path = "tests/aggregate_test.rs"
harness = true

[[test]]
name = "aggregate_type_test"
path = "tests/aggregate_type_test.rs"

[[test]]
name = "auto_increment_test"
path = "tests/auto_increment_test.rs"

[[test]]
name = "between_test"
path = "tests/between_test.rs"

[[test]]
name = "collect_with_test"
path = "tests/collect_with_test.rs"

[[test]]
name = "composite_primary_key_test"
path = "tests/composite_primary_key_test.rs"

[[test]]
name = "connection_pool_simple_test"
path = "tests/connection_pool_simple_test.rs"

[[test]]
name = "connection_pool_test"
path = "tests/connection_pool_test.rs"

[[test]]
name = "create_table_test"
path = "tests/create_table_test.rs"

[[test]]
name = "direct_create_test"
path = "tests/direct_create_test.rs"

[[test]]
name = "distinct_test"
path = "tests/distinct_test.rs"

[[test]]
name = "drop_table_test"
path = "tests/drop_table_test.rs"

[[test]]
name = "duration_field_test"
path = "tests/duration_field_test.rs"

[[test]]
name = "enum_test"
path = "tests/enum_test.rs"

[[test]]
name = "exec_sql_test"
path = "tests/exec_sql_test.rs"

[[test]]
name = "exists_test"
path = "tests/exists_test.rs"

[[test]]
name = "find_by_id_test"
path = "tests/find_by_id_test.rs"

[[test]]
name = "foreign_key_sql_test"
path = "tests/foreign_key_sql_test.rs"

[[test]]
name = "foreign_key_test"
path = "tests/foreign_key_test.rs"

[[test]]
name = "group_by_test"
path = "tests/group_by_test.rs"

[[test]]
name = "grouped_select_e2e_test"
path = "tests/grouped_select_e2e_test.rs"

[[test]]
name = "hooks_demo_test"
path = "tests/hooks_demo_test.rs"

[[test]]
name = "hooks_test"
path = "tests/hooks_test.rs"

[[test]]
name = "ignore_insert_test"
path = "tests/ignore_insert_test.rs"

[[test]]
name = "in_statement_test"
path = "tests/in_statement_test.rs"

[[test]]
name = "insert_batch_test"
path = "tests/insert_batch_test.rs"

[[test]]
name = "join_test"
path = "tests/join_test.rs"

[[test]]
name = "lateral_join_test"
path = "tests/lateral_join_test.rs"

[[test]]
name = "like_test"
path = "tests/like_test.rs"

[[test]]
name = "main_insert_patterns_test"
path = "tests/main_insert_patterns_test.rs"

[[test]]
name = "main_usage_test"
path = "tests/main_usage_test.rs"

[[test]]
name = "map_to_complete_test"
path = "tests/map_to_complete_test.rs"

[[test]]
name = "new_features_test"
path = "tests/new_features_test.rs"

[[test]]
name = "postgresql_enum_to_sql_test"
path = "tests/postgresql_enum_to_sql_test.rs"

[[test]]
name = "postgresql_null_params_test"
path = "tests/postgresql_null_params_test.rs"

[[test]]
name = "print_sql_test"
path = "tests/print_sql_test.rs"

[[test]]
name = "range_flexible_test"
path = "tests/range_flexible_test.rs"

[[test]]
name = "range_test"
path = "tests/range_test.rs"

[[test]]
name = "required_binary_test"
path = "tests/required_binary_test.rs"

[[test]]
name = "schema_validation_test"
path = "tests/schema_validation_test.rs"

[[test]]
name = "set_model_test"
path = "tests/set_model_test.rs"

[[test]]
name = "simple_transaction_test"
path = "tests/simple_transaction_test.rs"

[[test]]
name = "special_field_test"
path = "tests/special_field_test.rs"

[[test]]
name = "step_by_step_test"
path = "tests/step_by_step_test.rs"

[[test]]
name = "stream_connection_leak_test"
path = "tests/stream_connection_leak_test.rs"

[[test]]
name = "stream_error_handling_test"
path = "tests/stream_error_handling_test.rs"

[[test]]
name = "stream_resource_cleanup_test"
path = "tests/stream_resource_cleanup_test.rs"

[[test]]
name = "stream_test"
path = "tests/stream_test.rs"

[[test]]
name = "subquery_e2e_test"
path = "tests/subquery_e2e_test.rs"

[[test]]
name = "subquery_test"
path = "tests/subquery_test.rs"

[[test]]
name = "syntax_validation"
path = "tests/syntax_validation.rs"

[[test]]
name = "trace_error_format_test"
path = "tests/trace_error_format_test.rs"

[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"

[[test]]
name = "tuple_wrapper_test"
path = "tests/tuple_wrapper_test.rs"

[[test]]
name = "typed_column_types_test"
path = "tests/typed_column_types_test.rs"

[[test]]
name = "union_test"
path = "tests/union_test.rs"

[[test]]
name = "upsert_patterns_test"
path = "tests/upsert_patterns_test.rs"

[[test]]
name = "upsert_test"
path = "tests/upsert_test.rs"

[[test]]
name = "validate_table_test"
path = "tests/validate_table_test.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.async-trait]
version = "0.1"

[dependencies.bb8]
version = "0.8"
optional = true

[dependencies.bb8-postgres]
version = "0.8"
optional = true

[dependencies.byteorder]
version = "1.5"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.futures]
version = "0.3"

[dependencies.mysql_async]
version = "0.34"
optional = true

[dependencies.ormer-derive]
version = "0.1.19"

[dependencies.paste]
version = "1.0"

[dependencies.postgres-types]
version = "0.2"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.tiberius]
version = "0.12"
features = [
    "tds73",
    "chrono",
]
optional = true

[dependencies.tokio]
version = "1.52.1"
features = ["full"]

[dependencies.tokio-postgres]
version = "0.7"
features = ["with-chrono-0_4"]
optional = true

[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
optional = true

[dependencies.turso]
version = "0.1"
optional = true

[dependencies.uuid]
version = "1.0"
features = ["serde"]

[dev-dependencies.paste]
version = "1.0"