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