mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
Patch is-terminal to the std-included IsTerminal
This commit is contained in:
parent
08adb3a199
commit
0983a49b29
3 changed files with 19 additions and 0 deletions
|
@ -36,6 +36,7 @@ members = [
|
|||
"coordinator/tributary",
|
||||
"coordinator",
|
||||
|
||||
"substrate/tree-cleanup/is-terminal",
|
||||
"substrate/tree-cleanup/option-ext",
|
||||
"substrate/tree-cleanup/directories-next",
|
||||
"substrate/tree-cleanup/bandersnatch_vrfs",
|
||||
|
@ -102,6 +103,9 @@ lazy_static = { git = "https://github.com/rust-lang-nursery/lazy-static.rs", rev
|
|||
sp-core-hashing = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "experimental" }
|
||||
sp-std = { git = "https://github.com/serai-dex/polkadot-sdk", branch = "experimental" }
|
||||
|
||||
# is-terminal now has an std-based solution with an equivalent API
|
||||
is-terminal = { path = "substrate/tree-cleanup/is-terminal" }
|
||||
|
||||
# directories-next was created because directories was unmaintained
|
||||
# directories-next is now unmaintained while directories is maintained
|
||||
# The directories author pulls in ridiculously pointless crates and prefers
|
||||
|
|
14
substrate/tree-cleanup/is-terminal/Cargo.toml
Normal file
14
substrate/tree-cleanup/is-terminal/Cargo.toml
Normal file
|
@ -0,0 +1,14 @@
|
|||
[package]
|
||||
name = "is-terminal"
|
||||
version = "0.4.9"
|
||||
description = "is-termiunal written around std::io::IsTerminal"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/serai-dex/serai/tree/develop/substrate/tree-cleanup/is-terminal"
|
||||
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
||||
keywords = []
|
||||
edition = "2021"
|
||||
rust-version = "1.70"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
1
substrate/tree-cleanup/is-terminal/src/lib.rs
Normal file
1
substrate/tree-cleanup/is-terminal/src/lib.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub use std::io::IsTerminal;
|
Loading…
Reference in a new issue