Skip to content

Commit

Permalink
fix: Add fs locks for important operations. (#1788)
Browse files Browse the repository at this point in the history
* Add api.

* Implement.

* Update changelog.

* Update changelog.

* Fix windows.

* Polish.

* Fixes.
  • Loading branch information
milesj authored Jan 11, 2025
1 parent 10dd201 commit 596664b
Show file tree
Hide file tree
Showing 13 changed files with 108 additions and 66 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

#### 🚀 Updates

- Added file locks for certain operations to avoid race collisions when multiple `moon` commands are
ran in parallel.

#### ⚙️ Internal

- Updated Rust to v1.84.
Expand Down
90 changes: 45 additions & 45 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ starbase_events = "0.6.6"
starbase_sandbox = "0.8.0"
starbase_shell = "0.6.10"
starbase_styles = { version = "0.4.4", features = ["relative-path"] }
starbase_utils = { version = "0.9.1", default-features = false, features = [
starbase_utils = { version = "0.9.4", default-features = false, features = [
"editor-config",
"miette",
] }
tera = { version = "1.20.0", features = ["preserve_order"] }
thiserror = "2.0.10"
thiserror = "2.0.11"
tokio = { version = "1.43.0", default-features = false, features = [
"macros",
"process",
Expand Down
Loading

0 comments on commit 596664b

Please sign in to comment.