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: 136,192 of 188,822
Downloads: 4,490

Daily

Ranking: 15,755 of 188,802
Downloads: 17

Depended by

RankDownloadsName

Depends on

RankDownloadsName
1,35830,381,636rb_sys
2,3788,547,539websocket-client-simple

Owners

#GravatarHandle
1iconnhirschfeld