Rust Code Masking Tool
Mask and anonymize type names, function names, variable names, and values in the browser while preserving the structure of your Rust code.
Font size
About this tool
Before sharing Rust code, you can replace project-specific identifiers and values with alternative values while preserving ownership and type syntax.
Features
- Rust's struct, enum, trait, impl, and async syntax
- Masking/anonymization of types, functions, variables, strings, numbers, and nested comments
How to use
- Paste the Rust code into the input field.
- Select what to mask and how to handle comments.
- Check and copy the masking results.
- You can remove masking individually by right-clicking on the target area of the masking result, and reapply by right-clicking again.
Limitations
- It does not guarantee complete parsing equivalent to rustc or proc macros.
- Visually check macro inputs and identifiers in generated code.
Privacy: The input contents and processing results are processed within the browser and are not sent to or saved on the Develop Tools server.