Crates

Ferrite is a Cargo workspace of focused crates. All first-party crates are pinned to =0.1.0 and shipped under the MIT license. Here's the full map, from core to ecosystem.

Core framework

CrateRoleStatus
ferrite-dashboardDevelopment dashboardStub — minimal placeholder output
ferrite-extrasSmall utilities/helpersScaffold
ferrite-frameworkUmbrella crate re-exporting runtime + macrosWorks
ferrite-macrosproc-macros (#[module], #[injectable], #[inject], #[controller], #[impl_controller], route + guard/interceptor attrs)Works
ferrite-runtimeRuntime: routing layers, guards/interceptors, request context, panics, WebSocket wiring typesWorks
ferrite-ormEntity + Repository<E> + in-memory storeWorks
ferrite-specShared trait/type definitions & LTS contract (FERRITE_LTS_MACRO_SURFACE_VERSION)Works
ferrite-swaggerOpenAPI 3.1 generation + Swagger UI routesWorks
ferrite-testingTestingModule harnessWorks
ferrite-cli / fr-cliThe fr binaryWorks

Ecosystem

CrateRoleStatus
ferrite-auth-jwtHS256 JWT service, AuthGuard, CurrentUserWorks
ferrite-auth-oauthGoogle/GitHub/Discord OAuth2 + OIDC flowsWorks
ferrite-cache-redisTyped Redis CacheServiceWorks
ferrite-cqrsCommand bus, inbox/outbox, query DBWorks
ferrite-graphqlGraphQL moduleStub — module + limited init only
ferrite-grpctonic-based gRPC serverWorks
ferrite-health/health indicatorsWorks
ferrite-i18nJSON catalogs + I18nServiceWorks
ferrite-kafkaKafka produce/consume + handler registryWorks
ferrite-logLogging integrationWorks (simple)
ferrite-natsNATS publish/subscribe + handler registryWorks
ferrite-orm-dieselDiesel adapterStub — provider present, no Pick/Store impls
ferrite-orm-seaSeaORM adapter + migrations harnessWorks
ferrite-orm-sqlxSQLx adapterStub — provider present, no Pick/Store impls
ferrite-queueIn-memory / Redis background jobsWorks
ferrite-schedulerCron jobs + CronTickerWorks
ferrite-throttlerRate limiting guard/interceptorWorks
ferrite-wsWebSocket gateways + roomsWorks

Feature flags on the umbrella crate

ferrite-framework gates ecosystem features so you compile only what you use:

use ferrite_framework::Orm;            // requires feature "Orm"
use ferrite_framework::Entity;         // requires feature "Orm"
FeaturePulls in
I18nferrite-i18n
Ormferrite-orm (no SQL deps)
wsferrite-ws
grpcferrite-grpc

Versioning & stability

  • Every first-party crate is =0.1.0 (exact-pinned, replace-first floating intentionally).
  • ferrite-spec carries the LTS macro surface version so generated code can be validated against a known contract.
  • Adding a new workspace member is a one-line change — see ferrite-workspace / Cargo.toml workspaces manifest.

Next steps