[dependencies.anyhow]
version = "1.0.98"
[dependencies.serde]
features = ["derive"]
version = "1.0.219"
[dependencies.serde_json]
version = "1.0.140"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.time]
features = ["parsing", "formatting", "serde"]
version = "0.3.41"
[dev-dependencies.snapbox]
features = ["diff", "dir", "term-svg", "regex", "json", "examples"]
version = "0.6.21"
[[example]]
name = "file-provider"
path = "examples/file-provider.rs"
[[example]]
name = "stdout-redirected"
path = "examples/stdout-redirected.rs"
[lib]
name = "cargo_credential"
path = "src/lib.rs"
[lints.clippy]
dbg_macro = "warn"
disallowed_methods = "warn"
print_stderr = "warn"
print_stdout = "warn"
self_named_module_files = "warn"
[lints.clippy.all]
level = "allow"
priority = -2
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.rust]
rust_2018_idioms = "warn"
[lints.rustdoc]
private_intra_doc_links = "allow"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A library to assist writing Cargo credential helpers."
edition = "2024"
homepage = "https://github.com/rust-lang/cargo"
license = "MIT OR Apache-2.0"
name = "cargo-credential"
readme = "README.md"
repository = "https://github.com/rust-lang/cargo"
resolver = "2"
rust-version = "1.86"
version = "0.4.9"
[target."cfg(unix)".dependencies.libc]
version = "0.2.174"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_System_Console", "Win32_Foundation"]
version = "0.60"
[[test]]
name = "examples"
path = "tests/examples.rs"