Docs.rs
viz-core-0.4.8
viz-core 0.4.8
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
fundon
Dependencies
async-compression ^0.3.15
normal
async-trait ^0.1.64
normal
base64 ^0.21.0
normal
bytes ^1.4
normal
cookie ^0.17.0
normal
dyn-clone ^1.0.10
normal
form-data ^0.4.2
normal
futures-util ^0.3.26
normal
getrandom ^0.2.8
normal
headers ^0.3.8
normal
http ^0.2.9
normal
http-body ^0.4.5
normal
hyper ^0.14
normal
mime ^0.3.16
normal
opentelemetry ^0.18.0
normal
opentelemetry-semantic-conventions ^0.10.0
normal
rfc7239 ^0.1.0
normal
serde ^1.0
normal
serde_json ^1.0
normal
serde_urlencoded ^0.7
normal
sessions-core ^0.4.0
normal
thiserror ^1.0.38
normal
tokio ^1.25
normal
tokio-stream ^0.1.11
normal
tokio-tungstenite ^0.18
normal
tokio-util ^0.7.7
normal
tokio ^1.25
dev
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Module csrf
Structs
Enums
Functions
?
Module
viz_core
::
middleware
::
csrf
source
·
[
−
]
Available on
crate feature
csrf
only.
Expand description
CSRF Middleware.
Structs
Config
A configuration for
CsrfMiddleware
.
CsrfMiddleware
CSRF middleware.
CsrfToken
Extracts CSRF token via cookie or session.
Enums
Store
The CSRF token source that is cookie or session.
Functions
generate
Generates Token
secret
Gets random secret
verify
Verifys Token with a secret