diff --git a/Cargo.toml b/Cargo.toml index 1bef33f..dc65a34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,11 +21,11 @@ include = [ ] [dependencies] -self_cell = "1" +new_self_cell = { package = "self_cell", version = "1" } [features] # This optional feature lowers the minimum rustc version from 1.51 to 1.36. # However this requires polyfilling std library functionality for older rustc # with technically UB versions. Testing does not show older rustc versions # (ab)using this. Use at -old_rust = ["self_cell/old_rust"] +old_rust = ["new_self_cell/old_rust"] diff --git a/src/lib.rs b/src/lib.rs index e3e44b5..6b8fa47 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -159,4 +159,4 @@ #![no_std] -pub use self_cell::self_cell; \ No newline at end of file +pub use new_self_cell::self_cell;