Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
fix #374 - remove 1.70.0 features
Browse files Browse the repository at this point in the history
  • Loading branch information
philpax committed Jul 16, 2023
1 parent dfede25 commit 64d79e8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions binaries/llm-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ tracing-subscriber = {workspace = true }
tracing = { workspace = true}
tracing-appender = "0.2.2"

# TEMPORARY: This was introduced in Rust 1.70, but our MSRV is below this.
# Remove this once we bump our MSRV to 1.70.
is-terminal = "0.4"

[dev-dependencies]
rusty-hook = "^0.11.2"

Expand Down
3 changes: 2 additions & 1 deletion binaries/llm-cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
use std::{
convert::Infallible,
fs::File,
io::{BufReader, BufWriter, IsTerminal},
io::{BufReader, BufWriter},
};

use clap::Parser;
use cli_args::Args;
use color_eyre::eyre::{self, Context, ContextCompat};
use is_terminal::IsTerminal;

mod cli_args;
mod interactive;
Expand Down
2 changes: 1 addition & 1 deletion crates/llm-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ thiserror = { workspace = true }
partial_sort = "0.2.0"
serde_bytes = "0.11"
memmap2 = { workspace = true }
half = "2.2.1"
half = "=2.2.1"
tokenizers = {version="0.13.3", default-features=false, features=["onig"]}
regex = "1.8"
tracing = { workspace = true }
Expand Down

0 comments on commit 64d79e8

Please sign in to comment.