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
94 changes: 81 additions & 13 deletions src/launcher-tauri/src-tauri/Cargo.lock

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

30 changes: 26 additions & 4 deletions src/launcher-tauri/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,34 @@ regex = "1.12"
reqwest = { version = "0.12", features = ["blocking", "json"] }
dirs = "5"
gilrs = { version = "0.11.2", features = ["serde"] }
bluer = { version = "0.17.4", features = ["bluetoothd"] }
tokio = { version = "1", features = ["time"] }
tokio = { version = "1", features = ["time", "rt"] }
futures-util = "0.3"
tempfile = "3"

[target.'cfg(target_os = "linux")'.dependencies]
webkit2gtk = { version = "2.0", features = ["v2_38"] }
# Bluetooth has no cross-platform backend: every portable Rust crate is
# BLE-only, and the devices this panel targets (DualSense pads, headsets)
# pair over Bluetooth Classic instead. So each OS gets its native stack --
# BlueZ here, WinRT below, IOBluetooth on macOS. See bluetooth.rs.
bluer = { version = "0.17.4", features = ["bluetoothd"] }

[dev-dependencies]
tempfile = "3"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.62", features = [
"Devices_Bluetooth",
"Devices_Enumeration",
"Devices_Radios",
"Foundation",
"Foundation_Collections",
] }

[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6"
objc2-foundation = { version = "0.3", features = ["NSArray", "NSString"] }
objc2-io-bluetooth = { version = "0.3", features = [
"IOBluetoothDevice",
"IOBluetoothDevicePair",
"IOBluetoothHostController",
"Bluetooth",
"IOBluetoothDeviceInquiry",
] }
6 changes: 6 additions & 0 deletions src/launcher-tauri/src-tauri/fixtures/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# These are byte-exact fixtures: qsettings.rs and config.rs round-trip them
# through the writer and assert the result is identical to the file on disk.
# Git's autocrlf would rewrite them to CRLF on checkout under Windows and
# break that assertion for reasons that have nothing to do with the writer,
# so pin them to LF regardless of platform or the user's core.autocrlf.
*.ini -text eol=lf
Loading