{"id":13438445,"url":"https://github.com/JulianSchmid/someip-parse-rs","last_synced_at":"2025-03-20T05:32:00.582Z","repository":{"id":44927826,"uuid":"142700177","full_name":"JulianSchmid/someip-parse-rs","owner":"JulianSchmid","description":"A Rust library for parsing the SOME/IP network protocol (without payload interpretation).","archived":false,"fork":false,"pushed_at":"2024-09-23T06:09:48.000Z","size":186,"stargazers_count":30,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-17T19:35:50.575Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JulianSchmid.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-07-28T18:19:04.000Z","updated_at":"2025-02-08T05:40:14.000Z","dependencies_parsed_at":"2024-01-21T02:43:21.151Z","dependency_job_id":"f01a0d4f-967d-4bf1-8767-5da06a5c5745","html_url":"https://github.com/JulianSchmid/someip-parse-rs","commit_stats":{"total_commits":84,"total_committers":3,"mean_commits":28.0,"dds":0.08333333333333337,"last_synced_commit":"8900527b1cff518462c77095a86c9639998271a0"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianSchmid%2Fsomeip-parse-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianSchmid%2Fsomeip-parse-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianSchmid%2Fsomeip-parse-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulianSchmid%2Fsomeip-parse-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JulianSchmid","download_url":"https://codeload.github.com/JulianSchmid/someip-parse-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244560314,"owners_count":20472217,"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":[],"created_at":"2024-07-31T03:01:05.597Z","updated_at":"2025-03-20T05:32:00.247Z","avatar_url":"https://github.com/JulianSchmid.png","language":"Rust","readme":"[![Crates.io](https://img.shields.io/crates/v/someip_parse.svg)](https://crates.io/crates/someip_parse)\n[![docs.rs](https://docs.rs/someip_parse/badge.svg)](https://docs.rs/someip_parse)\n[![Build Status Github](https://github.com/JulianSchmid/someip-parse-rs/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/JulianSchmid/someip-parse-rs/actions/workflows/main.yml)\n[![Build Status Gitlab](https://gitlab.com/julian.schmid/someip-parse-rs/badges/master/pipeline.svg)](https://gitlab.com/julian.schmid/someip-parse-rs/-/commits/master)\n[![codecov](https://codecov.io/gh/JulianSchmid/someip-parse-rs/branch/master/graph/badge.svg?token=lNRvasaaiJ)](https://codecov.io/gh/JulianSchmid/someip-parse-rs)\n\n# someip_parse\n\nA Rust library for parsing the SOME/IP network protocol (without payload interpretation).\n\n## Usage\n\nAdd the following to your `Cargo.toml`:\n\n```toml\n[dependencies]\nsomeip_parse = \"0.6.1\"\n```\n\n## Example\n[examples/print_messages.rs](examples/print_messages.rs):\n```rust\nuse someip_parse::SomeipMsgsIterator;\n\n//trying parsing some ip messages located in a udp payload\nfor someip_message in SomeipMsgsIterator::new(\u0026udp_payload) {\n    match someip_message {\n        Ok(value) =\u003e {\n            if value.is_someip_sd() {\n                println!(\"someip service discovery packet\");\n            } else {\n                println!(\"0x{:x} (service id: 0x{:x}, method/event id: 0x{:x})\",\n                         value.message_id(),\n                         value.service_id(),\n                         value.event_or_method_id());\n            }\n            println!(\"  with payload {:?}\", value.payload())\n        },\n        Err(_) =\u003e {} //error reading a someip packet (based on size, protocol version value or message type value)\n    }\n}\n```\n\n## References\n* [AUTOSAR Foundation](https://www.autosar.org/standards/foundation) \\(contains SOMEIP Protocol Specification \u0026 SOME/IP Service Discovery Protocol Specification\\)\n* [SOME/IP Protocol Specification R22-11](https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_PRS_SOMEIPProtocol.pdf)\n* [SOME/IP Service Discovery Protocol Specification R22-11](https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_PRS_SOMEIPServiceDiscoveryProtocol.pdf)\n\n## License\nLicensed under either of Apache License, Version 2.0 or MIT license at your option. The corresponding license texts can be found in the LICENSE-APACHE file and the LICENSE-MIT file.\n\n### Contribution\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.\n","funding_links":[],"categories":["Libraries","库","库 Libraries"],"sub_categories":["Automotive","汽车","汽车 Automotive"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJulianSchmid%2Fsomeip-parse-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJulianSchmid%2Fsomeip-parse-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJulianSchmid%2Fsomeip-parse-rs/lists"}