Cargo Features

[dependencies]
allframe = { version = "0.1.28", default-features = false, features = ["otel", "health", "router", "router-graphql", "router-grpc", "router-grpc-tls", "router-full", "cqrs", "cqrs-allsource", "cqrs-postgres", "cqrs-rocksdb", "cqrs-sqlite", "offline", "vector-search", "keyword-search", "resilience", "security", "http-client", "otel-otlp", "metrics", "cache-memory", "cache-redis", "rate-limit", "utils"] }
default = cqrs, di, health, openapi, otel, router

These default features are set whenever allframe is added without default-features = false somewhere in the dependency tree.

di openapi otel default

Enables allframe-core

allframe-core:

Core features

health default

Enables health of allframe-core

router default

Enables allframe-core

allframe-core:

Router features

router-graphql

Enables router-graphql of allframe-core

router-grpc

Enables router-grpc of allframe-core

router-grpc-tls

Enables router-grpc-tls of allframe-core

allframe-core:

TLS features for gRPC (enables tonic TLS with rustls-ring)

router-full

Enables router-full of allframe-core

cqrs default

Enables allframe-core

allframe-core:

CQRS + Event Sourcing features (optional, not in default)

cqrs-allsource

Enables cqrs-allsource of allframe-core

allframe-core:

AllSource Core integration (production event store)

cqrs-postgres

DEPRECATED: Use cqrs-allsource instead. Will be removed in a future release.

Enables cqrs-postgres of allframe-core

cqrs-rocksdb

Enables cqrs-rocksdb of allframe-core

cqrs-sqlite

Enables cqrs-sqlite of allframe-core

offline

Enables offline of allframe-core

AllSource search features

Enables vector-search of allframe-core

Enables keyword-search of allframe-core

resilience

New modular features

Enables resilience of allframe-core

security

Enables security of allframe-core

allframe-core:

Security utilities

http-client

Enables http-client of allframe-core

allframe-core:

HTTP Client (re-exports reqwest for downstream use)

otel-otlp

Enables otel-otlp of allframe-core

metrics

Enables metrics of allframe-core

allframe-core:

Metrics (Prometheus metrics)

cache-memory

Enables cache-memory of allframe-core

allframe-core:

Caching infrastructure

cache-redis

Enables cache-redis of allframe-core

rate-limit

Enables rate-limit of allframe-core

allframe-core:

Rate limiting (basic governor re-export)

utils

Enables utils of allframe-core

allframe-core:

Utilities bundle