Skip to content

Commit

Permalink
Dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Feb 2, 2024
1 parent 3bf5aa8 commit ac1dade
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 117 deletions.
175 changes: 63 additions & 112 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ edition = "2021"

# Dependency versions used by multiple crates.
[workspace.dependencies]
dirs = "5.0"
directories = "5.0"
log = "0.4"
scopeguard = "1.2"
serde = "1"
Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition.workspace = true
[dependencies]
async-recursion = "1.0"
bstr = "1.9"
directories = "3.0"
dirs.workspace = true
futures = "0.3"
log.workspace = true
regex = "1.10"
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub(crate) fn load_module() -> Result<Value, Exception> {
async fn cd(_fiber: &mut Fiber, args: Vec<Value>) -> Result<Value, Exception> {
let dir = match args.first() {
Some(value) => value.to_string().into(),
None => directories::BaseDirs::new().unwrap().home_dir().to_owned(),
None => dirs::home_dir().unwrap()
};

// TODO: Should fibers have independent working directories?
Expand Down
5 changes: 2 additions & 3 deletions shell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ license.workspace = true
edition.workspace = true

[dependencies]
clipboard = "0.5"
directories = "3.0"
directories.workspace = true
exitcode = "1.1"
flume = "0.11"
futures = "0.3"
Expand All @@ -32,7 +31,7 @@ version = "2.1"
features = ["with-backtrace"]

[dependencies.rusqlite]
version = "0.25"
version = "0.30"
features = ["bundled"]

[dependencies.serde]
Expand Down

0 comments on commit ac1dade

Please sign in to comment.