2 releases

Uses old Rust 2015

0.1.1 Feb 2, 2016
0.1.0 Feb 2, 2016

#13 in #leak

Download history 7756/week @ 2025-08-18 6887/week @ 2025-08-25 7463/week @ 2025-09-01 9882/week @ 2025-09-08 9531/week @ 2025-09-15 10505/week @ 2025-09-22 11588/week @ 2025-09-29 9256/week @ 2025-10-06 9790/week @ 2025-10-13 8305/week @ 2025-10-20 10168/week @ 2025-10-27 10228/week @ 2025-11-03 7993/week @ 2025-11-10 9640/week @ 2025-11-17 7745/week @ 2025-11-24 8254/week @ 2025-12-01

34,744 downloads per month
Used in 67 crates (via io-surface)

MIT/Apache

2KB

Leaky cows: convert a clone-on-write reference into a plain reference. If it's just the plain reference, just return that. If it's the owned structure, leak it and return a reference to it.


Leaky cows

Build Status

Documentation

Adds a leak() method to Rust's Clone-On-Write pointer.

Dependencies

~4KB