# 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.75"
name = "prt-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for prt — real-time network port scanner, tracker and exporter for macOS and Linux"
homepage = "https://github.com/rekurt/prt"
readme = "README.md"
keywords = [
    "network",
    "port",
    "scanner",
    "lsof",
    "procfs",
]
categories = [
    "network-programming",
    "os",
]
license = "MIT"
repository = "https://github.com/rekurt/prt"

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

[[bench]]
name = "scanner_bench"
path = "benches/scanner_bench.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.csv]
version = "1"

[dependencies.nix]
version = "0.29"
features = [
    "signal",
    "process",
    "user",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.sys-locale]
version = "0.3"

[dependencies.uzers]
version = "0.11"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.17"
