Add mutant excludes for deprecated to_hex methods
What changed, and why it matters
This commit only updates the mutation-testing configuration file to skip testing two additional deprecated methods. It does not change any production code, cryptographic logic, network handling, or user-facing behavior. There is no security issue here.
No action required; this is a benign configuration-only change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds two regular-expression excludes to .cargo/mutants.toml so that cargo-mutants will not generate mutants for Script
Changed components
.cargo/mutants.tomlInspect captured patch +2 / −0
diff --git a/.cargo/mutants.toml b/.cargo/mutants.toml
index 153d25fe..52de7abf 100644
--- a/.cargo/mutants.toml
+++ b/.cargo/mutants.toml
@@ -39,5 +39,7 @@ exclude_re = [
"fmt_debug_pretty", # Mutants from formatting/display changes
"CompactTarget::to_hex", # Deprecated
"Script::to_hex", # Deprecated
+ "Script<T>::to_hex", # Deprecated
"ScriptBuf::to_hex", # Deprecated
+ "ScriptBuf<T>::to_hex", # Deprecated
]
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.