# 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"
rust-version = "1.89"
name = "prax-actix"
version = "0.7.3"
authors = ["Joseph Quinn <quinn.josephr@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Actix-web framework integration for Prax ORM"
homepage = "https://github.com/quinnjr/prax"
readme = "README.md"
keywords = [
    "orm",
    "database",
    "actix",
    "web",
    "actor",
]
categories = [
    "database",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/quinnjr/prax"
resolver = "2"

[features]
default = ["postgres"]
mysql = ["prax-mysql"]
postgres = ["prax-postgres"]
sqlite = ["prax-sqlite"]

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

[dependencies.actix-rt]
version = "2"

[dependencies.actix-web]
version = "4"

[dependencies.prax-mysql]
version = "0.7.3"
optional = true

[dependencies.prax-postgres]
version = "0.7.3"
optional = true

[dependencies.prax-query]
version = "0.7.3"

[dependencies.prax-sqlite]
version = "0.7.3"
optional = true

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1.40"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]
