1 unstable release
0.1.0 | Jun 21, 2024 |
---|
#2348 in Data structures
Used in binary-tree-view
6KB
90 lines
Binary Tree Crate
A simple binary tree implementation in Rust using smart pointers (Rc
and RefCell
). This crate provides basic functionalities to build, insert, and print elements of a binary tree.
Features
- Insert elements into the binary tree.
- Print the binary tree structure with indentation.
Getting Started
Prerequisites
- Rust and Cargo installed on your system. You can get it from rustup.rs.
Installation
To use this crate, add it to your Cargo.toml
:
[dependencies]
simple_binary_tree = "0.1.0"