mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Investigate incorrect target detection (#1376)
* detect-targets: add debug tracing See #1375. * Add new feature `tracing` & `cli-tracing` to `detect-targets Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Fix clippy lints Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
680accd0d3
commit
2db8e254bc
7 changed files with 49 additions and 12 deletions
|
@ -11,9 +11,15 @@ license = "Apache-2.0 OR MIT"
|
|||
|
||||
[dependencies]
|
||||
tokio = { version = "1.28.2", features = ["rt", "process", "sync"], default-features = false }
|
||||
tracing = { version = "0.1.37", optional = true }
|
||||
tracing-subscriber = { version = "0.3.17", features = ["fmt"], default-features = false, optional = true }
|
||||
cfg-if = "1.0.0"
|
||||
guess_host_triple = "0.1.3"
|
||||
|
||||
[features]
|
||||
tracing = ["dep:tracing"]
|
||||
cli-logging = ["tracing", "dep:tracing-subscriber"]
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
windows-sys = { version = "0.48.0", features = ["Win32_System_Threading", "Win32_System_SystemInformation", "Win32_Foundation"] }
|
||||
windows-dll = { version = "0.4.1", features = ["windows"], default-features = false }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue