[package]
edition = "2024"
rust-version = "1.85"
name = "sqlmodel-macros"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for SQLModel Rust"
homepage = "https://github.com/sqlmodel/sqlmodel-rust"
documentation = "https://docs.rs/sqlmodel-macros"
readme = "README.md"
keywords = [
"sql",
"orm",
"database",
"proc-macro",
"sqlmodel",
]
categories = [
"database",
"development-tools",
]
license = "MIT"
repository = "https://github.com/sqlmodel/sqlmodel-rust"
resolver = "2"
[lib]
name = "sqlmodel_macros"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.regex]
version = "1"
[dependencies.syn]
version = "2"
features = [
"full",
"extra-traits",
]
[dev-dependencies.sqlmodel-core]
version = "0.2.1"
[lints.clippy]
bool_to_int_with_if = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
format_push_string = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
should_implement_trait = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unused_self = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"