1
1
mirror of https://github.com/oxalica/nil.git synced 2024-11-26 02:48:06 +03:00

Replace is-terminal with std's and bump MSRV to 1.70

This commit is contained in:
oxalica 2023-07-19 17:11:57 +08:00
parent 0c4934ad67
commit f2d4f15e30
5 changed files with 3 additions and 5 deletions

View File

@ -37,7 +37,7 @@ jobs:
include: include:
- os: ubuntu-latest - os: ubuntu-latest
# Should be sync with Cargo.toml # Should be sync with Cargo.toml
channel: '1.68' channel: '1.70'
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout - name: Checkout

1
Cargo.lock generated
View File

@ -746,7 +746,6 @@ dependencies = [
"async-lsp", "async-lsp",
"codespan-reporting", "codespan-reporting",
"ide", "ide",
"is-terminal",
"log", "log",
"lsp-types", "lsp-types",
"macro_rules_attribute", "macro_rules_attribute",

View File

@ -14,7 +14,7 @@ version = "0.0.0"
edition = "2021" edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
# Should be sync with CI. # Should be sync with CI.
rust-version = "1.68" rust-version = "1.70"
[profile.dev] [profile.dev]
debug = 1 debug = 1

View File

@ -11,7 +11,6 @@ argh = "0.1.10"
async-lsp = "0.0.4" async-lsp = "0.0.4"
codespan-reporting = "0.11.1" codespan-reporting = "0.11.1"
ide = { path = "../ide" } ide = { path = "../ide" }
is-terminal = "0.4.7"
log = "0.4.17" log = "0.4.17"
lsp-types = "0.94.0" lsp-types = "0.94.0"
macro_rules_attribute = "0.2.0" macro_rules_attribute = "0.2.0"

View File

@ -2,7 +2,7 @@ use anyhow::{Context, Result};
use argh::FromArgs; use argh::FromArgs;
use codespan_reporting::term::termcolor::WriteColor; use codespan_reporting::term::termcolor::WriteColor;
use ide::{AnalysisHost, Severity}; use ide::{AnalysisHost, Severity};
use is_terminal::IsTerminal; use std::io::IsTerminal;
use std::path::{Path, PathBuf}; use std::path::{Path, PathBuf};
use std::sync::Arc; use std::sync::Arc;
use std::{env, fs, io, process}; use std::{env, fs, io, process};