Skip to content

Commit

Permalink
bring the unstable features back (but make them do nothing)
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 26, 2024
1 parent f7902d0 commit fdcba72
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
- Clarify documentation about macro indirection
- Added changelog
- Turn the crate into a thin stdlib wrapper on rustc>=1.77
- Remove `unstable_offset_of` and `unstable_const`; they are not needed any more on recent nightlies
- Turn `unstable_offset_of` and `unstable_const` into NOPs; they are not needed any more on recent nightlies

## v0.9.0 (18/05/2023)
### Added
- Cargo feature `unstable_offset_of` which turns the crate into an stdlib polyfill
- Cargo feature `unstable_offset_of` which turns the crate into a stdlib polyfill

## v0.8.0 (15/12/2022)
### Changed
Expand Down
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ autocfg = "1"

[dev-dependencies]
doc-comment = "0.3"

[features]
default = []
# NOP features, solely so that people do not have to change their Cargo.toml
unstable_offset_of = []
unstable_const = []

0 comments on commit fdcba72

Please sign in to comment.