Skip to content

Commit

Permalink
fix: ensure brush-core builds outside workspace (#90)
Browse files Browse the repository at this point in the history
add 'term' feature to nix package dependency of brush-core
  • Loading branch information
reubeno authored Jun 19, 2024
1 parent c195bad commit 2393220
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions brush-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "brush-core"
description = "Reusable core of a POSIX/bash shell (used by brush-shell)"
version = "0.2.1"
version = "0.2.2"
categories.workspace = true
edition.workspace = true
keywords.workspace = true
Expand All @@ -19,7 +19,7 @@ workspace = true
[dependencies]
async-recursion = "1.1.0"
async-trait = "0.1.80"
brush-parser = { version = "^0.2.1", path = "../brush-parser" }
brush-parser = { version = "^0.2.2", path = "../brush-parser" }
cached = "0.51.3"
# N.B. Pin to 4.4.18 for now to keep to 1.72.0 as MSRV; 4.5.x requires a later version.
clap = { version = "=4.4.18", features = ["derive", "wrap_help"] }
Expand Down Expand Up @@ -47,7 +47,7 @@ whoami = "1.5.1"

[target.'cfg(unix)'.dependencies]
command-fds = "0.3.0"
nix = { version = "0.29.0", features = ["fs", "process", "signal", "user"] }
nix = { version = "0.29.0", features = ["fs", "process", "signal", "term", "user"] }
procfs = "0.16.0"
uzers = "0.12.0"

Expand Down
6 changes: 3 additions & 3 deletions brush-interactive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "brush-interactive"
description = "Interactive layer of brush-shell"
version = "0.2.1"
version = "0.2.2"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand All @@ -18,8 +18,8 @@ bench = false
workspace = true

[dependencies]
brush-parser = { version = "^0.2.1", path = "../brush-parser" }
brush-core = { version = "^0.2.1", path = "../brush-core" }
brush-parser = { version = "^0.2.2", path = "../brush-parser" }
brush-core = { version = "^0.2.2", path = "../brush-core" }
rustyline = { package = "brush-rustyline-fork", version = "14.0.1", features = [
"derive",
] }
Expand Down
2 changes: 1 addition & 1 deletion brush-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "brush-parser"
description = "POSIX/bash shell tokenizer and parsers (used by brush-shell)"
version = "0.2.1"
version = "0.2.2"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
8 changes: 4 additions & 4 deletions brush-shell/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "brush-shell"
description = "Rust-implemented shell focused on POSIX and bash compatibility"
version = "0.2.1"
version = "0.2.2"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand All @@ -25,9 +25,9 @@ harness = false
workspace = true

[dependencies]
brush-interactive = { version = "^0.2.1", path = "../brush-interactive" }
brush-parser = { version = "^0.2.1", path = "../brush-parser" }
brush-core = { version = "^0.2.1", path = "../brush-core" }
brush-interactive = { version = "^0.2.2", path = "../brush-interactive" }
brush-parser = { version = "^0.2.2", path = "../brush-parser" }
brush-core = { version = "^0.2.2", path = "../brush-core" }
# N.B. Pin to 4.4.18 for now to keep to 1.72.0 as MSRV; 4.5.x requires a later version.
clap = { version = "=4.4.18", features = ["derive", "wrap_help"] }
tokio = { version = "1.37.0", features = ["rt", "rt-multi-thread"] }
Expand Down

0 comments on commit 2393220

Please sign in to comment.