{"id":58489,"library":"etherparse","title":"Etherparse","description":"A library for parsing and writing Ethernet II, IPv4, IPv6, UDP, TCP, and other packet-based protocols.","status":"active","version":"0.20.0","language":"rust","source_language":null,"source_url":"https://github.com/JulianSchmid/etherparse","tags":["networking","packet","ethernet","ipv4","ipv6","tcp"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\netherparse = \"0.20.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add etherparse","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Ethernet2Header","correct":"use etherparse::Ethernet2Header;"}],"quickstart":{"code":"use etherparse::Ethernet2Header;\n\nlet bytes = [0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x08, 0x00];\nlet (header, _) = Ethernet2Header::from_slice(&bytes).unwrap();\nprintln!(\"EtherType: {}\", header.ether_type);","lang":"rust","description":"Parse an Ethernet II header from raw bytes"},"warnings":[{"fix":"Ensure complete packet data is provided; handle errors gracefully","message":"Packet parsing may fail if data is malformed or incomplete","severity":"gotcha","affected_versions":">=0.20.0"}],"env_vars":null,"search_vec":"'base':18 'ethernet':8,22 'etherpars':1 'ii':9 'ipv4':10,23 'ipv6':11,24 'librari':3 'network':20 'packet':17,21 'packet-bas':16 'pars':5 'protocol':19 'tcp':13,25 'udp':12 'write':7","created_at":"2026-06-16T16:25:39.703647+00:00","updated_at":"2026-06-16T16:25:39.703647+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/JulianSchmid/etherparse","github":"https://github.com/JulianSchmid/etherparse","docs":"https://docs.rs/etherparse/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}