diff --git a/Cargo.toml b/Cargo.toml index 9728f3c..ae9366e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pregel-rs" -version = "0.0.12" +version = "0.0.13" authors = [ "Ángel Iglesias Préstamo " ] description = "A Graph library written in Rust for implementing your own algorithms in a Pregel fashion" documentation = "https://docs.rs/crate/pregel-rs/latest" diff --git a/README.md b/README.md index 8a11925..4cb13e8 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ cargo new my_pregel_project ```toml [dependencies] -pregel-rs = "0.0.12" +pregel-rs = "0.0.13" ``` 4. _Implement your graph algorithm_: Now you can start implementing your graph diff --git a/src/graph_frame.rs b/src/graph_frame.rs index 711d6e3..b6d0f0e 100644 --- a/src/graph_frame.rs +++ b/src/graph_frame.rs @@ -13,6 +13,7 @@ use std::{error, fmt}; /// /// * `edges`: The `edges` property is a `DataFrame` that represents the edges of a /// graph. It must contain -- at least -- two columns: Src and Dst. +#[derive(Clone)] pub struct GraphFrame { /// The `vertices` property is a `DataFrame` that represents the nodes in a graph. pub vertices: DataFrame,