socket-patch-cli 3.2.0

CLI binary for socket-patch: apply, rollback, get, scan security patches
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 = "2021"
name = "socket-patch-cli"
version = "3.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI binary for socket-patch: apply, rollback, get, scan security patches"
readme = "README.md"
license = "MIT"
repository = "https://github.com/SocketDev/socket-patch"

[features]
cargo = ["socket-patch-core/cargo"]
composer = ["socket-patch-core/composer"]
default = []
deno = ["socket-patch-core/deno"]
docker-e2e = []
golang = ["socket-patch-core/golang"]
maven = ["socket-patch-core/maven"]
nuget = ["socket-patch-core/nuget"]

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

[[bin]]
name = "socket-patch"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.clap]
version = "=4.5.60"
features = [
    "derive",
    "env",
]

[dependencies.dialoguer]
version = "=0.11.0"

[dependencies.indicatif]
version = "=0.17.11"

[dependencies.regex]
version = "=1.12.3"

[dependencies.serde]
version = "=1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "=1.0.149"
features = ["preserve_order"]

[dependencies.socket-patch-core]
version = "=3.2.0"

[dependencies.tempfile]
version = "=3.26.0"

[dependencies.tokio]
version = "=1.50.0"
features = ["full"]

[dependencies.uuid]
version = "=1.21.0"
features = ["v4"]

[dev-dependencies.base64]
version = "=0.22.1"

[dev-dependencies.fs2]
version = "=0.4.3"

[dev-dependencies.hex]
version = "=0.4.3"

[dev-dependencies.portable-pty]
version = "=0.9.0"

[dev-dependencies.reqwest]
version = "=0.12.28"
features = [
    "rustls-tls",
    "json",
]
default-features = false

[dev-dependencies.serial_test]
version = "=3.4.0"

[dev-dependencies.sha2]
version = "=0.10.9"

[dev-dependencies.tempfile]
version = "=3.26.0"

[dev-dependencies.testcontainers]
version = "=0.27.3"

[dev-dependencies.wiremock]
version = "=0.6.5"