Seamless RPC for Rust & TypeScript
If you’re navigating the complexities of RPC setup, Qubit might just be the solution you’re looking for. This tool offers a seamless integration between Rust services and TypeScript clients, reducing the hassle of boilerplate configuration. With a focus on type-safety and developer productivity, Qubit allows you to direct your efforts toward crafting outstanding applications instead of getting bogged down by API communications.
The developer experience is enhanced significantly through automatic generation and real-time support, making it easier than ever to build modular, maintainable applications. As it leverages established libraries and protocols, Qubit stands as a reliable choice for modern development workflows.
Generated Type-Safe Clients: Qubit automatically generates TypeScript clients based on your Rust API, eliminating the need for manual type definitions and enhancing workflow efficiency.
Subscriptions: Create interactive applications effortlessly with support for real-time data flows, allowing your Rust server to push updates directly to connected TypeScript clients.
Build Modular APIs: Organize your API with nested routers for simplicity and maintainability, facilitating a scalable structure as your application grows.
Serde Compatibility: Utilize Serde to ensure smooth data serialization and deserialization between Rust and TypeScript, streamlining data handling.
Built on JSONRPC 2.0: Qubit’s flexibility allows integration with any JSONRPC client in various programming languages, usable over both WebSockets and HTTP.
Proven Base: Built on trusted libraries like ts-rs for type generation and jsonrpsee for JSONRPC implementation, offering a robust foundation for your projects.
Cargo Features: Customize your Qubit experience with various feature flags, such as TypeScript support for cron jobs, UUIDs, and more, ensuring all necessary tools are at your fingertips.