# 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 = "anvilforge-cast-core"
version = "0.3.10"
authors = ["Anvilforge contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cast ORM core for Anvilforge: Model trait, QueryBuilder, Column, Relation, Schema, migrations."
homepage = "https://github.com/anvilforge/anvilforge"
readme = "README.md"
keywords = [
    "orm",
    "database",
    "sqlx",
    "postgres",
    "anvilforge",
]
categories = [
    "database",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/anvilforge/anvilforge"

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

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

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

[dependencies.futures]
version = "0.3"

[dependencies.indexmap]
version = "2.6"
features = ["serde"]

[dependencies.inventory]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.sea-query]
version = "0.32"
features = [
    "backend-postgres",
    "backend-mysql",
    "backend-sqlite",
    "with-chrono",
    "with-uuid",
    "with-json",
]

[dependencies.sea-query-binder]
version = "0.7"
features = [
    "sqlx-postgres",
    "sqlx-mysql",
    "sqlx-sqlite",
    "with-chrono",
    "with-uuid",
    "with-json",
]

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tracing]
version = "0.1"

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