simple-binary-tree

Crates.iosimple-binary-tree
lib.rssimple-binary-tree
version0.1.0
sourcesrc
created_at2024-06-21 12:37:39.066861
updated_at2024-06-21 12:37:39.066861
descriptionA simple binary tree view representation
homepagehttps://github.com/enosuity/binary-tree
repositoryhttps://github.com/enosuity/binary-tree
max_upload_size
id1279502
size6,140
Eno (enosuity)

documentation

README

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"
Commit count: 8

cargo fmt