# 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 = "genetlink" version = "0.2.5" authors = ["Leo "] description = "communicate with generic netlink" homepage = "https://github.com/rust-netlink/genetlink" readme = "README.md" keywords = [ "netlink", "linux", ] license = "MIT" repository = "https://github.com/rust-netlink/genetlink" [[example]] name = "list_genetlink_family" required-features = ["tokio_socket"] [[example]] name = "dump_family_policy" required-features = ["tokio_socket"] [dependencies.async-std] version = "1.9.0" optional = true [dependencies.futures] version = "0.3.16" [dependencies.log] version = "0.4" [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.thiserror] version = "1.0.26" [dependencies.tokio] version = "1.9.0" features = ["rt"] optional = true [dev-dependencies.anyhow] version = "1.0.42" [dev-dependencies.tokio] version = "1.9.0" features = [ "rt", "rt-multi-thread", "macros", ] [features] default = ["tokio_socket"] smol_socket = [ "netlink-proto/smol_socket", "async-std", ] tokio_socket = [ "netlink-proto/tokio_socket", "tokio", ]