verid 0.2.0

Verid - Security auditing and formatting tool for developers
# Verid

[![Crates.io](https://img.shields.io/crates/v/verid.svg)](https://crates.io/crates/verid)
[![Downloads](https://img.shields.io/crates/d/verid.svg)](https://crates.io/crates/verid)
[![License](https://img.shields.io/crates/l/verid.svg)](LICENSE)
[![Rust](https://img.shields.io/badge/rust-2024%20edition-orange.svg)](https://www.rust-lang.org)

**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

------------------------------------------------------------------------

## ๐Ÿ“ฆ Installation

Install from github:

```bash
git install https://github.com/haqqimuazzam1-hue/verid
```

Install from crates.io:

```bash
cargo install verid
```

------------------------------------------------------------------------

## ๐Ÿš€ Usage

### Format code

``` bash
verid format <path>
```

### Audit code

``` bash
verid audit <path>
```

### Example

``` bash
verid format src/
verid audit src/
```

------------------------------------------------------------------------

## ๐Ÿง  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:

``` bash
cargo check
cargo clippy -- -D warnings
cargo test
```

Format code:

``` bash
cargo fmt
```

------------------------------------------------------------------------

## ๐Ÿ—บ Roadmap

-   Configuration file support
-   Ignore patterns
-   Plugin system
-   Custom rule definitions
-   Performance improvements

------------------------------------------------------------------------

## ๐Ÿค Contributing

Contributions are welcome.

1.  Fork the repository
2.  Create a feature branch
3.  Commit your changes
4.  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.