Skip to content

Commit

Permalink
Merge pull request #41 from notriddle/master
Browse files Browse the repository at this point in the history
Bump MSRV
  • Loading branch information
notriddle authored Feb 19, 2024
2 parents 2444e8a + 6c037b0 commit a804afe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
rust: ["1.60.0", "stable", "beta"]
rust: ["1.70.0", "stable", "beta"]
os: [ubuntu-latest]
cargo_params: ["--features=version-sync", "--features=serde"]
steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Parse and validate Web [Content-Security-Policy level 3](https://www.w3.org/TR/CSP/)

[![Crates.IO](https://img.shields.io/crates/v/content-security-policy.svg)](https://crates.rs/crates/content-security-policy)
![Requires rustc 1.60.0](https://img.shields.io/badge/rustc-1.60.0+-green.svg)
![Requires rustc 1.70.0](https://img.shields.io/badge/rustc-1.70.0+-green.svg)

This function parses a CSP string into a data structure, and provides a bunch of functions you can call on it (basically all of the "hooks" defined in the CSP standard). It directly uses the `url` crate, but it's intentionally agnostic to your HTML parser and your networking stack, so there are a few things it doesn't do:

Expand Down

0 comments on commit a804afe

Please sign in to comment.