Commit 4a7295e
feat(rust): implement streaming API foundation (D1-D11)
- D1-D6: Create shared Rust crate with Encoder/Decoder traits, error types, buffer helpers, and WriteEncoder adapter
- D7: Adapt Huffman Rust with StreamingEncoder/StreamingDecoder
- D8: Adapt Arithmetic Rust with streaming wrappers
- D9: Adapt Range Rust with streaming traits
- D10: Adapt RLE Rust with streaming support
- D11: Add lifecycle tests for state machine validation
All algorithms now expose minimal buffered streaming APIs that match
the Go implementation contract. Tests verify lifecycle correctness.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 02e1fe1 commit 4a7295e
25 files changed
Lines changed: 3596 additions & 11 deletions
File tree
- algorithms
- arithmetic/rust
- src
- bin
- huffman/rust
- src
- bin
- range/rust
- src
- rle/rust
- src
- bin
- openspec/changes/add-streaming-api-foundation
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments