RustDesk/libs/scrap/src
Jonathan Gilbert a903f710ea
Eliminate build warnings from the Scrap crate (#13383)
* Updated build.rs to tell RustC that dxgi, quartz and x11 are expected configurations.
Added lifetime annotations to various methods in common/aom.rs and common/vpxcodec.rs.
Updated common/vpx.rs to allow unused_imports in the generated bindings.
Updated dxgi/mag.rs to allow non_snake_case identifiers like "dwFilterMode".

* Added lifetime annotations to methods in common/hwcodec.rs and common/vram.rs.

* Switched syntax for the rustc-check-cfg directive emitted by build.rs in the scrap crate to use syntax compatible with Rust toolchain version 1.75. The double-colon syntax requires 1.77 or newer, but the older single-colon syntax works fine on newer versions for this directive.

* Update libs/scrap/build.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Revert apparently-erroneous AI suggestion. It's usually pretty good, but not always right it seems. :-)

This reverts commit bf862b13f6.

* Removed redundant configuration directives from libs/scrap/build.rs.

---------

Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-04 10:19:13 +08:00
..
android mobile verify both webpki and installed CA (#13272) 2025-10-30 13:59:00 +08:00
bindings 444 2023-10-30 18:46:56 +08:00
common Eliminate build warnings from the Scrap crate (#13383) 2025-11-04 10:19:13 +08:00
dxgi Eliminate build warnings from the Scrap crate (#13383) 2025-11-04 10:19:13 +08:00
quartz mac scale factor of each screen (#8368) 2024-06-16 12:01:41 +08:00
wayland Add Wayland multi-monitor screen capture functionality (#12900) 2025-09-22 21:53:14 +08:00
x11 not run window focus service on wayland (#9354) 2024-09-14 09:59:14 +08:00
lib.rs refact register_breakdown_handler 2023-02-19 10:19:28 +08:00
wayland.rs Feat: Wayland flatpak input support | Remote desktop portal (#6675) 2023-12-19 10:44:58 +08:00