From 4a8ae0a9289422040623dbba8aaf9ce94233e0d8 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Fri, 12 Jul 2024 08:13:36 -0700 Subject: [PATCH] Bump MSRV --- .github/workflows/main.yml | 2 +- Cargo.toml | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 800fe1d..78a9b41 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,7 @@ jobs: - name: Set toolchain run: | rustup set profile minimal - rustup override set 1.60.0 + rustup override set 1.61.0 - name: Check run: cargo check --lib --all-features env: diff --git a/Cargo.toml b/Cargo.toml index 08daa1e..20e1d44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ documentation = "https://docs.rs/ammonia/" repository = "https://github.com/rust-ammonia/ammonia" categories = [ "web-programming", "text-processing" ] edition = "2021" -rust-version = "1.60" +rust-version = "1.61" [dependencies] html5ever = "0.27" diff --git a/README.md b/README.md index ea32107..80c98f6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ HTML Sanitization ================= [![Crates.IO](https://img.shields.io/crates/v/ammonia.svg)](https://crates.io/crates/ammonia) -![Requires rustc 1.60.0](https://img.shields.io/badge/rustc-1.60.0+-green.svg) +![Requires rustc 1.61.0](https://img.shields.io/badge/rustc-1.61.0+-green.svg) Ammonia is a whitelist-based HTML sanitization library. It is designed to prevent cross-site scripting, layout breaking, and clickjacking caused