Skip to content

Commit

Permalink
chore: Move rfd dependency to workspace
Browse files Browse the repository at this point in the history
This makes sure there's only one version of rfd
used and fixes Flatpak compilation issues.
  • Loading branch information
kjarosh authored and torokati44 committed Aug 22, 2024
1 parent a10b31b commit 9f8b891
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 47 deletions.
47 changes: 2 additions & 45 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ url = "2.5.2"
wasm-bindgen = "=0.2.93"
walkdir = "2.5.0"
tokio = { version = "1.39.3" }
rfd = { git = "https://github.com/PolyMeilex/rfd.git", rev = "42dcc7d61fc5e278b4ed76bb9720ba4d89266f01" }

[workspace.lints.rust]
# Clippy nightly often adds new/buggy lints that we want to ignore.
Expand Down
2 changes: 1 addition & 1 deletion desktop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ winit = "0.29.15"
webbrowser = "1.0.1"
url = { workspace = true }
dirs = "5.0"
rfd = { git = "https://github.com/PolyMeilex/rfd.git", rev = "42dcc7d61fc5e278b4ed76bb9720ba4d89266f01" }
rfd = { workspace = true }
anyhow = { workspace = true }
bytemuck = { workspace = true }
os_info = { version = "3", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ base64 = "0.22.0"
async-channel = { workspace = true }
futures-util = { version = "0.3.30", features = ["sink"] }
gloo-net = { version = "0.6.0", default-features = false, features = ["websocket"] }
rfd = { version = "0.14.1", features = ["file-handle-inner"] }
rfd = { workspace = true, features = ["file-handle-inner"] }
wasm-streams = "0.4.0"
futures = { workspace = true }
zip = { version = "2.1.6", default-features = false}
Expand Down

0 comments on commit 9f8b891

Please sign in to comment.