From 456e2c2c3fa8af4d345b422e7cda8b2cb8331e2f Mon Sep 17 00:00:00 2001 From: LingMan Date: Tue, 14 Feb 2023 13:02:41 +0100 Subject: [PATCH 1/2] Fix building chrono-fuzz Updating this was missed when adding `parse_from_xxx` methods to `DateTime` in https://github.com/chronotope/chrono/commit/925ca9985b3edf45655e3dc7525ade5ef4213189. --- fuzz/fuzz_targets/fuzz_reader.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzz/fuzz_targets/fuzz_reader.rs b/fuzz/fuzz_targets/fuzz_reader.rs index c93c587157..03de29bcab 100644 --- a/fuzz/fuzz_targets/fuzz_reader.rs +++ b/fuzz/fuzz_targets/fuzz_reader.rs @@ -4,7 +4,7 @@ use libfuzzer_sys::fuzz_target; fuzz_target!(|data: &[u8]| { use chrono::prelude::*; if let Ok(data) = std::str::from_utf8(data) { - let _ = DateTime::parse_from_rfc2822(data); - let _ = DateTime::parse_from_rfc3339(data); + let _ = DateTime::::parse_from_rfc2822(data); + let _ = DateTime::::parse_from_rfc3339(data); } }); From fc6ff432e9c6cfabe02b5a48d871174dd2205eb3 Mon Sep 17 00:00:00 2001 From: LingMan Date: Tue, 14 Feb 2023 14:33:11 +0100 Subject: [PATCH 2/2] Wrap all Dependabot ecosystem names in quotes No functional change but makes this file self-consistent and consistent with the Dependabot docs. --- .github/dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 55047562e7..0f67083a2f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,10 +1,10 @@ version: 2 updates: - - package-ecosystem: cargo + - package-ecosystem: "cargo" directory: "/" schedule: interval: "weekly" - - package-ecosystem: cargo + - package-ecosystem: "cargo" directory: "/fuzz/" schedule: interval: "weekly"