Decision Workspace
nftoggle vs nftnl vs nftables
Side-by-side comparison of Rust crates
38
nftoggle
experimentalv0.1.0
A lightweight daemon to dynamically manage network ports using nftables NFQUEUE, with parental controls and event hooks.
65
nftnl
growingv0.9.4
Safe abstraction for libnftnl. Provides low-level userspace access to the in-kernel nf_tables subsystem
59
nftables
growingv0.6.3
Safe abstraction for nftables JSON API. It can be used to create nftables rulesets in Rust and parse existing nftables rulesets from JSON.
Core Metrics
| nftoggle | nftnl | nftables | |
|---|---|---|---|
| Health Score | 38 | 65 | 59 |
| Total Downloads | 20 | 817.9K | 3.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 20 | 100 |
| Releases | 1 | 16 | 13 |
| Last Updated | 103d ago | 59d ago | 420d ago |
| Age | 3m | 8y | 4y |
Health Breakdown
nftoggle
Maintenance
8
Quality
12
Community
6
Popularity
2
Documentation
10
nftnl
Maintenance
13
Quality
18
Community
15
Popularity
7
Documentation
12
nftables
Maintenance
11
Quality
15
Community
13
Popularity
8
Documentation
12
Technical Details
| nftoggle | nftnl | nftables | |
|---|---|---|---|
| Version | 0.1.0 | 0.9.4 | 0.6.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | GPL-3.0-or-later | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 14 | 7 | 13 |
| Crate Size | 52KB | 28KB | 57KB |
| Features | 0 | 24 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | 1.85.0 | 1.76 |
| Owners | 1 | 2 (team) | 2 |
Links
Quick Verdict
- •nftnl leads with a health score of 65/100, but none of the options score above 80.
- •nftables has the most downloads (3.0M), suggesting wider adoption.
- •⚠ nftables has not been updated in over a year.