Skip to content

Commit 4a7295e

Browse files
LessUpCopilot
andcommitted
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/Cargo.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
name = "arithmetic"
3+
version = "0.1.0"
4+
edition = "2021"
5+
rust-version = "1.70"
6+
7+
[[bin]]
8+
name = "arithmetic"
9+
path = "src/bin/arithmetic.rs"
10+
11+
[dependencies]
12+
compresskit-codec = { path = "../../shared/rust" }
13+
14+
[dev-dependencies]

0 commit comments

Comments
 (0)