Categories: None [Edit]

spikard

https://rubygems.org/gems/spikard
https://github.com/Goldziher/spikard
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

Total

Ranking: 103,301 of 191,405
Downloads: 7,780

Daily

Ranking: 14,613 of 191,378
Downloads: 62

Depended by

RankDownloadsName

Depends on

RankDownloadsName
112400,121,521base64
1,34232,106,425rb_sys
2,3848,813,504websocket-client-simple

Owners

#GravatarHandle
1iconnhirschfeld