{"repo":"andogq/qubit","free":true,"listed":false,"github":"https://github.com/andogq/qubit","clone":"git clone https://github.com/andogq/qubit.git","description":"Seamless RPC for Rust & TypeScript","language":"Rust","stars":89,"topics":["rpc-framework","rust","ts","ts-rs","portfolio","api","trpc","trpc-rs","jsonrpc","serde"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Qubit: Seamless RPC For Rust & TypeScript Tired of wrestling with RPC boilerplate? Qubit simplifies communication between your Rust services and TypeScript clients, offering a type-safe and feature-rich development experience, so you can focus on building amazing applications. Features: - Generated Type-Safe Clients : Say goodbye to manual type definitions, Qubit automatically generates TypeScript clients based on your Rust API, ensuring a smooth development experience. - Subscriptions : Build real-time, data-driven applications with subscriptions, allowing for your Rust server to push data directly to connected TypeScript clients. - Build Modular APIs : Organise your API handlers into nested routers, ensuring simplicity and maintainability as your service grows. - Serde Compatibility : Leverage Serde for seamless data serialisation and deserialisation between Rust and TypeScript. - Built on JSONRPC 2.0 : Need a non-TypeScript client? Use any JSONRPC client in any language over WebSockets or HTTP. - Proven Base : Built on established libraries like ts-rs for type generation and jsonrpsee as the JSONRPC implementation. Getting Started 1. Add the required dependencies 2. Setup a Qubit router, and save the generated types 3. Attach the Qubit router to an Axum router, and start it 4. Make requests from the TypeScript client Examples Checkout all the examples in the examples directory. Cargo Features Feature Description -------------------- ----------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/andogq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andogq/qubit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}