Package: rust-utf8-decode Version: 2.0.0-1 Severity: serious
The autopkgtests for rust-utf8-decode are failing because one of the examples requies the std feature to be enabled, but this is not declared in Cargo.toml patch fixing this is attatched.
diff -Nru rust-utf8-decode-2.0.0/debian/changelog rust-utf8-decode-2.0.0/debian/changelog --- rust-utf8-decode-2.0.0/debian/changelog 2026-02-27 07:45:45.000000000 +0000 +++ rust-utf8-decode-2.0.0/debian/changelog 2026-03-17 10:48:31.000000000 +0000 @@ -1,3 +1,10 @@ +rust-utf8-decode (2.0.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix feature requirements for example. + + -- Peter Michael Green <[email protected]> Tue, 17 Mar 2026 10:48:31 +0000 + rust-utf8-decode (2.0.0-1) sid; urgency=medium * Updating vcs fields. diff -Nru rust-utf8-decode-2.0.0/debian/patches/fix-example-feature-requirements.patch rust-utf8-decode-2.0.0/debian/patches/fix-example-feature-requirements.patch --- rust-utf8-decode-2.0.0/debian/patches/fix-example-feature-requirements.patch 1970-01-01 00:00:00.000000000 +0000 +++ rust-utf8-decode-2.0.0/debian/patches/fix-example-feature-requirements.patch 2026-03-17 10:45:05.000000000 +0000 @@ -0,0 +1,12 @@ +Index: utf8-decode/Cargo.toml +=================================================================== +--- utf8-decode.orig/Cargo.toml ++++ utf8-decode/Cargo.toml +@@ -44,6 +44,7 @@ path = "src/lib.rs" + [[example]] + name = "fallible" + path = "examples/fallible.rs" ++required-features = ["std"] + + [[example]] + name = "infallible" diff -Nru rust-utf8-decode-2.0.0/debian/patches/series rust-utf8-decode-2.0.0/debian/patches/series --- rust-utf8-decode-2.0.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ rust-utf8-decode-2.0.0/debian/patches/series 2026-03-17 10:43:37.000000000 +0000 @@ -0,0 +1 @@ +fix-example-feature-requirements.patch

