Skip to content

Commit

Permalink
rename dependency to help make doctests work, too
Browse files Browse the repository at this point in the history
  • Loading branch information
steffahn committed Nov 11, 2023
1 parent 566cedd commit e131b1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@

#![no_std]

pub use self_cell::self_cell;
pub use new_self_cell::self_cell;

0 comments on commit e131b1a

Please sign in to comment.