[package]
edition = "2021"
rust-version = "1.70"
name = "torm"
version = "0.4.0"
authors = ["WLmutou <jun1484528313@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Tokio-based async ORM for Rust with GORM-like API, supporting SQLite, MySQL and PostgreSQL via native wire protocols"
homepage = "https://github.com/WLmutou/torm"
documentation = "https://docs.rs/torm"
readme = "README.md"
keywords = [
"orm",
"database",
"tokio",
"sqlite",
"mysql",
]
categories = [
"database-implementations",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/WLmutou/torm"
[lib]
name = "torm"
path = "src/lib.rs"
[[bin]]
name = "mysql2postgresql"
path = "src/bin/mysql2postgresql.rs"
[[bin]]
name = "mysql2sqlite"
path = "src/bin/mysql2sqlite.rs"
[[bin]]
name = "postgres2sqlite"
path = "src/bin/postgres2sqlite.rs"
[[bin]]
name = "postgresql2mysql"
path = "src/bin/postgresql2mysql.rs"
[[bin]]
name = "sqlite2mysql"
path = "src/bin/sqlite2mysql.rs"
[[bin]]
name = "sqlite2postgres"
path = "src/bin/sqlite2postgres.rs"
[[example]]
name = "advanced_features"
path = "examples/advanced_features.rs"
[[example]]
name = "async_concurrency"
path = "examples/async_concurrency.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "complete_demo"
path = "examples/complete_demo.rs"
[[example]]
name = "dapper_style"
path = "examples/dapper_style.rs"
[[example]]
name = "ergonomic_query"
path = "examples/ergonomic_query.rs"
[[example]]
name = "integration_example"
path = "examples/integration_example.rs"
[[example]]
name = "postgresql_example"
path = "examples/postgresql_example.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "model_derive_test"
path = "tests/model_derive_test.rs"
[[test]]
name = "sql_injection_test"
path = "tests/sql_injection_test.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.hex]
version = "0.4"
[dependencies.md-5]
version = "0.10"
[dependencies.num-bigint]
version = "0.4"
[dependencies.rand]
version = "0.8"
[dependencies.rsa]
version = "0.9"
[dependencies.rusqlite]
version = "0.30"
features = ["bundled"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha1]
version = "0.10"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.53"
features = ["full"]
[dependencies.torm-derive]
version = "0.3.0"
[dependencies.uuid]
version = "1.0"
features = [
"v4",
"serde",
]