From 81d1eb5473e14bcd81f9eb79c69c2f600a47839d Mon Sep 17 00:00:00 2001 From: Teddy Tennant Date: Wed, 8 Jul 2026 12:38:47 -0400 Subject: [PATCH] Include debug_metadata natvis file in published package. The include allow-list added in #397 omitted debug_metadata/smallvec.natvis, which src/lib.rs references via debugger_visualizer(natvis_file = ...). As a result the published crate fails to compile whenever the debugger_visualizer feature is enabled (including docs.rs, which builds with --all-features on nightly) with "couldn't read src/../debug_metadata/smallvec.natvis". Ship the file so both docs.rs and downstream users of the feature build again. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b411d44..cb786f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["small", "vec", "vector", "stack", "no_std"] categories = ["data-structures"] readme = "README.md" documentation = "https://docs.rs/smallvec/" -include = ["Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "README.md", "src/**/*.rs"] +include = ["Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "README.md", "src/**/*.rs", "debug_metadata/*.natvis"] [features] const_generics = []