Adding actix_csrf library as a dependency

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

cargo add actix-csrf

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

actix-csrf = "0.8.0"

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

Back to the crate overview.