uorm 0.9.2

Rust 下的轻量级 ORM 框架,借鉴了 Java MyBatis 的设计理念,强调 SQL 与业务逻辑分离。它结合 Rust 的类型系统与宏机制,支持编写原生 SQL 并自动映射结果,兼容 async/await,兼顾性能与可控性。
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"
name = "uorm"
version = "0.9.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust 下的轻量级 ORM 框架,借鉴了 Java MyBatis 的设计理念,强调 SQL 与业务逻辑分离。它结合 Rust 的类型系统与宏机制,支持编写原生 SQL 并自动映射结果,兼容 async/await,兼顾性能与可控性。"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/uporm/uorm"

[features]
default = ["mysql"]
mysql = ["dep:mysql_async"]
postgres = [
    "dep:tokio-postgres",
    "dep:deadpool-postgres",
]
sqlite = ["dep:rusqlite"]

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

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

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

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

[dependencies.bytes]
version = "1.10.0"

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

[dependencies.ctor]
version = "0.6.3"

[dependencies.dashmap]
version = "7.0.0-rc2"

[dependencies.deadpool-postgres]
version = "0.14.1"
optional = true

[dependencies.glob]
version = "0.3.3"

[dependencies.log]
version = "0.4.29"

[dependencies.mysql_async]
version = "0.36.1"
features = [
    "chrono",
    "rust_decimal",
]
optional = true

[dependencies.quick-xml]
version = "0.39.0"
features = ["serialize"]

[dependencies.rusqlite]
version = "0.38.0"
optional = true

[dependencies.rust_decimal]
version = "1.39.0"
features = [
    "serde",
    "db-postgres",
]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.17"

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

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

[dependencies.uorm-macros]
version = "0.9.0"