-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
53 lines (47 loc) · 1.51 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
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "bmputil"
description = "Black Magic Probe Firmware Manager"
version = "0.1.3"
license = "MIT OR Apache-2.0"
repository = "https://github.com/blackmagic-debug/bmputil"
edition = "2021"
[features]
# Enable backtraces for errors. Requires nightly toolchain.
# Automatically enabled if detect-backtrace feature is enabled (default).
backtrace = []
# Autoamtically detect if backtrace feature should be enabled by detecting the channel we're being compiled on.
detect-backtrace = []
# Automatically build libusb and statically link it instead of using system libusb.
vendored = ["rusb/vendored"]
default = ["detect-backtrace", "vendored"]
[dependencies]
anstyle = "1.0.2"
clap = { version = "4.0", default-features = false, features = ["std", "color", "help", "usage", "unicode", "wrap_help", "unstable-styles", "cargo"] }
env_logger = "0.10"
dfu-core = { version = "0.6.0", features = ["std"] }
dfu-libusb = "0.5.1"
rusb = "0.9"
log = "0.4"
const_format = "0.2"
anyhow = "1.0"
thiserror = "1.0"
indicatif = "0.17.5"
termcolor = "1.2.0"
goblin = { version = "0.8.0", default-features = false, features = ["std", "elf32", "elf64", "endian_fd"] }
libc = "0.2.147"
bstr = "1.6.0"
[target.'cfg(windows)'.dependencies]
wdi = "0.1.0"
deelevate = "0.2.0"
libc = "0.2.132"
lazy_static = "1.4.0"
winreg = "0.10.1"
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.9"
features = ["std", "setupapi", "winuser", "devguid"]
[build-dependencies]
rustc_version = "0.4"
static_vcruntime = "2.0"
[profile.release]
lto = "fat"
debug = 2