allframe 0.1.12

Complete Rust web framework with built-in HTTP/2 server, REST/GraphQL/gRPC, compile-time DI, CQRS - TDD from day zero
Documentation
[[bin]]
name = "allframe"
path = "src/bin/allframe.rs"

[dependencies.allframe-core]
default-features = false
features = ["di", "openapi", "router", "otel", "cqrs"]
version = "0.1.12"

[dependencies.allframe-forge]
version = "0.1.12"

[dependencies.anyhow]
version = "1.0.75"

[dev-dependencies.allframe-macros]
version = "0.1.12"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.predicates]
version = "3.0"

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

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

[dev-dependencies.tempfile]
version = "3.8"

[dev-dependencies.tokio]
features = ["full"]
version = "1.48"

[dev-dependencies.tracing]
version = "0.1"

[[example]]
name = "graphql_api"
path = "examples/graphql_api.rs"

[[example]]
name = "grpc_api"
path = "examples/grpc_api.rs"

[[example]]
name = "multi_protocol"
path = "examples/multi_protocol.rs"

[[example]]
name = "resilience"
path = "examples/resilience.rs"
required-features = ["resilience"]

[[example]]
name = "rest_api"
path = "examples/rest_api.rs"

[[example]]
name = "security"
path = "examples/security.rs"
required-features = ["security"]

[features]
cache-memory = ["allframe-core/cache-memory"]
cache-redis = ["allframe-core/cache-redis"]
cqrs = ["allframe-core/cqrs"]
cqrs-allsource = ["allframe-core/cqrs-allsource"]
cqrs-postgres = ["allframe-core/cqrs-postgres"]
cqrs-rocksdb = ["allframe-core/cqrs-rocksdb"]
default = ["di", "openapi", "router", "otel", "cqrs", "health"]
di = ["allframe-core/di"]
health = ["allframe-core/health"]
http-client = ["allframe-core/http-client"]
metrics = ["allframe-core/metrics"]
openapi = ["allframe-core/openapi"]
otel = ["allframe-core/otel"]
otel-otlp = ["allframe-core/otel-otlp"]
rate-limit = ["allframe-core/rate-limit"]
resilience = ["allframe-core/resilience"]
router = ["allframe-core/router"]
router-full = ["allframe-core/router-full"]
router-graphql = ["allframe-core/router-graphql"]
router-grpc = ["allframe-core/router-grpc"]
router-grpc-tls = ["allframe-core/router-grpc-tls"]
security = ["allframe-core/security"]
utils = ["allframe-core/utils"]

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

[package]
authors = ["AllFrame Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-server", "asynchronous"]
description = "Complete Rust web framework with built-in HTTP/2 server, REST/GraphQL/gRPC, compile-time DI, CQRS - TDD from day zero"
documentation = "https://docs.rs/allframe"
edition = "2021"
homepage = "https://all-source-os.github.io/all-frame"
keywords = ["web", "framework", "api", "tdd", "clean-architecture"]
license = "MIT OR Apache-2.0"
name = "allframe"
readme = "README.md"
repository = "https://github.com/all-source-os/all-frame"
rust-version = "1.86"
version = "0.1.12"

[profile.bench]
lto = true
opt-level = 3

[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = true

[profile.test]
debug = 2
opt-level = 0

[[test]]
name = "01_ignite_project"
path = "tests/01_ignite_project.rs"

[[test]]
name = "02_di_container"
path = "tests/02_di_container.rs"

[[test]]
name = "02_di_container_simple"
path = "tests/02_di_container_simple.rs"

[[test]]
name = "03_api_handler"
path = "tests/03_api_handler.rs"

[[test]]
name = "03_api_handler_simple"
path = "tests/03_api_handler_simple.rs"

[[test]]
name = "04_router_config"
path = "tests/04_router_config.rs"

[[test]]
name = "04_router_core"
path = "tests/04_router_core.rs"

[[test]]
name = "04_router_graphql"
path = "tests/04_router_graphql.rs"

[[test]]
name = "04_router_grpc"
path = "tests/04_router_grpc.rs"

[[test]]
name = "04_router_rest"
path = "tests/04_router_rest.rs"

[[test]]
name = "05_arch_integration"
path = "tests/05_arch_integration.rs"

[[test]]
name = "05_arch_layers"
path = "tests/05_arch_layers.rs"

[[test]]
name = "05_arch_violations"
path = "tests/05_arch_violations.rs"

[[test]]
name = "06_cqrs_commands"
path = "tests/06_cqrs_commands.rs"

[[test]]
name = "06_cqrs_events"
path = "tests/06_cqrs_events.rs"

[[test]]
name = "06_cqrs_integration"
path = "tests/06_cqrs_integration.rs"

[[test]]
name = "06_cqrs_property"
path = "tests/06_cqrs_property.rs"

[[test]]
name = "06_cqrs_queries"
path = "tests/06_cqrs_queries.rs"

[[test]]
name = "07_otel_context"
path = "tests/07_otel_context.rs"

[[test]]
name = "07_otel_export"
path = "tests/07_otel_export.rs"

[[test]]
name = "07_otel_integration"
path = "tests/07_otel_integration.rs"

[[test]]
name = "07_otel_metrics"
path = "tests/07_otel_metrics.rs"

[[test]]
name = "07_otel_tracing"
path = "tests/07_otel_tracing.rs"

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