Cargo Features
Nftables has no features set by default.
[dependencies]
nftables = { version = "0.6.0", features = ["tokio", "async-process"] }
- tokio
-
Enables tokio
Affects
helper::get_current_ruleset_async
,helper::get_current_ruleset_with_args_async
,helper::get_current_ruleset_raw_async
,helper::apply_ruleset_async
,helper::apply_ruleset_with_args_async
,helper::apply_and_return_ruleset_async
,helper::apply_and_return_ruleset_with_args_async
,helper::apply_ruleset_raw_async
… - async-process
-
Enables async-process and futures-lite
Affects
helper::get_current_ruleset_async
,helper::get_current_ruleset_with_args_async
,helper::get_current_ruleset_raw_async
,helper::apply_ruleset_async
,helper::apply_ruleset_with_args_async
,helper::apply_and_return_ruleset_async
,helper::apply_and_return_ruleset_with_args_async
,helper::apply_ruleset_raw_async
…