# 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.74"
name = "killport"
version = "2.0.1"
authors = ["Francisco Jimenez Cabrera <jkfran@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command-line tool to easily kill processes and containers running on a specified port."
homepage = "https://github.com/jkfran/killport"
readme = "README.md"
keywords = [
    "cli",
    "port",
    "process",
    "kill",
    "network",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/jkfran/killport"

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

[[bin]]
name = "killport"
path = "src/main.rs"

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

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

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

[dependencies.bollard]
version = "0.21.0"

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

[dependencies.clap-verbosity-flag]
version = "3.0.4"

[dependencies.env_logger]
version = "0.11.9"

[dependencies.log]
version = "0.4.29"

[dependencies.nix]
version = "0.31.2"
features = ["signal"]

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

[dev-dependencies.assert_cmd]
version = "2.1.2"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.regex]
version = "1.12.3"

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

[build-dependencies.clap]
version = "4.5.60"
features = ["derive"]

[build-dependencies.clap-verbosity-flag]
version = "3.0.4"

[build-dependencies.clap_complete]
version = "4.5.66"

[build-dependencies.clap_mangen]
version = "0.3.0"

[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.procfs]
version = "0.18.0"

[target.'cfg(target_os = "macos")'.dependencies.libproc]
version = "0.14.11"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_NetworkManagement_IpHelper",
    "Win32_System_Threading",
    "Win32_Networking_WinSock",
    "Win32_System_Diagnostics_ToolHelp",
]
