Adding random_lcg library as a dependency

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

cargo add random_lcg

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

random_lcg = "0.3.1"

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

Back to the crate overview.