Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
|
5bbbd24ff1 | 4 months ago |
|
7458e55aa2 | 4 months ago |
|
1c489d8a56 | 7 months ago |
|
667e4dcca7 | 7 months ago |
|
80accd90dc | 8 months ago |
|
34e9e42c2d | 1 year ago |
|
0c1b102290 | 1 year ago |
|
497a85a9c7 | 1 year ago |
|
882727c7c5 | 1 year ago |
@ -0,0 +1,25 @@
|
||||
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,12 +1,20 @@
|
||||
--- anstream-0.6.7/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ anstream-0.6.7/Cargo.toml 2024-01-13T20:33:07.049395+00:00
|
||||
@@ -137,8 +137,5 @@
|
||||
--- anstream-0.6.18/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ anstream-0.6.18/Cargo.toml 2024-11-12T19:40:40.845345+00:00
|
||||
@@ -155,11 +155,7 @@
|
||||
"wincon",
|
||||
]
|
||||
test = []
|
||||
-wincon = ["dep:anstyle-wincon"]
|
||||
+wincon = []
|
||||
|
||||
-
|
||||
-[target."cfg(windows)".dependencies.anstyle-wincon]
|
||||
-version = "3.0.1"
|
||||
-version = "3.0.5"
|
||||
-optional = true
|
||||
+wincon = []
|
||||
|
||||
[lints.clippy]
|
||||
bool_assert_comparison = "allow"
|
||||
@@ -231,3 +227,4 @@
|
||||
[lints.rust.rust_2018_idioms]
|
||||
level = "warn"
|
||||
priority = -1
|
||||
+
|
||||
|
@ -0,0 +1,6 @@
|
||||
[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.7.crate) = 54231141acec85947e4b24f2a27c02c406a2cfe40e92a39b4f38c4b5234e1ca8a27021bb15c759c927d40448ad6203656a3841cc51e480b962fb1ebf199a3522
|
||||
SHA512 (anstream-0.6.18.crate) = 5149977d6f7b5e9cf6350f1ef130caa3ff46c7e78976358452a185ce196cdd77fee48a3a9838f434ae6ea9c15b19f6bfbab156edf819f81179d6774318f08963
|
||||
|
Loading…
Reference in new issue