cspgen

Crates.iocspgen
lib.rscspgen
version0.2.7
created_at2020-09-29 16:46:17.237156+00
updated_at2023-12-31 08:24:40.398026+00
descriptionCSP generation from an url
homepage
repository
max_upload_size
id294172
size40,392
Jean-Philippe Bidegain (aeyoll)

documentation

README

CSP Generation

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.

Usage

cspgen <URL1> <URL2>...

Args:

<URL1> <URL2>...    The urls to generate the CSP from

Development

git clone git@github.com:aeyoll/cspgen-rs.git
cd cspgen-rs
cargo run -- <URL1> <URL2>
Commit count: 0

cargo fmt