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