sqlxgentools/lib/sqlxgentools_cli/Cargo.toml
Matthieu Bessat 5f45671b74 feat: one-to-many relation helper
Allow one to specify that a field of a model is a foreign key.
It will generate a bunch of helper methods to query related entities
from one entity.
2026-01-04 22:14:00 +01:00

31 lines
691 B
TOML

[package]
name = "sqlxgentools_cli"
description = "CLI to generate SQL migrations and repositories code that use sqlx from models definition."
publish = true
edition.workspace = true
authors.workspace = true
version.workspace = true
license.workspace = true
repository.workspace = true
[[bin]]
name = "sqlx-generator"
path = "src/main.rs"
[dependencies]
anyhow = "1.0"
argh = "0.1"
attribute-derive = "0.10"
convert_case = "0.6"
fully_pub = "0.1"
heck = "0.5"
prettyplease = "0.2"
proc-macro2 = "1.0"
quote = "1.0"
serde = "1.0"
serde_json = "1.0"
structmeta = "0.3"
syn = { version = "2.0", features = ["extra-traits", "full", "parsing"] }
[lints.clippy]
uninlined_format_args = "allow"