| Crates.io | cargo-ovft |
| lib.rs | cargo-ovft |
| version | 0.1.2 |
| created_at | 2025-10-10 17:24:49.979599+00 |
| updated_at | 2025-10-11 07:13:35.411276+00 |
| description | A Cargo plugin for Open Very Fast Trace - requirements traceability for Rust projects |
| homepage | |
| repository | https://github.com/jFiedler24/open-very-fast-trace |
| max_upload_size | |
| id | 1877258 |
| size | 32,542 |
A Cargo plugin for Open Very Fast Trace (OVFT) - requirements traceability for Rust projects.
Install the cargo plugin:
cargo install cargo-ovft
Or build from source in this workspace:
cargo build -p cargo-ovft
Run requirements traceability analysis on your Rust project:
# Basic usage - analyze current project
cargo ovft
# Specify custom input directory and output file
cargo ovft --input docs/requirements --output trace_report.html
# Generate JSON output instead of HTML
cargo ovft --format json --output trace_report.json
# Verbose output
cargo ovft --verbose
# Check mode - exit with error code if issues found (useful for CI)
cargo ovft --check
cargo ovftRuns requirements traceability analysis on the current Cargo project.
Options:
-i, --input <DIR> - Input directory containing requirements files (default: ".")-o, --output <FILE> - Output HTML report file (default: "requirements_report.html")-f, --format <FORMAT> - Output format: "html" or "json" (default: "html")-v, --verbose - Enable verbose output-c, --check - Check for issues and return non-zero exit code if foundUse the --check flag in your CI pipeline to fail builds when requirements traceability issues are found:
# GitHub Actions example
- name: Check requirements traceability
run: cargo ovft --check
The plugin supports the OpenFastTrace format for requirements. Create requirements in Markdown files:
# Feature Requirements
## User Authentication
`feat~user-auth~1`
Users shall be able to authenticate using username and password.
Needs: dsn
## Login Process
`feat~login-process~1`
The system shall provide a login form.
Needs: dsn
Covers: feat~user-auth~1
And reference them in your Rust code:
// [impl->feat~login-process~1]
fn create_login_form() -> LoginForm {
// Implementation
}
This cargo plugin is part of the Open Very Fast Trace project, which brings OpenFastTrace-compatible requirements traceability to Rust projects.