Catalog crates.io
Back to packageRELEASE DETAILS

0.9.0

crates.io

actix-csrf-middleware

CSRF protection middleware for Actix Web applications. Supports double submit cookie and synchronizer token patterns (with actix-session) out of the box. Flexible, easy to configure, and includes test coverage for common attacks and edge cases.

actix-webcsrfmiddlewaresecurityweb
Published8 Sept 2026
Direct dependencies21
Transitive dependenciesNot calculated

Downloads & popularity

2downloads
1-day window · source-reported counts3 Oct 2026
1890
2026-09-08: 18 · observed 2026-10-20T21:36:22.3840484Z · period 2026-09-08–2026-09-082026-09-09: 1 · observed 2026-10-20T21:36:22.3840484Z · period 2026-09-09–2026-09-092026-09-18: 1 · observed 2026-10-20T21:36:22.3840484Z · period 2026-09-18–2026-09-182026-09-20: 3 · observed 2026-10-20T21:36:22.3840484Z · period 2026-09-20–2026-09-202026-09-21: 3 · observed 2026-10-20T21:36:22.3840484Z · period 2026-09-21–2026-09-212026-09-23: 1 · observed 2026-10-20T21:36:22.3840484Z · period 2026-09-23–2026-09-232026-10-03: 2 · observed 2026-10-20T21:36:22.3840484Z · period 2026-10-03–2026-10-03
8 Sept3 Oct

crates · 7 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-03 – 2026-10-0322026-10-20T21:36:22.3840484Z
2026-09-23 – 2026-09-2312026-10-20T21:36:22.3840484Z
2026-09-21 – 2026-09-2132026-10-20T21:36:22.3840484Z
2026-09-20 – 2026-09-2032026-10-20T21:36:22.3840484Z
2026-09-18 – 2026-09-1812026-10-20T21:36:22.3840484Z
2026-09-09 – 2026-09-0912026-10-20T21:36:22.3840484Z
2026-09-08 – 2026-09-08182026-10-20T21:36:22.3840484Z

Declared dependencies 22

Native requirements
21 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
actix-http
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^3runtime
actix-multipart
Environment
{
  "kind": "dev",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.7development
actix-rt
Environment
{
  "kind": "dev",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^2development
actix-utils
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^3runtime
actix-web
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [
    "compat",
    "secure-cookies"
  ],
  "default_features": false,
  "explicit_name": null
}
^4runtime
actix-web
Environment
{
  "kind": "dev",
  "optional": false,
  "target": null,
  "features": [
    "macros"
  ],
  "default_features": false,
  "explicit_name": null
}
^4development
base64
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.22runtime
criterion
Environment
{
  "kind": "dev",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.8development
futures-util
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.3runtime
hex
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.4runtime
hmac
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.13runtime
log
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.4runtime
pin-project-lite
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.2runtime
proptest
Environment
{
  "kind": "dev",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^1development
rand
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.10runtime
serde
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^1.0runtime
serde_json
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^1.0runtime
sha2
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^0.11runtime
subtle
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^2.6runtime
url
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^2.5runtime
zeroize
Environment
{
  "kind": "normal",
  "optional": false,
  "target": null,
  "features": [],
  "default_features": true,
  "explicit_name": null
}
^1runtime
actix-session
Environment
{
  "kind": "normal",
  "optional": true,
  "target": null,
  "features": [
    "cookie-session"
  ],
  "default_features": true,
  "explicit_name": null
}
^0.11optional

Distribution files

0 collected

No distribution files are present in the collected metadata.

Checksums from source
{
  "sha256": "d2f0e88e3cc12a9608ea60351d980bb9a3d0f5dad3c529c4d1990c238cf9c039"
}

Repository

PENDING
yoozzeek/actix-csrf-middleware

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 12:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:7e4e2b0fe16b25803432ea24d7d530a22b40e3f3468b8f93f6d4e9ffa6e735b3

Other collected versions

View all collected versions →