# 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 = "trippy-privilege" version = "0.11.0" authors = ["FujiApple "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Discover platform privileges" homepage = "https://github.com/fujiapple852/trippy" readme = "README.md" keywords = [ "cli", "tui", "traceroute", "ping", "icmp", ] categories = [ "command-line-utilities", "network-programming", ] license = "Apache-2.0" repository = "https://github.com/fujiapple852/trippy" [lib] name = "trippy_privilege" path = "src/lib.rs" [dependencies.thiserror] version = "1.0.60" [dev-dependencies.anyhow] version = "1.0.83" [target.'cfg(target_os = "linux")'.dependencies.caps] version = "0.5.5" [target."cfg(unix)".dependencies.nix] version = "0.29.0" features = ["user"] default-features = false [target."cfg(windows)".dependencies.paste] version = "1.0.15" [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" features = [ "Win32_Foundation", "Win32_System_Threading", ] [lints.clippy] bool_assert_comparison = "allow" cast_possible_truncation = "allow" cast_precision_loss = "allow" missing_errors_doc = "allow" module_name_repetitions = "allow" option_if_let_else = "allow" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unsafe_code = "deny" [lints.rust.rust_2018_idioms] level = "warn" priority = -1