Skip to content

Conversation

@onceandtwice
Copy link

Replace the current Rust-based base2048 dependency with a Python alternative (mikeshardmind-base2048) to drop the Cargo/Rust requirement while also keeping functionality identical. Comprehensive Base2048 tests with reference vectors generated from the original Rust package to prove encoding/decoding compatibility and probe integration have also been added.

The following have been changed:
Dependencies: base2048 → mikeshardmind-base2048>=1.0.2 in pyproject.toml and requirements.txt.
Tests: tests/probes/test_base2048.py covers encoding/decoding parity with the original Base2048 outputs (reference vectors), roundtrip for all bytes/lengths, realistic payloads (ASCII/Unicode), API contract, pure-Python check, and InjectBase2048 probe integration. Includes a Docker command to regenerate the reference vectors used in comparison.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

DCO Assistant Lite bot All contributors have signed the DCO ✍️ ✅

@onceandtwice onceandtwice force-pushed the housekeeping/lighter-base-2048 branch from caadf9a to 795a5d9 Compare December 8, 2025 05:19
@onceandtwice
Copy link
Author

I have read the DCO Document and I hereby sign the DCO

@onceandtwice
Copy link
Author

recheck

github-actions bot added a commit that referenced this pull request Dec 8, 2025
@leondz
Copy link
Collaborator

leondz commented Dec 8, 2025

Thank you - will review and validate

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.

2 participants