Adding libparted_sys library as a dependency
Run this command in a terminal, in your project's directory:
cargo add libparted-sys
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
libparted-sys = "0.3.2"
The libparted_sys library will be automatically available globally.
Read the libparted_sys library documentation.