Skip to content

An async version of the helper to run nftables with JSON data.

Notifications You must be signed in to change notification settings

rust-firecracker/nftables-async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nftables-async

An async version of the helper to run nftables in the nftables crate. Simply add both nftables-async and nftables to your crate, then use the nftables_async::apply_ruleset or nftables_async::get_current_ruleset to perform manipulations. Everything is compatible with the sync helper, even the error types, the functions, however, return "true" async futures.

The I/O in the futures is backed by the Tokio process module which doesn't require the runtime, so the library is still runtime-agnostic.

About

An async version of the helper to run nftables with JSON data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages