Adding fltk library as a dependency

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

cargo add fltk2

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

fltk2 = "0.1.7"

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

Back to the crate overview.