nightly strong_rc

Reference counting smart pointer without weak count

5 releases

Uses old Rust 2015

0.1.4 Jan 20, 2017
0.1.3 Jan 19, 2017
0.1.2 Jan 5, 2017
0.1.1 Jan 4, 2017
0.1.0 Jan 4, 2017

MIT/Apache

35KB
336 lines

strong_rc

This library is an implementation of strong-only reference counted smart pointers in Rust. All applicable methods have identical names as in std::rc, and so this can be used as a drop in replacement for that.

Build Status Build status Crates.io

Documentation

Usage

First, add this to your Cargo.toml:

[dependencies]
strong_rc = "0.1.4"

Next, add this to your crate:

extern crate strong_rc;
use strong_rc::Rc;

Then you should consult the documentation, or simply use it as if it were std::rc.

License

strong_rc is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

No runtime deps