Compare commits
No commits in common. 'epel10' and 'epel9' have entirely different histories.
@ -1,25 +0,0 @@
|
|||||||
From e0641952e15e81afd101652240828d30d7ee6726 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Fabio Valentini <decathorpe@gmail.com>
|
|
||||||
Date: Tue, 2 Jul 2024 14:24:40 +0200
|
|
||||||
Subject: [PATCH] drop is_terminal_polyfill and replace with
|
|
||||||
std::io::IsTerminal
|
|
||||||
|
|
||||||
---
|
|
||||||
src/stream.rs | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/stream.rs b/src/stream.rs
|
|
||||||
index b30d232..e8472c1 100644
|
|
||||||
--- a/src/stream.rs
|
|
||||||
+++ b/src/stream.rs
|
|
||||||
@@ -1,5 +1,7 @@
|
|
||||||
//! Higher-level traits to describe writeable streams
|
|
||||||
|
|
||||||
+use std::io as is_terminal_polyfill;
|
|
||||||
+
|
|
||||||
/// Required functionality for underlying [`std::io::Write`] for adaptation
|
|
||||||
#[cfg(not(all(windows, feature = "wincon")))]
|
|
||||||
pub trait RawStream: std::io::Write + IsTerminal + private::Sealed {}
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
@ -1,20 +1,12 @@
|
|||||||
--- anstream-0.6.18/Cargo.toml 1970-01-01T00:00:01+00:00
|
--- anstream-0.6.7/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||||
+++ anstream-0.6.18/Cargo.toml 2024-11-12T19:40:40.845345+00:00
|
+++ anstream-0.6.7/Cargo.toml 2024-01-13T20:33:07.049395+00:00
|
||||||
@@ -155,11 +155,7 @@
|
@@ -137,8 +137,5 @@
|
||||||
"wincon",
|
"wincon",
|
||||||
]
|
]
|
||||||
test = []
|
test = []
|
||||||
-wincon = ["dep:anstyle-wincon"]
|
-wincon = ["dep:anstyle-wincon"]
|
||||||
-
|
|
||||||
-[target."cfg(windows)".dependencies.anstyle-wincon]
|
|
||||||
-version = "3.0.5"
|
|
||||||
-optional = true
|
|
||||||
+wincon = []
|
+wincon = []
|
||||||
|
|
||||||
[lints.clippy]
|
-[target."cfg(windows)".dependencies.anstyle-wincon]
|
||||||
bool_assert_comparison = "allow"
|
-version = "3.0.1"
|
||||||
@@ -231,3 +227,4 @@
|
-optional = true
|
||||||
[lints.rust.rust_2018_idioms]
|
|
||||||
level = "warn"
|
|
||||||
priority = -1
|
|
||||||
+
|
|
||||||
|
@ -1,39 +1,40 @@
|
|||||||
--- anstream-0.6.18/Cargo.toml 1970-01-01T00:00:01+00:00
|
--- anstream-0.6.7/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||||
+++ anstream-0.6.18/Cargo.toml 2024-11-12T19:40:54.672409+00:00
|
+++ anstream-0.6.7/Cargo.toml 2024-01-13T20:33:29.402484+00:00
|
||||||
@@ -99,21 +99,6 @@
|
@@ -83,18 +83,6 @@
|
||||||
path = "examples/query-stream.rs"
|
[Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD"""
|
||||||
required-features = ["auto"]
|
search = "<!-- next-url -->"
|
||||||
|
|
||||||
-[[bench]]
|
-[[bench]]
|
||||||
-name = "stream"
|
-name = "strip"
|
||||||
-path = "benches/stream.rs"
|
|
||||||
-harness = false
|
-harness = false
|
||||||
-
|
-
|
||||||
-[[bench]]
|
-[[bench]]
|
||||||
-name = "strip"
|
-name = "wincon"
|
||||||
-path = "benches/strip.rs"
|
|
||||||
-harness = false
|
-harness = false
|
||||||
-
|
-
|
||||||
-[[bench]]
|
-[[bench]]
|
||||||
-name = "wincon"
|
-name = "stream"
|
||||||
-path = "benches/wincon.rs"
|
|
||||||
-harness = false
|
-harness = false
|
||||||
-
|
-
|
||||||
[dependencies.anstyle]
|
[dependencies.anstyle]
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
|
|
||||||
@@ -127,14 +112,8 @@
|
@@ -111,9 +99,6 @@
|
||||||
[dependencies.colorchoice]
|
|
||||||
version = "1.0.0"
|
|
||||||
|
|
||||||
-[dependencies.is_terminal_polyfill]
|
|
||||||
-version = "1.48"
|
|
||||||
-
|
|
||||||
[dependencies.utf8parse]
|
[dependencies.utf8parse]
|
||||||
version = "0.2.1"
|
version = "0.2.1"
|
||||||
-
|
-
|
||||||
-[dev-dependencies.divan]
|
-[dev-dependencies.criterion]
|
||||||
-version = "0.1.11"
|
-version = "0.5.1"
|
||||||
|
|
||||||
[dev-dependencies.lexopt]
|
[dev-dependencies.lexopt]
|
||||||
version = "0.3.0"
|
version = "0.3.0"
|
||||||
|
@@ -134,8 +119,5 @@
|
||||||
|
]
|
||||||
|
default = [
|
||||||
|
"auto",
|
||||||
|
- "wincon",
|
||||||
|
]
|
||||||
|
test = []
|
||||||
|
-wincon = []
|
||||||
|
-
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[package]
|
|
||||||
cargo-toml-patch-comments = [
|
|
||||||
"drop unused, benchmark-only divan dev-dependency",
|
|
||||||
"drop unnecessary is-terminal polyfill (MSRV 1.65 -> 1.70 is OK downstream)",
|
|
||||||
]
|
|
||||||
|
|
@ -1 +1 @@
|
|||||||
SHA512 (anstream-0.6.18.crate) = 5149977d6f7b5e9cf6350f1ef130caa3ff46c7e78976358452a185ce196cdd77fee48a3a9838f434ae6ea9c15b19f6bfbab156edf819f81179d6774318f08963
|
SHA512 (anstream-0.6.7.crate) = 54231141acec85947e4b24f2a27c02c406a2cfe40e92a39b4f38c4b5234e1ca8a27021bb15c759c927d40448ad6203656a3841cc51e480b962fb1ebf199a3522
|
||||||
|
Loading…
Reference in new issue