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: 178,024 of 188,317
Downloads: 1,828

Daily

Ranking: 7,869 of 188,299
Downloads: 134

Depended by

RankDownloadsName

Depends on

RankDownloadsName
2,3828,472,832websocket-client-simple

Owners

#GravatarHandle
1iconnhirschfeld