version = "0.37.0"
default-features = false
features = ["read_core", "elf", "macho", "pe", "xcoff", "unaligned", "archive", "write", "wasm"]
-
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.61.0"
-features = ["Win32_Globalization"]
default-features = false
features = ["nightly"] # for may_dangle
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.61.0"
-features = [
- "Win32_Foundation",
- "Win32_Storage_FileSystem",
- "Win32_System_IO",
- "Win32_System_ProcessStatus",
- "Win32_System_Threading",
-]
-
[target.'cfg(unix)'.dependencies]
# tidy-alphabetical-start
libc = "0.2"
libc = "0.2"
# tidy-alphabetical-end
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.61.0"
-features = [
- "Win32_System_Diagnostics_Debug",
-]
-
[target.'cfg(not(target_family = "wasm"))'.dependencies]
# tidy-alphabetical-start
ctrlc = "3.4.4"
termize = "0.2"
tracing = "0.1"
# tidy-alphabetical-end
-
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.61.0"
-features = [
- "Win32_Foundation",
- "Win32_Security",
- "Win32_System_Threading",
-]
# tidy-alphabetical-start
libc = "=0.2.174"
# tidy-alphabetical-end
-
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.61.0"
-features = [
- "Win32_Foundation",
- "Win32_System_LibraryLoader",
-]
"alloc",
] }
-[target.'cfg(any(windows, target_os = "cygwin"))'.dependencies]
-windows-targets = "0.52.6"
-
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies]
miniz_oxide = { version = "0.8", default-features = false }
ruzstd = { version = "0.8.1", default-features = false, optional = true }
optional = true
features = ['read_core', 'elf', 'macho', 'pe', 'xcoff', 'unaligned', 'archive']
-[target.'cfg(any(windows, target_os = "cygwin"))'.dependencies]
-windows-targets = "0.52.6"
-
[features]
default = ['backtrace']
backtrace = ['addr2line', 'miniz_oxide', 'object', 'ruzstd']
tracing-subscriber = { version = "0.3", optional = true, features = ["env-filter", "fmt", "registry", "std"] }
tempfile = { version = "3.15.0", optional = true }
-[target.'cfg(windows)'.dependencies.junction]
-version = "1.3.0"
-
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.61"
-features = [
- "Win32_Foundation",
- "Win32_Security",
- "Win32_System_Diagnostics_Debug",
- "Win32_System_JobObjects",
- "Win32_System_ProcessStatus",
- "Win32_System_Threading",
- "Win32_System_Time",
-]
-
[dev-dependencies]
pretty_assertions = "1.4"
tempfile = "3.15.0"
resolver = "2"
members = [
"crates/*",
- "credential/*",
+ "credential/cargo-credential",
+ "credential/cargo-credential-1password",
+ "credential/cargo-credential-libsecret",
"benches/benchsuite",
"benches/capture",
]
cargo = { path = "" }
cargo-credential = { version = "0.4.2", path = "credential/cargo-credential" }
cargo-credential-libsecret = { version = "0.5.2", path = "credential/cargo-credential-libsecret" }
-cargo-credential-macos-keychain = { version = "0.4.17", path = "credential/cargo-credential-macos-keychain" }
-cargo-credential-wincred = { version = "0.4.17", path = "credential/cargo-credential-wincred" }
cargo-platform = { path = "crates/cargo-platform", version = "0.3.0" }
cargo-test-macro = { version = "0.4.6", path = "crates/cargo-test-macro" }
cargo-test-support = { version = "0.8.1", path = "crates/cargo-test-support" }
url = "2.5.4"
varisat = "0.2.2"
walkdir = "2.5.0"
-windows-sys = "0.60"
winnow = "0.7.13"
[workspace.lints.rust]
base64.workspace = true
blake3.workspace = true
cargo-credential.workspace = true
+cargo-credential-libsecret.workspace = true
cargo-platform.workspace = true
cargo-util-schemas.workspace = true
cargo-util.workspace = true
[target.'cfg(target_os = "linux")'.dependencies]
cargo-credential-libsecret.workspace = true
-[target.'cfg(target_os = "macos")'.dependencies]
-cargo-credential-macos-keychain.workspace = true
-
[target.'cfg(not(windows))'.dependencies]
openssl = { workspace = true, optional = true }
-[target.'cfg(windows)'.dependencies]
-cargo-credential-wincred.workspace = true
-
-[target.'cfg(windows)'.dependencies.windows-sys]
-workspace = true
-features = [
- "Win32_Foundation",
- "Win32_Security",
- "Win32_Storage_FileSystem",
- "Win32_System_IO",
- "Win32_System_Console",
- "Win32_System_JobObjects",
- "Win32_System_Threading",
-]
-
[dev-dependencies]
annotate-snippets = { workspace = true, features = ["testing-colors"] }
cargo-test-support.workspace = true
url.workspace = true
walkdir.workspace = true
-[target.'cfg(windows)'.dependencies]
-windows-sys = { workspace = true, features = ["Win32_Storage_FileSystem"] }
-
[lints]
workspace = true
tracing.workspace = true
walkdir.workspace = true
-[target.'cfg(target_os = "macos")'.dependencies]
-core-foundation.workspace = true
-
[target.'cfg(unix)'.dependencies]
libc.workspace = true
-[target.'cfg(windows)'.dependencies]
-miow.workspace = true
-windows-sys = { workspace = true, features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_Console"] }
-
[lints]
workspace = true
repository.workspace = true
description = "Shared definitions of home directories."
-[target.'cfg(windows)'.dependencies]
-windows-sys = { workspace = true, features = ["Win32_Foundation", "Win32_UI_Shell", "Win32_System_Com"] }
-
[lints]
workspace = true
[target.'cfg(unix)'.dependencies]
libc.workspace = true
-[target.'cfg(windows)'.dependencies]
-windows-sys = { workspace = true, features = ["Win32_System_Console", "Win32_Foundation"] }
-
[dev-dependencies]
snapbox = { workspace = true, features = ["examples"] }
}
"cargo:paseto" => bail!("cargo:paseto requires -Zasymmetric-token"),
"cargo:token-from-stdout" => Box::new(BasicProcessCredential {}),
- #[cfg(windows)]
- "cargo:wincred" => Box::new(cargo_credential_wincred::WindowsCredential {}),
- #[cfg(target_os = "macos")]
- "cargo:macos-keychain" => Box::new(cargo_credential_macos_keychain::MacKeychain {}),
#[cfg(target_os = "linux")]
"cargo:libsecret" => Box::new(get_credential_libsecret()?),
name if BUILT_IN_PROVIDERS.contains(&name) => {
[target.'cfg(unix)'.dependencies]
libc = "0.2"
-
-[target.'cfg(windows)'.dependencies]
-miow = "0.6"
-
-[target.'cfg(windows)'.dependencies.windows]
-version = "0.61.0"
-features = [
- "Win32_Foundation",
- "Win32_System_Diagnostics_Debug",
-]
[target.'cfg(all(target_os = "linux", target_env = "gnu"))'.dependencies]
libc.workspace = true
-[target.'cfg(windows)'.dependencies]
-windows-sys = { version = "0.60", features = [
- "Win32_System_Threading",
- "Win32_System_ProcessStatus",
-] }
-
[features]
cpu_profiler = []
vfs.workspace = true
paths.workspace = true
-[target.'cfg(windows)'.dependencies]
-windows-sys = { version = "0.60", features = [
- "Win32_System_Diagnostics_Debug",
- "Win32_System_Threading",
-] }
-
[dev-dependencies]
expect-test = "1.5.1"
xshell.workspace = true
[target.'cfg(unix)'.dependencies]
libc.workspace = true
-[target.'cfg(windows)'.dependencies]
-miow = "0.6.0"
-windows-sys = { version = "0.60", features = ["Win32_Foundation"] }
-
[features]
# Uncomment to enable for the whole crate graph
# default = [ "backtrace" ]
benchlib = { path = "benchlib" }
database = { path = "../database" }
-[target.'cfg(windows)'.dependencies]
-miow = "0.3"
-windows-sys = { version = "0.48.0", features = ["Win32_Foundation"] }
-
[features]
# Enable more precise Cachegrind profiles for runtime benchmarks.
# Requires a recent Valgrind to be installed.
[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.tempdir]
version = "0.3"
-[target."cfg(target_os = \"windows\")".dependencies.schannel]
-version = "0.1.7"
-[workspace]
\ No newline at end of file
+[workspace]