[[bin]]
name = "detect-targets"
path = "src/main.rs"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.guess_host_triple]
version = "0.1.3"
[dependencies.tokio]
default-features = false
features = ["rt", "process", "sync"]
version = "1.35.0"
[dependencies.tracing]
optional = true
version = "0.1.39"
[dependencies.tracing-subscriber]
default-features = false
features = ["fmt"]
optional = true
version = "0.3.17"
[dev-dependencies.tokio]
default-features = false
features = ["macros"]
version = "1.35.0"
[features]
cli-logging = ["tracing", "dep:tracing-subscriber"]
tracing = ["dep:tracing"]
[lib]
name = "detect_targets"
path = "src/lib.rs"
[package]
authors = ["Jiahao XU <Jiahao_XU@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Detect the target of the env at runtime"
documentation = "https://docs.rs/detect-targets"
edition = "2021"
license = "Apache-2.0 OR MIT"
name = "detect-targets"
readme = false
repository = "https://github.com/cargo-bins/cargo-binstall"
rust-version = "1.62.0"
version = "0.1.31"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/cargo-binstall-{ target }.full.{ archive-format }"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
features = ["Win32_System_Threading", "Win32_System_SystemInformation", "Win32_Foundation", "Win32_System_LibraryLoader"]
version = "0.59.0"