Crates.io | recollection |
lib.rs | recollection |
version | 0.1.1-beta.0 |
source | src |
created_at | 2021-07-29 18:07:52.216531 |
updated_at | 2021-07-30 07:08:00.650406 |
description | implementations and reimplementations of common data structures and algorithms, and other personally commonly used utilities |
homepage | https://clp.is/projects/recollection |
repository | https://github.com/clpi/recollection |
max_upload_size | |
id | 428940 |
size | 61,367 |
implementations and re-implementations of common data structures and algorithms in rust very much so a work in progress in its infant stage
Cargo.toml
dependencies:[dependencies]
recollection = "^0.1"
use recollection::Graph;
let g = Graph::<&'static str, usize>::new();
let p1 = g.add("Person 1");
let p2 = g.add("Person 2");
let p1_p2 = g.add_edge(p1, p2, 4 as usize);
g.remove_edge(p1_p2);
g.remove(p1);
👤 Chris P