Adding spl_shared_memory library as a dependency

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

cargo add spl-shared-memory

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

spl-shared-memory = "2.0.6"

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

Back to the crate overview.