# 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.76.0" name = "mtu" version = "0.1.3" authors = ["The Mozilla Necko Team "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Obtain the local network interface MTU towards a given IP address." homepage = "https://github.com/mozilla/mtu/" readme = "README.md" keywords = [ "mozilla", "interface", "mtu", ] categories = [ "network-programming", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/mozilla/mtu/" [lib] name = "mtu" path = "src/lib.rs" [[test]] name = "win_bindings" path = "tests/win_bindings.rs" [dependencies.libc] version = "0.2" default-features = false [dev-dependencies.rand] version = "0.8" features = [ "std", "std_rng", ] default-features = false [target."cfg(windows)".dependencies.windows-core] version = "0.58" [target."cfg(windows)".dependencies.windows-targets] version = "0.52" [target."cfg(windows)".dev-dependencies.windows-bindgen] version = "0.58" [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1