1
1
mirror of https://github.com/oxalica/nil.git synced 2024-08-16 22:20:31 +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:
- os: ubuntu-latest
# Should be sync with Cargo.toml
channel: '1.68'
channel: '1.70'
runs-on: ${{ matrix.os }}
steps:
- name: Checkout

1
Cargo.lock generated
View File

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

View File

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

View File

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

View File

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