Spikard is a Rust-centric multi-language HTTP toolkit providing a high-performance core library and language bindings (Python, Node.js, Ruby, PHP, WebAssembly) to build and validate typed web services. The Ruby binding uses Magnus for zero-overhead FFI, providing Sinatra-style routing, full async/await support, WebSockets, Server-Sent Events, request validation with JSON Schema and dry-schema, lifecycle hooks, dependency injection, and comprehensive middleware stack (compression, rate limiting, authentication). Features: - Zero-copy Rust-to-Ruby serialization via Magnus - Async-first with Tokio and Axum backing - Type-safe RBS type definitions for Steep - Tower-HTTP middleware stack - Lifecycle hooks (onRequest, preValidation, preHandler, onResponse, onError) - Built-in WebSocket and SSE support - Request validation with JSON Schema
Required Ruby Version
>= 3.2.0
Authors
Na'aman Hirschfeld
Versions
- 0.16.1 July 02, 2026 (7.25 MB)
- 0.16.0 July 02, 2026 (7.25 MB)
- 0.16.0.pre.rc.4 June 25, 2026 (7.24 MB)
- 0.16.0.pre.rc.3 June 21, 2026 (7.25 MB)
- 0.16.0.pre.rc.2 June 20, 2026 (7.25 MB)
- 0.4.0 December 14, 2025 arm64-darwin-23 (270 KB)