Skip to content

Centril/rust_strong_rc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. Requires nightly Rust.

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).

About

Reference counting smart pointer without weak count

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages