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.
21 lines
490 B
TOML
21 lines
490 B
TOML
[package]
|
|
name = "sqlxgentools_attrs"
|
|
description = "Proc-macros to allow automatic migrations and repositories generation from models by the sqlxgentools CLI tools."
|
|
publish = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[dependencies]
|
|
attribute-derive = "0.10.3"
|
|
proc-macro2 = "1.0.92"
|
|
quote = "1.0"
|
|
syn = { version = "1.0" }
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[lints.clippy]
|
|
uninlined_format_args = "allow"
|