diff options
Diffstat (limited to 'vendor/anstream/debian/patches')
4 files changed, 63 insertions, 0 deletions
diff --git a/vendor/anstream/debian/patches/disable-benches-missing-testdata.patch b/vendor/anstream/debian/patches/disable-benches-missing-testdata.patch new file mode 100644 index 0000000..9802fe1 --- /dev/null +++ b/vendor/anstream/debian/patches/disable-benches-missing-testdata.patch @@ -0,0 +1,29 @@ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -37,6 +37,7 @@ + categories = ["command-line-interface"] + license = "MIT OR Apache-2.0" + repository = "https://github.com/rust-cli/anstyle.git" ++autobenches = false + + [package.metadata.docs.rs] + cargo-args = [ +@@ -83,18 +84,6 @@ + [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD""" + search = "<!-- next-url -->" + +-[[bench]] +-name = "strip" +-harness = false +- +-[[bench]] +-name = "wincon" +-harness = false +- +-[[bench]] +-name = "stream" +-harness = false +- + [dependencies.anstyle] + version = "1.0.0" + diff --git a/vendor/anstream/debian/patches/drop-non-linux.patch b/vendor/anstream/debian/patches/drop-non-linux.patch new file mode 100644 index 0000000..f531257 --- /dev/null +++ b/vendor/anstream/debian/patches/drop-non-linux.patch @@ -0,0 +1,14 @@ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -131,11 +131,5 @@ + ] + default = [ + "auto", +- "wincon", + ] + test = [] +-wincon = ["dep:anstyle-wincon"] +- +-[target."cfg(windows)".dependencies.anstyle-wincon] +-version = "3.0.1" +-optional = true diff --git a/vendor/anstream/debian/patches/relax-dep.diff b/vendor/anstream/debian/patches/relax-dep.diff new file mode 100644 index 0000000..ac63dfe --- /dev/null +++ b/vendor/anstream/debian/patches/relax-dep.diff @@ -0,0 +1,17 @@ +Index: anstream/Cargo.toml +=================================================================== +--- anstream.orig/Cargo.toml ++++ anstream/Cargo.toml +@@ -108,10 +108,10 @@ version = "0.5.1" + version = "3.5.0" + + [dev-dependencies.proptest] +-version = "1.2.0" ++version = "1.0.0" + + [dev-dependencies.strip-ansi-escapes] +-version = "0.2.0" ++version = ">= 0.1.1, < 0.3" + + [features] + auto = [ diff --git a/vendor/anstream/debian/patches/series b/vendor/anstream/debian/patches/series new file mode 100644 index 0000000..50af666 --- /dev/null +++ b/vendor/anstream/debian/patches/series @@ -0,0 +1,3 @@ +drop-non-linux.patch +disable-benches-missing-testdata.patch +relax-dep.diff |