mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 12:48:38 +00:00
We use prettyplease for formatting our generated code, Which has a lot of advantages over rustfmt, But sometimes it conflicts with our cargo fmt config, Since it isn't configurable I just added a `cargo fmt` step after the generation process to prevent conflicts. We might be able to not rely on prettyplease at all, But We have to test that one after we have most of our generated code, rustfmt usually bails on nested calls and macros so it might not work as our only solution. In contrast to that prettyplease is used in both bindgen and cargo-expand and is created for this exact reason(formatting generated code). |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||