# 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-core" version = "0.11.0" authors = ["FujiApple "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A network tracing library" 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_core" path = "src/lib.rs" [[test]] name = "sim" path = "tests/sim/main.rs" [dependencies.arrayvec] version = "0.7.4" default-features = false [dependencies.bitflags] version = "2.6.0" [dependencies.derive_more] version = "1.0.0" features = [ "mul", "add", "add_assign", ] default-features = false [dependencies.indexmap] version = "2.3.0" features = ["std"] default-features = false [dependencies.itertools] version = "0.13.0" [dependencies.parking_lot] version = "0.12.3" [dependencies.socket2] version = "0.5.7" features = ["all"] [dependencies.thiserror] version = "1.0.60" [dependencies.tracing] version = "0.1.40" [dependencies.trippy-packet] version = "0.11.0" [dependencies.trippy-privilege] version = "0.11.0" [dev-dependencies.anyhow] version = "1.0.83" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.ipnetwork] version = "0.20.0" [dev-dependencies.mockall] version = "0.12.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde] version = "1.0.201" features = ["derive"] default-features = false [dev-dependencies.serde_yaml] version = "=0.9.33" [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.tokio] version = "1.39.2" features = ["full"] [dev-dependencies.tokio-util] version = "0.7.11" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = [ "env-filter", "fmt", ] default-features = false [features] sim-tests = [] [target.'cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))'.dev-dependencies.tun2] version = "2.0.5" features = ["async"] [target."cfg(unix)".dependencies.nix] version = "0.29.0" features = [ "user", "poll", "net", ] default-features = false [target."cfg(windows)".dependencies.paste] version = "1.0.15" [target."cfg(windows)".dependencies.widestring] version = "1.0.2" [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" features = [ "Win32_Foundation", "Win32_Networking_WinSock", "Win32_System_IO", "Win32_NetworkManagement_IpHelper", "Win32_NetworkManagement_Ndis", "Win32_System_IO", "Win32_System_Threading", "Win32_Security", ] [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