How programmerbnd/draftscope works
DraftScope’s sampled Rust runtime is a command-line batch processor: it builds configuration, creates an App, processes generated integers sequentially or in parallel, and can write a JSON summary. The README describes real-time collaborative-document feedback, but the sampled implementation shows no document watching, collaboration, or feedback workflow; the CLI’s input argument is not used. The graph reflects the implemented workflow, not those unverified product claims.
Main entry points: lib.rs App orchestrator · main.rs Command-line entry
Components 10
CLI entry
- Command-line entry
src/main.rs - Runtime configuration
src/lib.rs
Processing runtime
- App orchestrator
src/lib.rs - Generated input data
src/lib.rs - Sequential processing
src/lib.rs - Parallel processing
src/lib.rs - Processing stats
src/lib.rs
Results output
- JSON result
src/lib.rs
Other components
- CLI user
- Output filesystem
Connections 9
- CLI user → Command-line entry: invokes
src/main.rs - Command-line entry → Runtime configuration: builds
src/main.rs - Command-line entry → App orchestrator: runs
src/main.rs - App orchestrator → Processing stats: updates
src/lib.rs - App orchestrator → Generated input data: generates
src/lib.rs - App orchestrator → Sequential processing: calls when sequential
src/lib.rs - App orchestrator → Parallel processing: calls when parallel
src/lib.rs - App orchestrator → JSON result: serializes when requested
src/lib.rs - App orchestrator → Output filesystem: writes when requested
src/lib.rs