Crates.io | cspgen |
lib.rs | cspgen |
version | 0.2.7 |
source | src |
created_at | 2020-09-29 16:46:17.237156 |
updated_at | 2023-12-31 08:24:40.398026 |
description | CSP generation from an url |
homepage | |
repository | |
max_upload_size | |
id | 294172 |
size | 40,392 |
Whoever has had to write CSP (Content Security Policy) knows that it is no picnic. This CLI written in Rust allows you to generate CSP headers from a given url, or multiple urls.
cspgen <URL1> <URL2>...
<URL1> <URL2>... The urls to generate the CSP from
git clone git@github.com:aeyoll/cspgen-rs.git
cd cspgen-rs
cargo run -- <URL1> <URL2>