mae 0.3.6

Opinionated async Rust framework for building Mae-Technologies micro-services — app scaffolding, repo layer, middleware, and test utilities.
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"
name = "mae"
version = "0.3.6"
build = false
exclude = [
    ".cargo",
    ".ci",
    ".git-hooks",
    ".github",
    ".rust_template_version",
    "Cargo.lock",
    "clippy.toml",
    "deny.toml",
    "deny.exceptions.toml",
    "rustfmt.toml",
    "DEVELOPMENT.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Opinionated async Rust framework for building Mae-Technologies micro-services — app scaffolding, repo layer, middleware, and test utilities."
homepage = "https://github.com/Mae-Technologies/mae"
documentation = "https://docs.rs/mae"
readme = "README.md"
keywords = [
    "microservice",
    "actix-web",
    "sqlx",
    "framework",
    "async",
]
categories = [
    "web-programming",
    "database",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Mae-Technologies/mae"

[features]
integration-testing = ["test-utils"]
test-utils = [
    "dep:pretty_assertions",
    "dep:testcontainers",
    "dep:testcontainers-modules",
    "dep:once_cell",
    "dep:dotenvy",
    "dep:url",
    "dep:shellexpand",
    "dep:reqwest",
]

[lib]
name = "mae"
path = "src/lib.rs"

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

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

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

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

[dependencies.actix-session]
version = "0.10.1"
features = ["redis-session-rustls"]

[dependencies.actix-web]
version = "4.12.1"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.chrono]
version = "0.4.43"
features = ["serde"]

[dependencies.config]
version = "0.15.19"

[dependencies.dotenvy]
version = "0.15.7"
optional = true

[dependencies.mae_macros]
version = "0.1.2"

[dependencies.neo4rs]
version = "0.8"

[dependencies.num]
version = "0.4.3"

[dependencies.once_cell]
version = "1"
optional = true

[dependencies.pretty_assertions]
version = "1.4.1"
optional = true

[dependencies.rand]
version = "0.9.2"
features = ["std_rng"]

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.rust_decimal]
version = "1"

[dependencies.secrecy]
version = "0.10.3"
features = ["serde"]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde-aux]
version = "4.7.0"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.shellexpand]
version = "3.1.1"
optional = true

[dependencies.sqlx]
version = "0.8.6"
features = [
    "chrono",
    "macros",
    "postgres",
    "runtime-async-std",
]
default-features = false

[dependencies.testcontainers]
version = "0.26"
optional = true

[dependencies.testcontainers-modules]
version = "0.14"
features = [
    "postgres",
    "neo4j",
    "redis",
    "rabbitmq",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "rt-multi-thread",
    "process",
]

[dependencies.tokio-macros]
version = "2.6.0"

[dependencies.tracing]
version = "0.1.44"
features = ["log"]
default-features = false

[dependencies.tracing-actix-web]
version = "0.7.21"

[dependencies.tracing-bunyan-formatter]
version = "0.3.10"

[dependencies.tracing-log]
version = "0.2.0"

[dependencies.tracing-subscriber]
version = "0.3.22"
features = [
    "env-filter",
    "registry",
]
default-features = false

[dependencies.url]
version = "2.5.8"
optional = true

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.dotenvy]
version = "0.15.7"

[dev-dependencies.neo4rs]
version = "0.8"

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

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.shellexpand]
version = "3.1.1"

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "postgres",
    "macros",
    "migrate",
]

[dev-dependencies.testcontainers]
version = "0.26"

[dev-dependencies.testcontainers-modules]
version = "0.14"
features = ["postgres"]

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

[dev-dependencies.url]
version = "2.5.8"

[dev-dependencies.uuid]
version = "1"
features = ["v4"]

[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"

[profile.test]
panic = "unwind"