diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc15ee1..dd70edb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: diff --git a/README.md b/README.md index 3405878..4bfb24d 100644 --- a/README.md +++ b/README.md @@ -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: