update packages
This commit is contained in:
parent
4e61ca90f0
commit
e4b4c981d2
6 changed files with 282 additions and 339 deletions
605
Cargo.lock
generated
605
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -11,5 +11,5 @@ path = "src/main.rs"
|
|||
talc-lang = { path = "../talc-lang" }
|
||||
talc-std = { path = "../talc-std" }
|
||||
rustyline = "14.0"
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
clap = { version = "4.5", features = ["std", "help", "usage", "derive", "error-context"], default-features = false }
|
||||
ctrlc = "3.4"
|
||||
|
|
|
@ -142,7 +142,7 @@ impl Validator for TalcHelper {
|
|||
v => { mismatch = Some((v, t)); break }
|
||||
},
|
||||
"then" => match delims.pop() {
|
||||
Some("if") => delims.push(t),
|
||||
Some("if" | "elif") => delims.push(t),
|
||||
v => { mismatch = Some((v, t)); break }
|
||||
}
|
||||
"catch" => match delims.pop() {
|
||||
|
|
|
@ -4,13 +4,13 @@ version = "0.2.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
lalrpop-util = { version = "0.20", features = ["lexer", "unicode"] }
|
||||
lalrpop-util = { version = "0.22", features = ["lexer", "unicode"] }
|
||||
num-complex = "0.4"
|
||||
num-rational = { version = "0.4", default-features = false, features = [] }
|
||||
num-traits = "0.2"
|
||||
thiserror = "1.0"
|
||||
lazy_static = "1.4"
|
||||
lazy_static = "1.5"
|
||||
unicode-ident = "1.0"
|
||||
|
||||
[build-dependencies]
|
||||
lalrpop = { version = "0.20", default_features = false, features = ["lexer", "unicode"]}
|
||||
lalrpop = { version = "0.22", default-features = false, features = ["lexer", "unicode"]}
|
||||
|
|
|
@ -6,8 +6,8 @@ edition = "2021"
|
|||
[dependencies]
|
||||
talc-lang = { path = "../talc-lang" }
|
||||
talc-macros = { path = "../talc-macros" }
|
||||
lazy_static = "1.4"
|
||||
regex = "1.10"
|
||||
lazy_static = "1.5"
|
||||
regex = "1.11"
|
||||
rand = { version = "0.8", optional = true }
|
||||
|
||||
[features]
|
||||
|
|
|
@ -100,7 +100,7 @@ impl BufFile {
|
|||
fn try_into_raw_fd(self) -> std::result::Result<RawFd, IntoInnerError<BufWriter<File>>> {
|
||||
match self {
|
||||
BufFile::Buffered { r, w } => {
|
||||
w.into_inner()?.into_raw_fd();
|
||||
let _ = w.into_inner()?.into_raw_fd();
|
||||
Ok(r.into_inner().into_raw_fd())
|
||||
}
|
||||
BufFile::Unbuffered { f } => Ok(f.into_raw_fd()),
|
||||
|
|
Loading…
Reference in a new issue