mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
380722976a
swc_common: - Add `Runtime` trait for plugin. - Implement `serde` for diagnostics. - Proxy diagnostics using `Runtime`. - Proxy `HygieneData::with` with `Runtime`. - Add implementation of `Runtime` with cargo feature `plugin-rt`. - Make `Runtime` implement `StableAbi`. swc_plugin: - Move api code to `swc_plugin_api`. - Depend on `swc_common/plugin-mode`. - Configure `Runtime` before invoking custom transforms. - Use `bincode` for serde. swc_plugin_runner: - Depend on `swc_common/plugin-rt`. - Pass `Runtime` implementation to the plugins. - Use `bincode` for serde. |
||
---|---|---|
.. | ||
benches | ||
examples | ||
src | ||
tests | ||
Cargo.toml |