From d5bfe6097f2bc63ac62338af2e5caece010396fa Mon Sep 17 00:00:00 2001 From: Alexander Batischev Date: Sun, 9 Aug 2026 18:00:50 +0300 Subject: [PATCH] Add note re hyphens in crate names In https://github.com/rustsec/advisory-db/pull/3128 I had to try a few different ways to mangle "gettext-rs". This commit ensures that future contributors don't have to re-discover that knowledge. --- EXAMPLE_ADVISORY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/EXAMPLE_ADVISORY.md b/EXAMPLE_ADVISORY.md index aa51cea75..17e96e802 100644 --- a/EXAMPLE_ADVISORY.md +++ b/EXAMPLE_ADVISORY.md @@ -20,6 +20,7 @@ keywords = ["example", "freeform", "keywords"] #os = ["windows"] #[affected.functions] +# NB: change hyphens in the crate name to underscores, i.e. "crate-name" -> "crate_name" #"crate_name::MyStruct::vulnerable_fn" = [">= 1.3.0, < 1.3.4"] [versions]