aro-macros 1.0.0

Procedural macros for the Aro web framework
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 = "aro-macros"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for the Aro web framework"
homepage = "https://github.com/Artemis-Cooperative/aro"
documentation = "https://docs.rs/aro-macros"
readme = "README.md"
keywords = [
    "web",
    "macros",
    "proc-macro",
    "routing",
    "framework",
]
categories = [
    "development-tools::procedural-macro-helpers",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/Artemis-Cooperative/aro"
resolver = "2"

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

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

[[test]]
name = "route_macros_test"
path = "tests/route_macros_test.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.axum]
version = "0.8"

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

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[dev-dependencies.tower]
version = "0.5"

[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"