fountain_scheme 2.3.0 moves padded source-block planning into its Rust software package
The release puts block-size policy and padded encoding plans in the scheme layer.
Where the release places padding
fountain_scheme 2.3.0 packages configurable erasure coding schemes for Rust. Its change log places padded encoding and decoding, block-size policy and encoding plans in the scheme crate. It depends on fountain_engine 2.3.0 and drops fountain_utility as a runtime dependency. These changes clarify which package owns decisions about the source blocks and which runs the underlying coding operations. The crates.io record places the release at 09:56 Istanbul time. Docs.rs ran its own documentation build for the same version. That record identifies a successfully processed package and its build target. Runtime claims, especially those involving platform dependencies or external services, require their own observations. The checks below are examples an integrator could run.
Source blocks and the length of the tail
A file split into fixed-size symbols can leave a partial final symbol. The plan can keep track of the original size and the padded boundary. The receiver must reconstruct the correct original length as well as the byte values. A file that ends with real zero bytes can otherwise look like a shorter file after padding. Test payloads just below, at and just above a block boundary.
Exercise recovery with a defined loss pattern
A receiver can use repair symbols when some original symbols are missing. Keep the chosen scheme and settings in the record because a single repair count does not describe every configuration. Number the source symbols and remove two known positions from a fixed payload. Record which symbols were available when decoding started, whether it completed and which hash the output had. Repeat with another loss pattern and the same payload.
Keep the Raptor choices explicit
The package documents RaptorQ and Raptor-10 in separate modules. Endpoints still need to agree on the scheme and its parameters. Record the chosen scheme, block size, symbol size and original length in controlled tests. Running one fixed payload through two independent applications is a better interoperability exercise than assuming a shared name in their documentation establishes identical wire behavior.
Read dependency changes and runtime results separately
An integrator can compare the application’s dependency graph before and after the scheme update, including dependencies used only by test tools. A successful build does not establish that the application recovered the right number of bytes after losses. Store the payload length, loss pattern, selected scheme and checksum together. A fixture that ends in several real zeros helps catch accidental trimming.
Separate completion from output verification
A receiver may acquire sufficient symbols early. Record the completion signal separately from the checksum of the file ultimately written. Try different arrival orders with the same symbol set and compare the output length. Keep shape errors, insufficient information and successful reconstruction as distinguishable outcomes in the test report.
Photo · Richard Bartz , Munich aka Makro Freak / Wikimedia Commons ↗ · CC BY-SA 2.5
Sources and verification
- Primary sourcecrates.io ↗
- Technical documentPaket belgeleri ↗
- Reporting / cross-checkDocs.rs build ↗
Reader discussion
Which alternative architecture would you try for the same problem?
No comments yet. Be the first to contribute.
Write a comment