diff --git a/Cargo.toml b/Cargo.toml index dff98cfbc9796..2bb144a3e0754 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -139,6 +139,7 @@ align = [] rustc-dep-of-std = ['align', 'rustc-std-workspace-core'] extra_traits = [] const-extern-fn = [] +newer-api = [] # use_std is deprecated, use `std` instead use_std = ['std'] diff --git a/README.md b/README.md index 29d2a4b6160f7..4d61d43d19609 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,9 @@ libc = "0.2" If you use Rust >= 1.62, this feature is implicitly enabled. Otherwise it requires a nightly rustc. +* `newer-api`: Opt-in the items from newer APIs. + This feature may introduce breaking changes on any releases. + * **deprecated**: `use_std` is deprecated, and is equivalent to `std`. ## Rust version support