{"id":17860315,"url":"https://github.com/svartalf/rust-macaddr","last_synced_at":"2025-08-13T02:40:52.386Z","repository":{"id":35024420,"uuid":"188238512","full_name":"svartalf/rust-macaddr","owner":"svartalf","description":"Primitive types for MAC addresses in Rust","archived":false,"fork":false,"pushed_at":"2023-06-28T01:30:29.000Z","size":31,"stargazers_count":7,"open_issues_count":4,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T22:20:00.971Z","etag":null,"topics":["eui-48","eui-64","macaddr","macaddress","networking","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/macaddr","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svartalf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","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},"funding":{"liberapay":"svartalf","patreon":"svartalf","custom":["https://svartalf.info/donate/","https://www.buymeacoffee.com/svartalf"]}},"created_at":"2019-05-23T13:21:48.000Z","updated_at":"2024-06-21T17:38:58.874Z","dependencies_parsed_at":"2024-06-21T17:38:57.429Z","dependency_job_id":"467771c1-6606-4bb4-a262-6ab4354f374a","html_url":"https://github.com/svartalf/rust-macaddr","commit_stats":{"total_commits":25,"total_committers":3,"mean_commits":8.333333333333334,"dds":0.07999999999999996,"last_synced_commit":"4c2305ab8241a679698c70e83859b52ede9fb4b8"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-macaddr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-macaddr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-macaddr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svartalf%2Frust-macaddr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svartalf","download_url":"https://codeload.github.com/svartalf/rust-macaddr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221801740,"owners_count":16882769,"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","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":["eui-48","eui-64","macaddr","macaddress","networking","rust"],"created_at":"2024-10-28T07:42:20.675Z","updated_at":"2024-10-28T07:42:21.397Z","avatar_url":"https://github.com/svartalf.png","language":"Rust","funding_links":["https://liberapay.com/svartalf","https://patreon.com/svartalf","https://svartalf.info/donate/","https://www.buymeacoffee.com/svartalf"],"categories":[],"sub_categories":[],"readme":"# macaddr\n\n\u003e MAC address types for Rust\n\n[![Latest Version](https://img.shields.io/crates/v/macaddr.svg)](https://crates.io/crates/macaddr)\n[![Latest Version](https://docs.rs/macaddr/badge.svg)](https://docs.rs/macaddr)\n[![Build Status](https://github.com/svartalf/rust-macaddr/workflows/Continuous%20integration/badge.svg)](https://github.com/svartalf/rust-macaddr/actions)\n[![Coverage Status](https://coveralls.io/repos/github/svartalf/rust-macaddr/badge.svg?branch=master)](https://coveralls.io/github/svartalf/rust-macaddr?branch=master)\n![Minimum rustc version](https://img.shields.io/badge/rustc-1.31+-green.svg)\n![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)\n![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)\n\nThis crate provides types for a [MAC address](https://en.wikipedia.org/wiki/MAC_address)\nidentifiers, both in IEEE *EUI-48* and *EUI-64* formats.\n\nIt is like a [`std::net::SocketAddr`](https://doc.rust-lang.org/std/net/enum.SocketAddr.html) enum with a\n[`std::net::SocketAddrV4`](https://doc.rust-lang.org/std/net/struct.SocketAddrV4.html) and\n[`std::net::SocketAddrV6`](https://doc.rust-lang.org/std/net/struct.SocketAddrV6.html) members,\nbut for MAC addresses instead.\n\nObviously, MAC address can be represented as a `[u8; 6]` or `[u8; 8]`,\nbut it is error-prone and inconvenient, so here they are —\n[MacAddr6](https://docs.rs/macaddr/latest/macaddr/struct.MacAddr6.html) and\n[MacAddr8](https://docs.rs/macaddr/latest/macaddr/struct.MacAddr8.html)\nstructs with helpful methods and standard Rust traits implementations,\nintended to be the first-class Rust objects.\n\nAnd it is `serde`- and `no_std`-friendly also!\n\n## Installation\n\nAdd this to your `Cargo.toml`\n\n```toml\n[dependencies]\nmacaddr = \"1.0\"\n```\n\n## Usage\n\nCheck out the [documentation](https://docs.rs/macaddr) for each type\navailable, all of them have a plenty of examples.\n\n## License\n\nLicensed under either of [Apache License 2.0](https://github.com/svartalf/rust-macaddr/blob/master/LICENSE-APACHE)\nor [MIT license](https://github.com/svartalf/rust-macaddr/blob/master/LICENSE-MIT) at your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you,\nas defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvartalf%2Frust-macaddr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvartalf%2Frust-macaddr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvartalf%2Frust-macaddr/lists"}