fletch-orm-macros 1.0.0

Procedural macros for the Fletch ORM database toolkit
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.85.0"
name = "fletch-orm-macros"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for the Fletch ORM database toolkit"
homepage = "https://github.com/Artemis-Cooperative/aro"
documentation = "https://docs.rs/fletch-orm-macros"
readme = "README.md"
keywords = [
    "database",
    "macros",
    "proc-macro",
    "sqlx",
    "entity",
]
categories = [
    "development-tools::procedural-macro-helpers",
    "database",
]
license = "MIT"
repository = "https://github.com/Artemis-Cooperative/aro"
resolver = "2"

[lib]
name = "fletch_orm_macros"
path = "src/lib.rs"
proc-macro = true

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

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

[dependencies.proc-macro-crate]
version = "3"

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

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "derive",
    "parsing",
    "extra-traits",
]

[dev-dependencies.trybuild]
version = "1"
features = ["diff"]

[lints.clippy]
allow_attributes_without_reason = "warn"
as_conversions = "warn"
cargo_common_metadata = "allow"
cast_lossless = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "warn"
cast_sign_loss = "deny"
checked_conversions = "deny"
dbg_macro = "deny"
expect_used = "deny"
fn_to_numeric_cast_any = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
panic_in_result_fn = "warn"
print_stderr = "deny"
print_stdout = "deny"
ptr_as_ptr = "deny"
ref_as_ptr = "deny"
return_self_not_must_use = "allow"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
wildcard_imports = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
missing_abi = "deny"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "deny"