Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
676 changes: 562 additions & 114 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions crates/cranpose-services/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ system-theme = []
system-theme-web = ["dep:web-sys"]
# Native desktop file/folder picker (rfd; xdg-portal surfaces GVFS/WebDAV mounts).
file-picker-native = ["dep:rfd"]
# Native desktop camera capture (nokhwa: AVFoundation on macOS, Media
# Foundation on Windows).
camera-native = ["dep:nokhwa"]
# Web file/folder picker (rfd + File System Access).
file-picker-web = [
"dep:rfd",
Expand All @@ -68,6 +71,13 @@ open = { version = "5.3.5", optional = true }
[target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "android"), not(target_os = "ios")))'.dependencies]
rfd = { version = "0.17.2", default-features = false, features = ["xdg-portal"], optional = true }

# Desktop camera capture. macOS and Windows only: the Linux backend reaches
# v4l2 through a bindgen old enough to carry its own rustix family, and a
# second family of a crate this workspace already builds is what the
# duplicate-dependency budget exists to refuse.
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
nokhwa = { version = "0.10", features = ["input-native"], optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
futures-util = { version = "0.3.32", optional = true }
js-sys = { version = "0.3.98", optional = true }
Expand Down
Loading