#binary-tree #binary #tree #binary-tree-view #binary-tree-rust

simple-binary-tree

A simple binary tree view representation

1 unstable release

new 0.1.0 Jun 21, 2024

#1114 in Data structures

Download history 121/week @ 2024-06-17

121 downloads per month
Used in binary-tree-view

MIT license

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"

No runtime deps

Features