You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@copilot This is a mechanical file move. Create crates/logfwd-input/ and move tail.rs, input.rs, checkpoint.rs from crates/logfwd-core/src/. Update all imports across the workspace. No backward compat needed — just update the import paths everywhere. All existing tests must pass.
Read dev-docs/DIRECTION.md and dev-docs/CRATE_RULES.md for context on the crate restructuring.
Activity
strawgate commentedon Mar 30, 2026
@copilot This is a mechanical file move. Create
crates/logfwd-input/and movetail.rs,input.rs,checkpoint.rsfromcrates/logfwd-core/src/. Update all imports across the workspace. No backward compat needed — just update the import paths everywhere. All existing tests must pass.Read
dev-docs/DIRECTION.mdanddev-docs/CRATE_RULES.mdfor context on the crate restructuring.strawgate commentedon Mar 31, 2026
@copilot Step 1 (logfwd-arrow) has merged. You can now do Step 2.
Create
crates/logfwd-input/and move IO-dependent code out of logfwd-core. No backward compatibility needed — just move files and update all imports.Files to move:
crates/logfwd-core/src/tail.rs→crates/logfwd-input/src/tail.rscrates/logfwd-core/src/input.rs→crates/logfwd-input/src/input.rscrates/logfwd-core/src/checkpoint.rs→crates/logfwd-input/src/checkpoint.rsSteps:
Create
crates/logfwd-input/Cargo.tomlwith these deps:Create
crates/logfwd-input/src/lib.rswithpub mod tail; pub mod input; pub mod checkpoint;Move the three files, update
use crate::touse logfwd_core::where they reference core types (likefilter_hints)Remove
pub mod tail;,pub mod input;,pub mod checkpoint;fromcrates/logfwd-core/src/lib.rsDelete the old files from logfwd-core
Remove now-unused deps from logfwd-core's Cargo.toml:
crossbeam-channel,glob,notify,serde_json,xxhash-rust(check each is truly unused first)Add
logfwd-input = { path = "../logfwd-input" }to workspace members in root Cargo.tomlAdd
logfwd-inputas dependency to crates that import these modules (logfwd binary, logfwd-bench if applicable)Update ALL imports across the workspace:
logfwd_core::tail→logfwd_input::tail, etc.cargo testandcargo clippy -- -D warningsmust pass.Read
dev-docs/DIRECTION.mdfor context.[-]Phase 1b: Create logfwd-input crate, move file tailer + IO[/-][+]Create logfwd-input crate, move file tailer + IO[/+]strawgate commentedon Mar 31, 2026
Superseded by logfwd-io crate created in PR #375. IO modules moved there.