Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

worm-blossom/fairly_unsafe_cell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repo moved to https://codeberg.org/worm-blossom/fairly_unsafe_cell

Fairly Unsafe Cell

A hybrid between an UnsafeCell and a RefCell: comes with an unsafe but RefCell-like API that panics in test builds (#[cfg(test)]) when mutable access is not exclusive, but has no overhead (and allows for UB) in non-test builds.

About

A hybrid between an UnsafeCell and a RefCell

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages