Crates.io | strong_rc |
lib.rs | strong_rc |
version | 0.1.4 |
source | src |
created_at | 2017-01-04 05:46:18.005562 |
updated_at | 2017-01-20 19:00:32.806533 |
description | Reference counting smart pointer without weak count |
homepage | https://github.com/Centril/rust_strong_rc |
repository | https://github.com/Centril/rust_strong_rc |
max_upload_size | |
id | 7914 |
size | 41,910 |
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.
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
.
strong_rc
is distributed under the terms of both the MIT license and
the Apache License (Version 2.0).