# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.76" name = "cargo-credential" version = "0.4.6" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library to assist writing Cargo credential helpers." homepage = "https://github.com/rust-lang/cargo" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/cargo" [lib] name = "cargo_credential" path = "src/lib.rs" [[example]] name = "file-provider" path = "examples/file-provider.rs" [[example]] name = "stdout-redirected" path = "examples/stdout-redirected.rs" [[test]] name = "examples" path = "tests/examples.rs" [dependencies.anyhow] version = "1.0.82" [dependencies.serde] version = "1.0.199" features = ["derive"] [dependencies.serde_json] version = "1.0.116" [dependencies.thiserror] version = "1.0.59" [dependencies.time] version = "0.3.36" features = [ "parsing", "formatting", "serde", ] [dev-dependencies.snapbox] version = "0.6.7" features = [ "diff", "dir", "term-svg", "regex", "examples", ] [target."cfg(unix)".dependencies.libc] version = "0.2.154" [target."cfg(windows)".dependencies.windows-sys] version = "0.52" features = [ "Win32_System_Console", "Win32_Foundation", ] [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 = -1 [lints.rust] rust_2018_idioms = "warn" [lints.rustdoc] private_intra_doc_links = "allow"