Skip to content

v0.1.0: Workspace Foundation & Multi-Crate Architecture

Choose a tag to compare

@Foshati Foshati released this 12 Sep 09:20
· 992 commits to main since this release

Kuben v0.1.0 — Workspace Foundation & Multi-Crate Architecture

We are excited to announce the initial release of Kuben, a single-binary Kubernetes-native Platform-as-a-Service (PaaS). This release lays down the foundational multi-crate Cargo workspace, developer toolchains, and build pipeline optimizations.


Key Highlights & Architecture

  • Modular Rust Workspace (crates/):
    • kuben: Main CLI binary and runtime supervisor.
    • kuben-core: Foundational domain types, ULID identifiers, and shared error models.
    • kuben-crd: Custom Resource Definition types derived via kube-derive.
    • kuben-store: Universal database abstraction layer.
    • kuben-platform: Kubernetes reconciliation loops and informer managers.
    • kuben-api: Axum-powered REST API and Server-Sent Events engine.
  • Monorepo Tooling & Standards:
    • pnpm monorepo configuration uniting frontend web assets and backend Rust crates.
    • Biome (@biomejs/biome) configured for high-speed TypeScript linting and formatting.
    • Standardized task runner recipes via justfile (just build, just test, just lint).
  • Compiler Optimizations:
    • Release profile configured with lto = "fat", codegen-units = 1, panic = "unwind", and strip = true to produce lean, high-performance binaries.
    • Modern Rust 2024 edition targeting MSRV 1.94+.

Verification

  • Full workspace builds with zero Clippy warnings (-D warnings).
  • Code style strictly enforced across both Rust and TypeScript files.