Skip to content

Remove features "nightly", "small_rng"; remove old deprecated code#1732

Merged
dhardy merged 4 commits intomasterfrom
push-ukptzvsszylo
Feb 4, 2026
Merged

Remove features "nightly", "small_rng"; remove old deprecated code#1732
dhardy merged 4 commits intomasterfrom
push-ukptzvsszylo

Conversation

@dhardy
Copy link
Member

@dhardy dhardy commented Feb 4, 2026

  • Added a CHANGELOG.md entry

This feature is unused.

Old deprecated code (from v0.9.0) is removed. More recently deprecations have never been published (though "since" said 0.9.2, the changes have not yet been published), hence I bumped the "since" version to 0.10.0.

Removes the "small_rng" feature since I can't think of a single reason to keep it. (Marginally faster builds?) I tested the size of examples/monte-carlo.rs with/without this, and in debug builds disabling the feature saved 16B (of ~5MiB) while release builds saved 0B (using the mold linker). (See also #1419.)

@dhardy dhardy requested a review from newpavlov February 4, 2026 08:42
@dhardy dhardy changed the title Remove "nightly" feature Remove "nightly" feature and old deprecated code Feb 4, 2026
@dhardy dhardy force-pushed the push-ukptzvsszylo branch from e25260b to 410bc26 Compare February 4, 2026 08:53
@dhardy dhardy force-pushed the push-ukptzvsszylo branch from 410bc26 to 74fa1b4 Compare February 4, 2026 09:21
@dhardy dhardy changed the title Remove "nightly" feature and old deprecated code Remove features "nightly", "small_rng"; remove old deprecated code Feb 4, 2026
### Removals
- Removed `ReseedingRng` ([#1722])
- Removed unused feature "nightly" ([#1732])
- Removed feature `small_rng` ([#1732])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mention removed deprecated items.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal (or rename) was mentioned previously, so I don't see the need.

@dhardy dhardy merged commit 2e6a552 into master Feb 4, 2026
16 checks passed
@dhardy dhardy deleted the push-ukptzvsszylo branch February 4, 2026 10:22
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