[package]
edition = "2024"
rust-version = "1.85.0"
name = "aro-core"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core domain layer for the Aro web framework"
homepage = "https://github.com/Artemis-Cooperative/aro"
documentation = "https://docs.rs/aro-core"
readme = "README.md"
keywords = [
"web",
"framework",
"hexagonal",
"domain",
"repository",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/Artemis-Cooperative/aro"
resolver = "2"
[features]
test-utils = []
[lib]
name = "aro_core"
path = "src/lib.rs"
[[test]]
name = "repository_traits"
path = "tests/repository_traits.rs"
[[bench]]
name = "boxfuture_bench"
path = "benches/boxfuture_bench.rs"
harness = false
[[bench]]
name = "state_bench"
path = "benches/state_bench.rs"
harness = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]
[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"