diff --git a/CHANGELOG.md b/CHANGELOG.md index b2abfec..2d0679f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index fbe180c..ec272b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 = []