# 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 = "premix-core"
version = "1.0.6-alpha"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Zero-Overhead, Type-Safe ORM for Rust that runs optimized SQL."
readme = "README.md"
keywords = [
    "orm",
    "database",
    "sql",
    "async",
    "performance",
]
categories = [
    "database",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/premix-labs/premix-orm"
resolver = "2"

[features]
default = ["sqlite"]
metrics = ["dep:metrics"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]

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

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

[dependencies.metrics]
version = "0.22"
optional = true

[dependencies.serde]
version = "1.0.228"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "macros",
]
default-features = false

[dependencies.tracing]
version = "0.1.44"

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