MCPcopy Create free account
hub / github.com/KingOfBugbounty/enumrust / new

Method new

src/parallel_executor.rs:141–149  ·  view source on GitHub ↗
(config: ParallelConfig)

Source from the content-addressed store, hash-verified

139
140impl ParallelNucleiExecutor {
141 pub fn new(config: ParallelConfig) -> Self {
142 let workers = config.nuclei_workers;
143 Self {
144 config,
145 semaphore: Arc::new(Semaphore::new(workers)),
146 completed: Arc::new(AtomicUsize::new(0)),
147 total: Arc::new(AtomicUsize::new(0)),
148 }
149 }
150
151 /// Execute Nuclei scan with parallel batching
152 pub async fn execute_parallel(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected