Getting started
Adding buzzrs to the project
Section titled “Adding buzzrs to the project”To use buzzrs inside your Rust project, you need to add it first. There are several ways to add it.
Via crates.io
Section titled “Via crates.io”The crate is published on crates.io for easy usage.
cargo add buzzrsVia Github
Section titled “Via Github”cargo add --git https://github.com/philxws692/buzzrsLocally
Section titled “Locally”First you need to clone the repository to a local path:
git clone git@github.com:philxws692/buzzrs.gitThen you need to add it to your project
cargo add --path path/to/buzzrsAssume the following structure
Directorybuzzrs/
- …
Directoryawesome-project
Directorysrc
- main.rs
- …
- Cargo.toml
- …
Inside your awesome-project directory you would need to use the following path:
cargo add --path ../buzzrsHaving fun
Section titled “Having fun”Thats it! Now you can use buzzrs inside of your project.