Registry / networking / ip-network-table

ip-network-table

JSON →
library0.2.0rscratesunverified

IPv4 and IPv6 network fast lookup table.

# Cargo.toml [dependencies] ip_network_table = "0.2.0"
INSTALL
IMPORT
SIG · IP-NETWORK-TABLE
I
ip-network-table
networkingrustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IpNetworkTable
use ip_network_table::IpNetworkTable;

Insert and lookup IP networks in a fast table.

use ip_network_table::IpNetworkTable; fn main() { let mut table = IpNetworkTable::new(); table.insert("192.168.0.0/16".parse().unwrap(), "local"); let result = table.lookup("192.168.1.1".parse().unwrap()); println!("{:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ip-network-table — cargo add ip-network-table · libregistry