Adding screen_size library as a dependency

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

cargo add screen_size

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

screen_size = "0.1.0"

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

Back to the crate overview.