Skip to content

Commit

Permalink
Improve device unmounting (#274)
Browse files Browse the repository at this point in the history
* improve device unmounting on linux & windows

* eject crate now optional for windows target
  • Loading branch information
boozook authored Apr 5, 2024
1 parent e22a169 commit e6e8939
Show file tree
Hide file tree
Showing 11 changed files with 327 additions and 134 deletions.
1 change: 0 additions & 1 deletion .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
matrix:
os:
- macos-14
- macos-12
- ubuntu-latest
- windows-latest
defaults:
Expand Down
115 changes: 97 additions & 18 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion cargo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-playdate"
version = "0.4.0-beta.1"
version = "0.4.0-beta.2"
readme = "README.md"
description = "Build tool for neat yellow console."
keywords = ["playdate", "build", "cargo", "plugin", "cargo-subcommand"]
Expand Down
7 changes: 6 additions & 1 deletion support/device/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-device"
version = "0.2.1"
version = "0.2.2"
readme = "README.md"
description = "Cross-platform interface Playdate device, async & blocking."
keywords = ["playdate", "usb", "serial"]
Expand Down Expand Up @@ -73,6 +73,11 @@ const-hex = "1.11"
[target.'cfg(target_os = "linux")'.dependencies]
udev = "0.8"
lfs-core = "0.11"
eject = "0.1"

[target.'cfg(target_os = "windows")'.dependencies.eject]
version = "0.1"
optional = true

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.54.0"
Expand Down
Loading

0 comments on commit e6e8939

Please sign in to comment.