#algorithm #maze #naive #solving #testing #executor #generate

labirust

Naive rust crate for implementing and testing maze solving Algorithms

5 unstable releases

0.3.0 May 30, 2022
0.2.1 May 29, 2022
0.2.0 May 29, 2022
0.1.1 May 29, 2022
0.1.0 May 29, 2022

#1789 in Algorithms

32 downloads per month
Used in labirust-cli

MIT license

28KB
666 lines

Labirust

Labyrinths, in Rust.


Description

Naive rust crate for implementing and testing maze solving Algorithms.

Context

Hi, I am a junior rust dev (yes, how original, I know) and this is one of the small projects I do to learn the language and feel its system or learn its good practices.

Usage

If you want to see what the library is capable of, you can try the CLI, either by clonning this repo and building it with cargo or by installing it through the crates.io depot.

# installation
cargo install labirust-cli

# usage
labirust-cli --help

If you want to implement more resolution algorithm yourself and for some reason you think this is the right crate to provide frameworks, you can explore the crate documentation and add this crate to your project dependencies.

# in Cargo.toml
[dependencies]
labirust = "0.3"

lib.rs:

Labirust

This crate is a small and naive implementation of several Algorithms resolving Mazes.

  • It exposes the Algorithm trait encapsulating the behavior of such an algorithm.
  • It also provides structures to generate Maze (generate) and execute said algorithms on them (Executor).

Dependencies

~335–475KB