What problem does it solve?
This Skill provides a comprehensive guide and architectural patterns for creating robust, polyglot Rust extensions, enabling seamless integration with various programming languages.
Core Features & Use Cases
- Multi-language Support: Develop bindings for Python (PyO3/Maturin), Node.js/Bun (napi-rs), and C ABI.
- Workspace Architecture: Structure your Rust project for maintainability with separate core logic and binding layers.
- Cross-Platform Distribution: Strategies for building and distributing wheels and npm packages.
- Use Case: You need to expose a high-performance Rust library to Python and Node.js applications, ensuring consistent behavior and efficient data transfer across language boundaries.
Quick Start
Use the rust-bindings skill to create Python bindings for a Rust core library using PyO3 and maturin.