{"id":33922711,"url":"https://github.com/shellrow/mac-addr","last_synced_at":"2025-12-12T09:09:56.266Z","repository":{"id":323014786,"uuid":"1091060414","full_name":"shellrow/mac-addr","owner":"shellrow","description":"Lightweight, no_std compatible MAC address library for Rust","archived":false,"fork":false,"pushed_at":"2025-11-07T16:06:50.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-07T16:25:02.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shellrow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-06T14:00:32.000Z","updated_at":"2025-11-07T15:58:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shellrow/mac-addr","commit_stats":null,"previous_names":["shellrow/mac-addr"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/shellrow/mac-addr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fmac-addr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fmac-addr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fmac-addr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fmac-addr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shellrow","download_url":"https://codeload.github.com/shellrow/mac-addr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shellrow%2Fmac-addr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27679849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-12T09:09:52.801Z","updated_at":"2025-12-12T09:09:56.257Z","avatar_url":"https://github.com/shellrow.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[crates-badge]: https://img.shields.io/crates/v/mac-addr.svg\n[crates-url]: https://crates.io/crates/mac-addr\n[license-badge]: https://img.shields.io/crates/l/mac-addr.svg\n[license-url]: https://github.com/shellrow/mac-addr/blob/main/LICENSE\n[doc-url]: https://docs.rs/mac-addr/latest/mac-addr\n\n# mac-addr [![Crates.io][crates-badge]][crates-url] [![License][license-badge]][license-url]\nLightweight, dependency-free, `no_std` compatible **MAC address** library  \nsupporting both **EUI-48** (`MacAddr`) and **EUI-64** (`MacAddr8`).\n\n## Overview\nIt’s designed for portability and low-level use:\n- **no_std** compatible  \n- Optional `alloc` for string formatting  \n- Optional `serde` support for serialization and deserialization  \n- Small, efficient, and FFI-safe\n\n## Usage\nAdd `mac-addr` to your dependencies  \n```toml:Cargo.toml\n[dependencies]\nmac-addr = \"0.3\"\n```\n\n## Example\n\n```rust\nuse mac_addr::{MacAddr, MacAddr8};\n\nlet mac6: MacAddr = \"00:25:96:12:34:56\".parse().unwrap();\nassert_eq!(mac6.to_string(), \"00:25:96:12:34:56\");\n\n// Convert EUI-48 -\u003e EUI-64\nlet mac8 = MacAddr8::from_eui48(mac6);\nassert_eq!(mac8.to_string(), \"00:25:96:ff:fe:12:34:56\");\n\n// And back\nassert_eq!(mac8.to_eui48().unwrap(), mac6);\n```\n\nFor more details, see [doc][doc-url].  \n\n## Features\n| Feature | Default | Description |\n|----------|----------|-------------|\n| `std` | ✅ | Use Rust standard library |\n| `alloc` | ⬜ | Enable heap allocation for `MacAddr::address()` |\n| `serde` | ⬜ | Add `serde::Serialize` / `Deserialize` implementations |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellrow%2Fmac-addr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshellrow%2Fmac-addr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshellrow%2Fmac-addr/lists"}