| Crates.io | twice-cell |
| lib.rs | twice-cell |
| version | 0.1.1 |
| created_at | 2024-09-13 22:35:10.538664+00 |
| updated_at | 2025-01-16 18:26:29.636843+00 |
| description | Like `once-cell`, except you set the value twice. |
| homepage | https://github.com/caass/twice-cell |
| repository | https://github.com/caass/twice-cell.git |
| max_upload_size | |
| id | 1374205 |
| size | 52,071 |
It's like once-cell, except you set the value twice.
I don't actually use this crate, since I figured out in the course of building it that I could just use a different pattern with OnceCell. Go figure! I'm still happy to accept pull requests, however, and will respond to issues while they exist in my github inbox.
In particular, I don't really remember most of the implementation details of this crate. I know I tried halfheartedly to add a new nightly feature, but since I gave up on that it wound up just being more noise for the already overworked rust maintainers. Sorry!
Licensed under Apache 2.0 or MIT, at your option.