# 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" version = "0.11.0" authors = ["FujiApple "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A network diagnostic tool" homepage = "https://github.com/fujiapple852/trippy" documentation = "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" [[package.metadata.generate-rpm.assets]] dest = "/usr/bin/trip" mode = "755" source = "target/release/trip" [lib] name = "trippy" path = "src/lib.rs" [[bin]] name = "trip" path = "src/main.rs" required-features = ["tui"] [dependencies.anyhow] version = "1.0.83" optional = true [dependencies.trippy-core] version = "0.11.0" optional = true [dependencies.trippy-dns] version = "0.11.0" optional = true [dependencies.trippy-packet] version = "0.11.0" optional = true [dependencies.trippy-privilege] version = "0.11.0" optional = true [dependencies.trippy-tui] version = "0.11.0" optional = true [features] core = ["trippy-core"] default = ["tui"] dns = ["trippy-dns"] packet = ["trippy-packet"] privilege = ["trippy-privilege"] tui = [ "trippy-tui", "anyhow", ] [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