This crate requires a nightly (unstable, experimental) compiler version. To switch to it, you must have Rust installed via Rustup, and run:

rustup default nightly

Run rustup default stable to switch back.

Adding basic_oop library as a dependency

Run this command in a terminal, in your project's directory:

cargo add basic-oop

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

basic-oop = "0.8.2"

The basic_oop library will be automatically available globally. Read the basic_oop library documentation.

Back to the crate overview.