make_public
make_public is a procedural macro attribute for Rust that automatically makes all fields in a struct public.
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Usage
use make_public;
// All fields will be public
Features
- Makes all fields in a struct public
- Works with any field type
- Preserves other attributes (like
derive) - Simple and easy to use
Running Tests
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.