[package]
edition = "2024"
rust-version = "1.85.0"
name = "aro"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Aro — a Rust web framework using hexagonal architecture"
homepage = "https://github.com/Artemis-Cooperative/aro"
documentation = "https://docs.rs/aro"
readme = "README.md"
keywords = [
"web",
"framework",
"axum",
"hexagonal",
"http",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/Artemis-Cooperative/aro"
resolver = "2"
[features]
chrono = [
"fletch",
"aro-fletch/chrono",
]
compression = ["aro-web/compression"]
compression-full = ["aro-web/compression-full"]
decompression = [
"web",
"aro-web/decompression",
]
decompression-full = [
"web",
"aro-web/decompression-full",
]
default = [
"web",
"macros",
]
fletch = [
"dep:aro-fletch",
"query-adapters",
]
http2 = [
"web",
"aro-web/http2",
]
macros = ["dep:aro-macros"]
query-adapters = [
"fletch",
"aro-fletch/query-adapters",
]
test-utils = [
"web",
"aro-web/test-utils",
]
uuid = [
"fletch",
"aro-fletch/uuid",
]
web = ["dep:aro-web"]
[lib]
name = "aro"
path = "src/lib.rs"
[[test]]
name = "prelude"
path = "tests/prelude.rs"
[dependencies.aro-core]
version = "1.0.0"
[dependencies.aro-fletch]
version = "1.0.0"
optional = true
[dependencies.aro-macros]
version = "1.0.0"
optional = true
[dependencies.aro-web]
version = "1.0.0"
optional = true
[dev-dependencies.cargo-husky]
version = "1"
features = ["user-hooks"]
default-features = false
[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"