| Crates.io | nessus-launcher |
| lib.rs | nessus-launcher |
| version | 0.1.1 |
| created_at | 2026-01-18 20:06:52.339061+00 |
| updated_at | 2026-01-18 20:33:48.382831+00 |
| description | A high-level Rust library for launching Nessus scans with retries, parallelism, and structured logging. |
| homepage | https://github.com/alexw216/nessus-launcher |
| repository | https://github.com/alexw216/nessus-launcher |
| max_upload_size | |
| id | 2053004 |
| size | 73,020 |
A productionβgrade Rust library and CLI for launching Nessus scans with:
.env configurationtracing)Designed for automation, CI pipelines, and secure operational workflows.
[dependencies]
nessus-launcher = "0.1"
CLI (GitHub Releases)
cargo install nessus-cli
Quick Start (CLI)
Launch scans explicitly:
nessus-cli --scan 5 --scan 8
Or configure via .env:
NESSUS_HOST=https://nessus.example.com
NESSUS_USERNAME=admin
NESSUS_PASSWORD=secret
DEFAULT_SCAN_IDS=5,8,11
Then simply run:
nessus-cli
Library Example
use nessus_launcher::{NessusClient, NessusConfig, Result};
#[toktokio::main]
async fn main() -> Result<()> {
let config = NessusConfig::from_env()?;
let client = NessusClient::new(config)?;
client.launch_scans_parallel(vec![5, 8]).await?;
Ok(())
}
Documentation
Full API docs:
https://docs.rs/nessus-launcher (docs.rs in Bing)
Examples:
cargo run --example basic
cargo run --example parallel
Project Structure
nessus-launcher/
βββ src/ # Library source code
βββ nessus-cli/ # CLI binary crate
βββ examples/ # docs.rs examples
βββ tests/ # minimal tests
βββ scripts/ # build scripts
βββ .github/workflows/ # CI pipeline
βββ Makefile # build/run/release automation
βββ flake.nix # reproducible Nix environment
Development
Build
gmake build
Run CLI
gmake run ARGS="--scan 5"
Test
cargo test
Format and lint
cargo fmt
cargo clippy --all-targets -- -D warnings
Nix Development Shell
nix develop
cargo build
License
This project is licensed under the MIT License.
See LICENSE for details.
Acknowledgments
This project provides a clean, modern, async Rust interface for Nessus automation workflows, with a focus on reliability, reproducibility, and operational clarity.