sqlc-gen-sqlx 0.0.0

A sqlc plugin that generates type-safe sqlx Rust code from SQL 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"
name = "sqlc-gen-sqlx"
version = "0.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A sqlc plugin that generates type-safe sqlx Rust code from SQL queries."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mathematic-inc/sqlc-gen-sqlx"
resolver = "2"

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

[[bin]]
name = "sqlc-gen-sqlx"
path = "src/main.rs"

[[test]]
name = "codegen"
path = "tests/codegen.rs"

[[test]]
name = "e2e"
path = "tests/e2e.rs"

[dependencies.buffa]
version = "0.3"

[dependencies.convert_case]
version = "0.8"

[dependencies.prettyplease]
version = "0.2"

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

[dependencies.quote]
version = "1"

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

[dependencies.serde_json]
version = "1"

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

[dev-dependencies.insta]
version = "1"
features = ["filters"]

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

[dev-dependencies.testcontainers-modules]
version = "0.15"
features = ["postgres"]

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

[profile.release]
opt-level = "z"
lto = true
strip = "symbols"