# 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 = "proc-ctl" version = "0.4.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A helper library for querying and manipulating processes" readme = "README.md" license = "MPL-2.0" repository = "https://github.com/EphyraSoftware/proc-ctl" [lib] name = "proc_ctl" path = "src/lib.rs" [[bin]] name = "port-binder" path = "sample/port-binder/main.rs" test = false doctest = false bench = false doc = false [[bin]] name = "port-binder-v6" path = "sample/port-binder-v6/main.rs" test = false doctest = false bench = false doc = false [[bin]] name = "proc-runner" path = "sample/proc-runner/main.rs" test = false doctest = false bench = false doc = false [[bin]] name = "udp-port-binder" path = "sample/udp-port-binder/main.rs" test = false doctest = false bench = false doc = false [[bin]] name = "udp-port-binder-v6" path = "sample/udp-port-binder-v6/main.rs" test = false doctest = false bench = false doc = false [[bin]] name = "waiter" path = "sample/waiter/main.rs" test = false doctest = false bench = false doc = false [[test]] name = "lib_test" path = "tests/lib_test.rs" [dependencies.async-recursion] version = "1" optional = true [dependencies.retry] version = "2.0.0" optional = true [dependencies.sysinfo] version = "0.32.0" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["time"] optional = true [dev-dependencies.retry] version = "2.0.0" [dev-dependencies.tokio] version = "1" features = [ "time", "rt", "macros", ] [features] async = [ "dep:tokio", "dep:async-recursion", ] default = ["proc"] proc = ["dep:sysinfo"] resilience = ["dep:retry"] [target.'cfg(target_os = "linux")'.dependencies.procfs] version = "0.17" [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.58" features = [ "Win32_Networking", "Win32_Networking_WinSock", "Win32_NetworkManagement_IpHelper", ]