| 1 | Descriptionscip-debian debian rust-codespan-reporting 0.12.0-2 rust-codespan-reporting/patches/`fix-tests-without-termcolor-feature.patch`#Description.: Fix test failure when termcolor feature is disabled |
| 2 | Add required-features = ["termcolor"] to examples and tests that depend on |
| 3 | termcolor functionality. This prevents compilation errors when testing with |
| 4 | the `--no-default-features` flag, as these examples and tests |
| 5 | unconditionally import termcolor types that are only available when the |
| 6 | termcolor feature is enabled |
| 7 | Authorscip-debian debian rust-codespan-reporting 0.12.0-2 rust-codespan-reporting/patches/`fix-tests-without-termcolor-feature.patch`#Author.: Nadzeya Hutsko <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 8 | Forwardedscip-debian debian rust-codespan-reporting 0.12.0-2 rust-codespan-reporting/patches/`fix-tests-without-termcolor-feature.patch`#Forwarded.: https://github.com/brendanzab/codespan/issues/399 |
| 9 | Last-Updatescip-debian debian rust-codespan-reporting 0.12.0-2 rust-codespan-reporting/patches/`fix-tests-without-termcolor-feature.patch`#Last-Update.: 2025-09-29 |
| 10 | --- |
| 11 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 12 | --- a/Cargo.tomlscip-debian debian rust-codespan-reporting 0.12.0-2 rust-codespan-reporting/upstream/`Cargo.toml`: |
| 13 | +++ b/Cargo.tomlscip-debian debian rust-codespan-reporting 0.12.0-2 rust-codespan-reporting/upstream/`Cargo.toml`: |
| 14 | @@ -49,22 +49,27 @@ |
| 15 | [[example]] |
| 16 | name = "custom_files" |
| 17 | path = "examples/custom_files.rs" |
| 18 | +required-features = ["termcolor"] |
| 19 | |
| 20 | [[example]] |
| 21 | name = "readme_preview" |
| 22 | path = "examples/readme_preview.rs" |
| 23 | +required-features = ["termcolor"] |
| 24 | |
| 25 | [[example]] |
| 26 | name = "reusable_diagnostic" |
| 27 | path = "examples/reusable_diagnostic.rs" |
| 28 | +required-features = ["termcolor"] |
| 29 | |
| 30 | [[example]] |
| 31 | name = "term" |
| 32 | path = "examples/term.rs" |
| 33 | +required-features = ["termcolor"] |
| 34 | |
| 35 | [[test]] |
| 36 | name = "term" |
| 37 | path = "tests/term.rs" |
| 38 | +required-features = ["termcolor"] |
| 39 | |
| 40 | [dependencies.serde] |
| 41 | version = "1" |