[package]
edition = "2021"
rust-version = "1.86"
name = "allframe"
version = "0.1.17"
authors = ["AllFrame Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Complete Rust web framework with built-in HTTP/2 server, REST/GraphQL/gRPC, compile-time DI, CQRS - TDD from day zero"
homepage = "https://all-source-os.github.io/all-frame"
documentation = "https://docs.rs/allframe"
readme = "README.md"
keywords = [
"web",
"framework",
"api",
"tdd",
"clean-architecture",
]
categories = [
"web-programming::http-server",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/all-source-os/all-frame"
[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"]
cqrs-sqlite = ["allframe-core/cqrs-sqlite"]
default = [
"di",
"openapi",
"router",
"otel",
"cqrs",
"health",
]
di = ["allframe-core/di"]
health = ["allframe-core/health"]
http-client = ["allframe-core/http-client"]
keyword-search = ["allframe-core/keyword-search"]
metrics = ["allframe-core/metrics"]
offline = ["allframe-core/offline"]
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"]
vector-search = ["allframe-core/vector-search"]
[lib]
name = "allframe"
path = "src/lib.rs"
[[bin]]
name = "allframe"
path = "src/bin/allframe.rs"
[[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 = "offline_desktop"
path = "examples/offline_desktop.rs"
[[example]]
name = "resilience"
path = "examples/resilience.rs"
required-features = ["resilience"]
[[example]]
name = "resilient_payment_service"
path = "examples/resilient_payment_service.rs"
required-features = ["resilience"]
[[example]]
name = "rest_api"
path = "examples/rest_api.rs"
[[example]]
name = "security"
path = "examples/security.rs"
required-features = ["security"]
[[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 = "08_offline_first"
path = "tests/08_offline_first.rs"
[[test]]
name = "09_offline_quality_gates"
path = "tests/09_offline_quality_gates.rs"
[[test]]
name = "feature_flags"
path = "tests/feature_flags.rs"
[[bench]]
name = "resilience_performance"
path = "benches/resilience_performance.rs"
[dependencies.allframe-core]
version = "0.1.17"
features = [
"di",
"openapi",
"router",
"otel",
"cqrs",
]
default-features = false
[dependencies.allframe-forge]
version = "0.1.17"
[dependencies.anyhow]
version = "1.0.75"
[dev-dependencies.allframe-macros]
version = "0.1.17"
[dev-dependencies.allframe-mcp]
version = "0.1.14"
[dev-dependencies.allframe-tauri]
version = "0.1.17"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.predicates]
version = "3.0"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.thiserror]
version = "2.0"
[dev-dependencies.tokio]
version = "1.48"
features = ["full"]
[dev-dependencies.toml]
version = "0.8"
[dev-dependencies.tracing]
version = "0.1"
[profile.bench]
opt-level = 3
lto = true
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.test]
opt-level = 0
debug = 2