spikard-ffi 0.15.2

Rust-centric multi-language HTTP framework with polyglot bindings
docs.rs failed to build spikard-ffi-0.15.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Spikard FFI

C/C++ FFI bindings for the spikard HTTP framework. Stable ABI shared library for native integration, cross-language bridging (Go, Zig, Kotlin JNI), and embedding the Rust HTTP core into any C-compatible host.

Installation

cargo add spikard-ffi

System Requirements

  • C99 or C++11 compiler; spikard-ffi static/shared library from GitHub Releases

Quick Start

See the spikard repository for usage examples and guides.

Features

  • HTTP routing — type-safe route definitions with path, query, and body parameter validation
  • OpenAPI / AsyncAPI / GraphQL / JSON-RPC — code generation and spec parsing built in
  • Tower middleware — compression, rate limiting, timeouts, auth (JWT/API key), static files
  • Lifecycle hooksonRequest, preValidation, preHandler, onResponse, onError
  • Fixture-driven testing — shared JSON fixtures drive tests across all language bindings
  • Polyglot — single Rust core, thin bindings for Python, Node.js, Ruby, PHP, Elixir, Go, Java, C#, Kotlin, Dart, Gleam, WASM, Swift, Zig, and C FFI

Documentation

  • Repository — source code, examples, and contributing guide
  • Examples — working examples per language
  • Issues — bug reports and feature requests

Contributing

Contributions are welcome. See CONTRIBUTING.md.

License

MIT License — see LICENSE for details.