# 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-codegen"
version = "0.9.3"
authors = ["Joseph Quinn <quinn.josephr@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for code generation in the Prax ORM"
documentation = "https://docs.rs/prax-codegen"
readme = "README.md"
keywords = [
    "orm",
    "codegen",
    "proc-macro",
    "derive",
]
categories = [
    "database",
    "development-tools::procedural-macro-helpers",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/quinnjr/prax"
resolver = "2"

[features]
default = []

[lib]
name = "prax_codegen"
path = "src/lib.rs"
proc-macro = true

[dependencies.convert_case]
version = "0.6"

[dependencies.prax-schema]
version = "0.9.3"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "extra-traits",
    "parsing",
]

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.smol_str]
version = "0.3"
features = ["serde"]

[dev-dependencies.tempfile]
version = "3.10"

[dev-dependencies.trybuild]
version = "1.0"
