summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2025-01-24 22:41:15 +0200
committerZhongheng Liu <z.liu@outlook.com.gr>2025-01-24 22:41:15 +0200
commit2df06be1ce3b8693d50dbbadc4e47e2be2d6b0fd (patch)
tree471df5f92e0c607d2f54d7ff98036c92b6fce60a /src/lib.rs
downloadtree-rs-2df06be1ce3b8693d50dbbadc4e47e2be2d6b0fd.tar.gz
tree-rs-2df06be1ce3b8693d50dbbadc4e47e2be2d6b0fd.tar.bz2
tree-rs-2df06be1ce3b8693d50dbbadc4e47e2be2d6b0fd.zip
init: init project
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..27ef0f6
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,15 @@
+//! Rust implementation of a binary tree.
+//!
+//! Work in progress.
+//!
+//! TODOS::
+//! - Understanding how complex borrows work
+//! - Apply correct value lifetime declarations
+//! - Make it efficient by implementing borrow
+//! - Removing requirement for `Copy` trait
+
+mod tree;
+pub use tree::{Tree, TreeNode};
+
+#[cfg(test)]
+mod tests;