node-auth 0.3.0

Authenticate npm, yarn, pnpm, and Bun to Google Artifact Registry using Google Cloud ADC
Documentation
# 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 = "2024"
name = "node-auth"
version = "0.3.0"
build = false
exclude = [
    ".github/",
    "scripts/",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authenticate npm, yarn, pnpm, and Bun to Google Artifact Registry using Google Cloud ADC"
homepage = "https://github.com/the-chris-strange/node-auth"
documentation = "https://docs.rs/node-auth"
readme = "README.md"
keywords = [
    "artifact-registry",
    "gcp",
    "npm",
    "authentication",
]
categories = [
    "authentication",
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/the-chris-strange/node-auth"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cli = [
    "dep:clap",
    "dep:colored",
    "tokio/macros",
    "tokio/rt-multi-thread",
]
default = ["cli"]

[lib]
name = "node_auth"
path = "src/lib.rs"

[[bin]]
name = "artifactregistry-auth"
path = "src/bin/artifactregistry_auth.rs"
required-features = ["cli"]

[[bin]]
name = "node-auth"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.colored]
version = "3.1"
optional = true

[dependencies.dirs]
version = "7.0"

[dependencies.gcp_auth]
version = "0.12"

[dependencies.log]
version = "0.4"

[dependencies.regex]
version = "1.10"

[dependencies.tempfile]
version = "3.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.38"
features = [
    "rt",
    "net",
    "time",
]

[dependencies.toml_edit]
version = "0.23"

[dependencies.url]
version = "2.5"

[dependencies.yaml-edit]
version = "0.3.2"

[dev-dependencies.tokio]
version = "1.38"
features = [
    "macros",
    "rt-multi-thread",
]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Storage_FileSystem",
    "Win32_System_Threading",
]