verid-0.3.0 is not a library.
Verid
Verid is a lightweight, modular CLI for code formatting and auditing --- designed to unify multiple developer workflows into a single, fast, and extensible tool.
Built with a focus on clarity, performance, and composability, Verid aims to help developers maintain clean and consistent codebases without heavy overhead.
โจ Features
- Formatting Engine
- Indentation normalization
- Line width wrapping
- Stable, idempotent formatting
- Audit Engine
- Static scanning
- Code quality checks
- Actionable reporting
- Rule Runner
- Composable formatting rules
- Deterministic execution
- Stable repeated runs
- CLI First
- Simple commands
- Script-friendly
- Lightweight execution
- Flags Command
- --only-fail -> show only high & critical issues
- --lang -> scan only spesific languages
- --check -> just check the file, not confirm it
- --format json -> Shows a different report display from the usual report, used for CI to be able to read the results of the audit
๐ฆ Installation
Install from github:
Install from crates.io:
๐ Usage
Format code
Audit code
Example
๐ง Philosophy
Verid is designed with a few core principles:
- Minimalism --- do one thing well
- Determinism --- same input, same output
- Composability --- rules can evolve and expand
- Performance --- optimized for speed and low overhead
๐ Project Structure
src/
โโโ formatting/
โ โโโ indent.rs
โ โโโ width.rs
โ โโโ runner.rs
โ โโโ mod.rs
โ
โโโ audit/
โ โโโ scanner.rs
โ โโโ detector.rs
โ โโโ reporter.rs
โ โโโ mod.rs
โ
โโโ cli.rs
โโโ main.rs
๐งช Development
Run checks:
Format code:
๐บ Roadmap
- Configuration file support
- Ignore patterns
- Plugin system
- Custom rule definitions
- Performance improvements
๐ค Contributing
Contributions are welcome.
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a pull request
๐ Security
If you discover a vulnerability or security issue, please report it responsibly via issues or private communication with the maintainer.
๐ License
This project is licensed under the MIT License.
โค๏ธ Acknowledgements
Inspired by modern developer tooling philosophy and the Rust ecosystem.