ormkit 0.3.0

A compile-time safe async ORM for PostgreSQL powered by SQLx
Documentation
[workspace]
[package]
name = "ormkit"
version = "0.3.0"
edition = "2021"
description = "A compile-time safe async ORM for PostgreSQL powered by SQLx"
license = "MIT OR Apache-2.0"
repository = "https://github.com/YOUR_USERNAME/ormkit"  # TODO: Update to your actual repository
readme = "README.md"
keywords = ["orm", "database", "sqlx", "async", "postgres"]
categories = ["database", "asynchronous", "web-programming"]

[features]
default = ["orm", "migrations", "validate"]

# Core ORM features
orm = ["sqlx/runtime-tokio-rustls", "sqlx/postgres", "sqlx/chrono", "sqlx/uuid", "sqlx/json"]

# Migration engine
migrations = ["orm", "sha2"]

# Schema validation
validate = ["orm"]

# Performance optimizations
cache = ["orm"]
parallel = ["orm"]
smart-pool = ["orm"]

# All performance features
performance = ["cache", "parallel", "smart-pool"]

# Full feature set
full = ["orm", "migrations", "validate", "performance"]

[dependencies]
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid", "json"] }
tokio = { version = "1", features = ["full"] }
anyhow = "1"
thiserror = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
base64 = "0.22"
bincode = "1.3"
futures = "0.3"
once_cell = "1.19"
sha2 = { version = "0.10", optional = true }

[dev-dependencies]
sqlx-cli = "0.8"
criterion = "0.5"

[[bench]]
name = "crud_bench"
harness = false

[[bench]]
name = "query_builder_bench"
harness = false

[[bench]]
name = "relationship_bench"
harness = false

[[bench]]
name = "performance_comparison"
harness = false