{"id":18099944,"url":"https://github.com/rossmacarthur/radiotap","last_synced_at":"2025-07-06T04:36:41.976Z","repository":{"id":62443528,"uuid":"134678649","full_name":"rossmacarthur/radiotap","owner":"rossmacarthur","description":"A parser for the radiotap capture format","archived":false,"fork":false,"pushed_at":"2024-06-03T15:46:19.000Z","size":205,"stargazers_count":12,"open_issues_count":4,"forks_count":6,"subscribers_count":3,"default_branch":"trunk","last_synced_at":"2025-04-13T16:08:45.214Z","etag":null,"topics":["frame","packet","parser","pcap","radiotap"],"latest_commit_sha":null,"homepage":"","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/rossmacarthur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2018-05-24T07:33:47.000Z","updated_at":"2024-10-29T19:54:29.000Z","dependencies_parsed_at":"2024-10-31T21:12:00.462Z","dependency_job_id":"a8d30227-62c8-4fcf-bbef-e5a5c165979b","html_url":"https://github.com/rossmacarthur/radiotap","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.375,"last_synced_commit":"02932ccc09574b784148ca4df307f51f15a65aa4"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fradiotap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fradiotap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fradiotap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossmacarthur%2Fradiotap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rossmacarthur","download_url":"https://codeload.github.com/rossmacarthur/radiotap/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741205,"owners_count":21154255,"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":["frame","packet","parser","pcap","radiotap"],"created_at":"2024-10-31T21:11:51.502Z","updated_at":"2025-04-13T16:08:51.638Z","avatar_url":"https://github.com/rossmacarthur.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# radiotap\n\n[![Crates.io Version](https://img.shields.io/crates/v/radiotap.svg?style=flat-square\u0026color=blue)][crates]\n[![Docs.rs Latest](https://img.shields.io/badge/docs.rs-latest-blue.svg?style=flat-square)][docs]\n[![Build Status](https://img.shields.io/travis/rossmacarthur/radiotap/master.svg?style=flat-square)][travis]\n\nA parser for the [Radiotap](http://www.radiotap.org/) capture format.\n\n## Getting started\n\nAdd to your project with\n\n```bash\ncargo add radiotap\n```\n\nor directly editing your `Cargo.toml`\n\n```toml\n[dependencies]\nradiotap = \"1\"\n```\n\nSee the documentation [here](https://docs.rs/radiotap).\n\n## Example usage\n\nSee [examples/](examples/) for more.\n\nThe `Radiotap::from_bytes(\u0026capture)` constructor will parse all present fields\ninto a Radiotap struct:\n\n```rust\nlet capture = [\n    0, 0, 56, 0, 107, 8, 52, 0, 185, 31, 155, 154, 0, 0, 0, 0, 20, 0, 124, 21, 64, 1, 213,\n    166, 1, 0, 0, 0, 64, 1, 1, 0, 124, 21, 100, 34, 249, 1, 0, 0, 0, 0, 0, 0, 255, 1, 80,\n    4, 115, 0, 0, 0, 1, 63, 0, 0\n];\n\nlet radiotap = Radiotap::from_bytes(\u0026capture).unwrap();\nprintln!(\"{:?}\", radiotap.vht);\n```\n\nIf you just want to parse a few specific fields from the Radiotap capture you\ncan create an iterator using `RadiotapIterator::from_bytes(\u0026capture)`:\n\n```rust\nlet capture = [\n    0, 0, 56, 0, 107, 8, 52, 0, 185, 31, 155, 154, 0, 0, 0, 0, 20, 0, 124, 21, 64, 1, 213,\n    166, 1, 0, 0, 0, 64, 1, 1, 0, 124, 21, 100, 34, 249, 1, 0, 0, 0, 0, 0, 0, 255, 1, 80,\n    4, 115, 0, 0, 0, 1, 63, 0, 0\n];\n\nfor element in RadiotapIterator::from_bytes(\u0026capture).unwrap() {\n    match element {\n        Ok((field::Kind::VHT, data)) =\u003e {\n            let vht: field::VHT = field::from_bytes(data).unwrap();\n            println!(\"{:?}\", vht);\n        },\n        _ =\u003e {}\n    }\n}\n```\n\n## License\n\nThis project is dual licensed under the Apache 2.0 License and the MIT License.\n\nSee [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for more\ndetails.\n\n[crates]: https://crates.io/crates/radiotap\n[docs]: https://docs.rs/radiotap\n[travis]: https://travis-ci.org/rossmacarthur/radiotap\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Fradiotap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frossmacarthur%2Fradiotap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossmacarthur%2Fradiotap/lists"}