[package]
edition = "2024"
name = "aurelin-framework"
version = "0.3.3"
authors = ["Alex Younger"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Aurelin is a Rust translation of Laravel"
readme = false
license = "MIT"
repository = "https://github.com/AlextheYounga/aurelin.git"
[features]
leptos = [
"dep:axum-tower-sessions-csrf",
"dep:constant_time_eq",
"dep:leptos_axum",
]
[lib]
name = "aurelin_framework"
path = "src/lib.rs"
[[test]]
name = "authentication_primitives"
path = "tests/authentication_primitives.rs"
[[test]]
name = "compromised_passwords"
path = "tests/compromised_passwords.rs"
[[test]]
name = "configuration"
path = "tests/configuration.rs"
[[test]]
name = "database"
path = "tests/database.rs"
[[test]]
name = "encryption"
path = "tests/encryption.rs"
[[test]]
name = "inertia_protocol"
path = "tests/inertia_protocol.rs"
[[test]]
name = "queue"
path = "tests/queue.rs"
[[test]]
name = "timebox"
path = "tests/timebox.rs"
[dependencies.aes-gcm]
version = "0.10"
[dependencies.apalis]
version = "=1.1.1"
[dependencies.apalis-sqlite]
version = "=1.1.1"
[dependencies.axum]
version = "0.8"
[dependencies.axum-tower-sessions-csrf]
version = "=0.1.1"
optional = true
[dependencies.base64]
version = "0.22"
[dependencies.bcrypt]
version = "0.17"
[dependencies.config]
version = "0.15"
default-features = false
[dependencies.constant_time_eq]
version = "0.4"
optional = true
[dependencies.dotenvy]
version = "0.15"
[dependencies.hkdf]
version = "0.12"
[dependencies.hmac]
version = "0.12"
[dependencies.inertia_rs]
version = "0.4"
features = ["axum"]
default-features = false
[dependencies.leptos_axum]
version = "0.8.8"
optional = true
[dependencies.lettre]
version = "0.11.19"
features = [
"builder",
"smtp-transport",
"tokio1-rustls-tls",
]
default-features = false
[dependencies.rand]
version = "0.9"
[dependencies.reqwest]
version = "0.13"
features = ["rustls"]
default-features = false
[dependencies.sea-orm]
version = "1.1"
features = [
"runtime-tokio-rustls",
"sqlx-sqlite",
]
default-features = false
[dependencies.sea-orm-migration]
version = "1.1"
features = [
"runtime-tokio-rustls",
"sqlx-sqlite",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha1]
version = "0.11"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.9.1"
features = [
"runtime-tokio",
"sqlite",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"time",
]
[dependencies.tower-sessions]
version = "0.14"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"test-util",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[lints.clippy]
absolute_paths = "warn"
allow_attributes = "deny"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
checked_conversions = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "deny"
disallowed_names = "deny"
enum_variant_names = "allow"
expect_used = "deny"
flat_map_option = "warn"
fn_params_excessive_bools = "warn"
from_iter_instead_of_collect = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
large_types_passed_by_value = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
many_single_char_names = "warn"
map_unwrap_or = "warn"
match_same_arms = "warn"
missing_safety_doc = "deny"
module_inception = "warn"
module_name_repetitions = "allow"
needless_pass_by_value = "warn"
panic = "deny"
print_stderr = "allow"
print_stdout = "allow"
redundant_clone = "warn"
semicolon_if_nothing_returned = "warn"
similar_names = "allow"
struct_field_names = "allow"
todo = "deny"
too_many_arguments = "deny"
trivially_copy_pass_by_ref = "warn"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unnecessary_wraps = "warn"
unwrap_used = "deny"
wildcard_imports = "warn"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "allow"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1