Skip to content

chore: drop dead rmp_serde meta (de)serializer and stale allow(unused) - #85

Merged
Kinflou merged 2 commits into
masterfrom
chore/drop-dead-rmp-serde-and-stale-allows
Oct 11, 2026
Merged

Kinflou merged 2 commits into
masterfrom
chore/drop-dead-rmp-serde-and-stale-allows

Conversation

@Kinflou

@Kinflou Kinflou commented Oct 11, 2026

Copy link
Copy Markdown
Member

Summary

Two commits that were pushed to feat/cbor-ir-format after #84 was already merged, so they never made it into master - re-opening them against current master.

  • Deletes cas/meta.rs's from_schema_meta/to_schema_meta (zero callers anywhere; to_schema_meta was never even implemented, just todo!()), and drops the now-unused rmp/rmp-serde deps. Same pattern as the dead FrozenUnit::Parameter removed in feat: replace bincode's position-based CAS encoding with name-tagged CBOR #84: a third, unused serialization path alongside the CBOR one.
  • Drops stale #[allow(unused)] on IncrementalInterpreter/its Compile impl - confirmed removing them produces no dead-code warnings, i.e. the type is genuinely used now. Also removes an already-inert commented-out legacy block and a stale use.

No behavior change either way.

Test plan

Kinflou added 2 commits October 12, 2026 02:17
from_schema_meta/to_schema_meta in cas/meta.rs had zero callers anywhere
in the codebase - to_schema_meta was never even implemented (todo!()).
Same pattern as FrozenUnit::Parameter earlier in this PR: a third,
unused serialization path alongside the now-unified CBOR one. Drops the
rmp/rmp-serde dependencies entirely.
…terpreter

IncrementalInterpreter and its Compile impl are genuinely used now - the
allow(unused) attributes predate that and no longer apply (confirmed:
removing them produces no dead-code warnings). Also drops a commented-out
legacy from_ast/from_sourced_whole block and a stale use import, both
already inert.
@Kinflou
Kinflou merged commit 0bc7a3e into master Oct 11, 2026
9 checks passed
@Kinflou
Kinflou deleted the chore/drop-dead-rmp-serde-and-stale-allows branch November 8, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant