Remove or wire up unused OutputWriter port #15

Open
opened 2026-07-25 11:17:53 +00:00 by GKaszewski · 0 comments
Owner

Severity: Medium

crates/domain/src/ports/output_writer.rs and crates/adapters/file-writer/, crates/adapters/stdout-writer/ exist as full adapter implementations, but the presentation layer in lib.rs does all I/O directly via std::fs::write and print! (lines 103-117).

The OutputWriter abstraction is dead code — it exists but is never wired up. Either use it or remove it.

**Severity: Medium** `crates/domain/src/ports/output_writer.rs` and `crates/adapters/file-writer/`, `crates/adapters/stdout-writer/` exist as full adapter implementations, but the presentation layer in `lib.rs` does all I/O directly via `std::fs::write` and `print!` (lines 103-117). The `OutputWriter` abstraction is dead code — it exists but is never wired up. Either use it or remove it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GKaszewski/archlens#15