#microservices #secret

microkit

MicroKit library for creating a service

19 breaking releases

Uses new Rust 2024

0.35.0 Feb 12, 2026
0.33.0 Feb 12, 2026

#2110 in Authentication


Used in microkit-cli

Custom license

47KB
962 lines

microkit

Core library for building microservices with Axum, providing database integration, secret fetching, authentication, observability, and API documentation.

WIP: Eventing/Messaging via dapr

Installation

[dependencies]
microkit = "*"

Features

  • tracing - Structured logging with tracing (enabled by default)
  • database - SeaORM database integration (enabled by default)
  • auth - OIDC authentication support (enabled by default)
  • dapr - Dapr integration for microservices (enabled by default)
  • health-checks - Health check endpoints at /status/ready and /status/live (enabled by default)
  • swagger - Swagger UI documentation (enabled by default)
  • redoc - Redoc documentation (opt-in)
  • rapidoc - Rapidoc documentation (opt-in)
  • scalar - Scalar documentation (opt-in)
  • otel - OpenTelemetry support for metrics and tracing (enabled by default)

Basic Usage

See the Template API.

Configuration

See the Template Config.

Tooling

See the MicroKit CLI for scaffolding tools.

Dependencies

~14–44MB
~660K SLoC