Registry / networking / pnet-base

pnet-base

JSON →
library0.35.0rscratesunverified

Fundamental base types and code used by pnet, the packet networking library.

# Cargo.toml [dependencies] pnet_base = "0.35.0"
INSTALL
IMPORT
SIG · PNET-BASE
P
pnet-base
networkingrustv0.35.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.

MacAddr
✓ use pnet_base::MacAddr;

Create and display a MAC address.

use pnet_base::MacAddr; fn main() { let mac = MacAddr::new(0x00, 0x11, 0x22, 0x33, 0x44, 0x55); println!("MAC: {}", mac); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.35.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
pnet-base — cargo add pnet-base · libregistry