-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
42 lines (37 loc) · 1.33 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "gyromouse"
version = "0.1.0"
authors = ["Mikaël Fourrier <[email protected]>"]
edition = "2018"
description = "Input mapper for gamepads in game and desktop"
repository = "https://github.com/Yamakaky/gyromouse"
resolver = "2"
[features]
default = ["sdl2", "vgamepad"]
hidapi = ["hid-gamepad", "joycon"]
sdl2-static = ["sdl2", "sdl2/static-link", "sdl2/use-vcpkg"]
vgamepad = ["virtual-gamepad"]
[profile.release]
lto = true
[dependencies]
anyhow = { version = "1.0", features = ["backtrace"] }
cgmath = "0.18"
clap = { version = "4.0", features = ["cargo", "derive"] }
enigo = { version = "0.2", features = ["wayland"] }
enum-map = "2.0"
hid-gamepad-types = { git = "https://github.com/Yamakaky/joy" }
hid-gamepad = { git = "https://github.com/Yamakaky/joy", optional = true }
joycon = { git = "https://github.com/Yamakaky/joy", optional = true }
nom = "7.0.0"
nom-supreme = "0.8"
human-panic = "2.0"
virtual-gamepad = { git = "https://github.com/Yamakaky/virtual-gamepad", optional = true }
sdl2 = { version = "0.36", features = ["hidapi"], optional = true }
env_logger = "0.11.3"
[package.metadata.vcpkg]
git = "https://github.com/microsoft/vcpkg"
# Latest master
rev = "cbf4a6641528cee6f172328984576f51698de726"
dependencies = ["sdl2"]
[package.metadata.vcpkg.target]
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md" }