# 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 = "chopin-orm"
version = "0.5.31"
authors = ["kowito"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, zero-overhead ORM for the Chopin framework."
homepage = "https://github.com/kowito/chopin"
readme = "README.md"
license = "MIT"
repository = "https://github.com/kowito/chopin"

[features]
chrono = [
    "dep:chrono",
    "chopin-pg/chrono",
]
decimal = [
    "dep:rust_decimal",
    "chopin-pg/decimal",
]
default = []
log = ["dep:log"]

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

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

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

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

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

[dependencies.chopin-orm-macro]
version = "0.5.31"

[dependencies.chopin-pg]
version = "0.5.31"

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.log]
version = "0.4"
optional = true

[dependencies.rust_decimal]
version = "1"
optional = true

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