# 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" name = "nftables-async" version = "0.2.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An async version of the helper to run nftables, providing full compatibility with the rest of the nftables crate" readme = "README.md" keywords = [ "nftables", "async", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/kanpov/nftables-async" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "nftables_async" path = "src/lib.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.async-process] version = "2.3.0" optional = true [dependencies.futures-util] version = "0.3.31" features = ["io"] default-features = false [dependencies.nftables] version = "0.5.0" [dependencies.serde_json] version = "1.0.133" [dependencies.tokio] version = "1.41.1" features = [ "process", "io-util", ] optional = true default-features = false [dependencies.tokio-util] version = "0.7.12" features = ["compat"] optional = true default-features = false [dev-dependencies.async-io] version = "2.4.0" [dev-dependencies.fastrand] version = "2.2.0" [dev-dependencies.tokio] version = "1.41.1" features = ["rt"] [features] async-process = ["dep:async-process"] default = [] full = [ "tokio-process", "async-process", ] tokio-process = [ "dep:tokio", "dep:tokio-util", ]