# 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 = "2018" name = "ethtool-xujunjie" version = "0.2.5" authors = ["Junjie Xu "] description = "Linux Ethtool Communication Library" readme = "README.md" keywords = ["network"] categories = [ "network-programming", "os", ] license = "MIT" [lib] name = "ethtool" crate-type = ["lib"] path = "src/lib.rs" [[example]] name = "dump_pause" required-features = ["tokio_socket"] [dependencies.anyhow] version = "1.0.44" [dependencies.async-std] version = "1.9.0" optional = true [dependencies.byteorder] version = "1.4.3" [dependencies.futures] version = "0.3.17" [dependencies.genetlink] version = "0.2.4" default-features = false [dependencies.log] version = "0.4.14" [dependencies.netlink-packet-core] version = "0.7.0" [dependencies.netlink-packet-generic] version = "0.3.3" [dependencies.netlink-packet-utils] version = "0.5.2" [dependencies.netlink-proto] version = "0.11.2" default-features = false [dependencies.netlink-sys] version = "0.8.4" [dependencies.thiserror] version = "1.0.29" [dependencies.tokio] version = "1.0.1" features = ["rt"] optional = true [dev-dependencies.env_logger] version = "0.9.0" [dev-dependencies.tokio] version = "1.11.0" features = [ "macros", "rt", "rt-multi-thread", ] [features] default = ["tokio_socket"] smol_socket = [ "netlink-proto/smol_socket", "async-std", ] tokio_socket = [ "netlink-proto/tokio_socket", "tokio", ]