crates/rspack_binding_api/README.md
Shared binding API for Rspack, providing bridge interfaces between Rspack core functionality and Node.js/browser environments.
rspack_binding_api is the core binding layer in the Rspack project, responsible for exposing Rspack core functionality written in Rust to JavaScript/TypeScript environments. It provides complete API interfaces for compilation, building, module processing, and other functionalities.
browser: Enable browser environment supportdebug_tool: Enable debug toolsplugin: Enable SWC plugin supportsftrace-setup: Enable performance tracing setup⚠️ Version Compatibility Warning
This repository does not follow Semantic Versioning (SemVer).
🚨 This package's API should NOT be used as a public Rust API
This crate is designed to be linked as a C dynamic library during Rspack binding generation, not as a public Rust API for external consumption.
If you're working on Rspack itself:
If you're an external developer:
If you're a user of Rspack custom binding:
rspack_binding_builder to build your own binding