refactor: split the parser crate and move the recorder into the lib #14
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/split-record-and-format"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two structural changes, plus their cascade.
record::run(socket, &RecordOpts)now mirrorsserve::run(socket, cast, ServeOpts); main.rs is the command line alone (flags, file I/O, dispatch).crates/felis-cast-format(the parser, serde_json only) andcrates/felis-cast(unit grammar,record,serve, CLI, every felis dependency). A program that only reads recordings, such as felis-reel, no longer builds felis at felis-cast's tag.just format-deps, now part ofjust check, refuses a felis crate in the parser's graph.Why
recordandservestay together and why the parser does not is in the newdocs/explanation/architecture.md.Also:
mutants.out/is ignored, the doc-cascade sweep grepscrates/, and the README shows how to depend on the parser from git.Verified:
just check,just msrv,nix build .#default(71 tests in the sandbox),just fuzz 10, a git-pinned consumer offelis-cast-formatresolving to serde_json alone, and the packaged binary recording aservereplay.