cornucopia 1.0.0

Generate type-checked Rust from your PostgreSQL queries.
Documentation
# 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.88.0"
name = "cornucopia"
version = "1.0.0"
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE-*",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate type-checked Rust from your PostgreSQL queries."
homepage = "https://github.com/cornucopia-rs/cornucopia"
readme = "README.md"
keywords = [
    "postgresql",
    "query",
    "generator",
    "sql",
    "tokio-postgres",
]
categories = ["database"]
license = "MIT/Apache-2.0"
repository = "https://github.com/cornucopia-rs/cornucopia"

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

[[bin]]
name = "cornucopia"
path = "src/main.rs"

[dependencies.cargo_toml]
version = "0.22"

[dependencies.chumsky]
version = "0.13"

[dependencies.clap]
version = "4.6"
features = [
    "derive",
    "env",
]

[dependencies.futures]
version = "0.3"

[dependencies.heck]
version = "0.5"

[dependencies.indexmap]
version = "2.13"

[dependencies.miette]
version = "7.6"
features = ["fancy"]

[dependencies.postgres-types]
version = "0.2"

[dependencies.prettyplease]
version = "0.2"

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

[dependencies.quote]
version = "1.0"

[dependencies.rand]
version = "0.10"

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

[dependencies.syn]
version = "2.0"
features = ["full"]

[dependencies.tempfile]
version = "3.27"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.50"
features = ["rt-multi-thread"]

[dependencies.tokio-postgres]
version = "0.7"

[dependencies.toml]
version = "1.1"

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

[dev-dependencies.diesel]
version = "2.3"
features = ["postgres"]

[dev-dependencies.postgres]
version = "0.19"

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
]

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

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"