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
47 changes: 0 additions & 47 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 crates/tinycomputer-accessibility/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ thiserror = { workspace = true }
# Default-input-device probe behind `microphone-probe`.
cpal = { workspace = true, optional = true }
# Clipboard and synthetic keystrokes behind `paste`.
arboard = { version = "3", optional = true }
arboard = { version = "3", default-features = false, optional = true }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

priority medium security confident

Enable arboard's Wayland clipboard backend

Disabling arboard's default features also disables wayland-data-control. The paste feature still exposes insert_text on Linux, but Wayland hosts will no longer have a functioning clipboard backend and paste will fail at runtime. Keep default features disabled if desired, but explicitly enable wayland-data-control so the existing Linux Wayland path continues to work.

Suggested change
arboard = { version = "3", default-features = false, optional = true }
arboard = { version = "3", default-features = false, features = ["wayland-data-control"], optional = true }

[RULE] missing-platform-feature ·

enigo = { version = "0.3", optional = true }

# The workspace lint set, except that `unsafe_code` is `deny` rather than
Expand Down
Loading