# 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.70"
name = "bandwidthmon"
version = "0.1.9"
authors = ["Hadi Cahyadi <cumulus13@gmail.com>"]
build = false
exclude = [
    ".github/*",
    ".gitignore",
    "build.sh",
    "build.bat",
    "CHANGELOG.md",
    "DEPLOYMENT_GUIDE.md",
    "FIXED_APPLIED.md",
    "FLICKER_FIX.md",
    "PROJECT_STRUCTURE.md",
    "PUBLISH.md",
    "SMOOTH_RENDERING.md",
    "bandwidthmon.exe",
    "bandwidthmon2.exe",
    "bandwidthmon.sublime-project",
    "bandwidthmon.sublime-workspace",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Real-time network bandwidth monitor with beautiful ASCII charts"
homepage = "https://github.com/cumulus13/bandwidthmon"
documentation = "https://docs.rs/bandwidthmon"
readme = "README.md"
keywords = [
    "network",
    "bandwidth",
    "monitor",
    "terminal",
    "cli",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/cumulus13/bandwidthmon"

[[bin]]
name = "bandwidthmon"
path = "src/bandwidthmon.rs"

[[bin]]
name = "bandwidthmon2"
path = "src/bandwidthmon2.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "color",
    "suggestions",
]

[dependencies.crossterm]
version = "0.28"

[dependencies.ctrlc]
version = "3.4"

[dependencies.rasciichart]
version = "0.2.16"

[dependencies.sysinfo]
version = "0.32"

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

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

[target.'cfg(target_os = "windows")'.dependencies]

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Foundation",
    "Win32_System_Console",
]

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true

[profile.test]
opt-level = 0
