ormkit 0.3.0

A compile-time safe async ORM for PostgreSQL powered by SQLx
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 = "2021"
name = "ormkit"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A compile-time safe async ORM for PostgreSQL powered by SQLx"
readme = "README.md"
keywords = [
    "orm",
    "database",
    "sqlx",
    "async",
    "postgres",
]
categories = [
    "database",
    "asynchronous",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/YOUR_USERNAME/ormkit"

[features]
cache = ["orm"]
default = [
    "orm",
    "migrations",
    "validate",
]
full = [
    "orm",
    "migrations",
    "validate",
    "performance",
]
migrations = [
    "orm",
    "sha2",
]
orm = [
    "sqlx/runtime-tokio-rustls",
    "sqlx/postgres",
    "sqlx/chrono",
    "sqlx/uuid",
    "sqlx/json",
]
parallel = ["orm"]
performance = [
    "cache",
    "parallel",
    "smart-pool",
]
smart-pool = ["orm"]
validate = ["orm"]

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

[[example]]
name = "query_builder_demo"
path = "examples/query_builder_demo.rs"

[[example]]
name = "quick-start"
path = "examples/quick-start.rs"

[[example]]
name = "relationships_demo"
path = "examples/relationships_demo.rs"

[[example]]
name = "typed_dsl_demo"
path = "examples/typed_dsl_demo.rs"

[[bench]]
name = "benchmark_main"
path = "benches/benchmark_main.rs"

[[bench]]
name = "crud_bench"
path = "benches/crud_bench.rs"
harness = false

[[bench]]
name = "performance_comparison"
path = "benches/performance_comparison.rs"
harness = false

[[bench]]
name = "query_builder_bench"
path = "benches/query_builder_bench.rs"
harness = false

[[bench]]
name = "relationship_bench"
path = "benches/relationship_bench.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1.3"

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

[dependencies.futures]
version = "0.3"

[dependencies.once_cell]
version = "1.19"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "chrono",
    "uuid",
    "json",
]

[dependencies.thiserror]
version = "2"

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

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.sqlx-cli]
version = "0.8"