RubyGems Navigation menu

spikard 0.7.3

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

Gemfile:
=

install:
=

Versions:

  1. 0.8.0 December 31, 2025 (420 KB)
  2. 0.7.5 December 31, 2025 (389 KB)
  3. 0.7.4 December 31, 2025 (389 KB)
  4. 0.7.3 December 31, 2025 (389 KB)
  5. 0.7.2 December 31, 2025 (389 KB)
Show all versions (25 total)

Runtime Dependencies (2):

Owners:

Pushed by:

GitHub

Authors:

  • Na'aman Hirschfeld

SHA 256 checksum:

=

Total downloads 2,919

For this version 64

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: