{"id":18737320,"url":"https://github.com/murilobsd/calamp-rs","last_synced_at":"2026-02-11T15:32:47.926Z","repository":{"id":46198051,"uuid":"382200601","full_name":"murilobsd/calamp-rs","owner":"murilobsd","description":"Calamp LMDirect rust parser","archived":false,"fork":false,"pushed_at":"2025-01-27T04:45:40.000Z","size":54,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T02:50:38.025Z","etag":null,"topics":["calamp","lmdirect","networking","parser","protocol","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/murilobsd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2021-07-02T01:42:50.000Z","updated_at":"2023-09-24T13:29:36.000Z","dependencies_parsed_at":"2024-01-28T17:24:28.763Z","dependency_job_id":"53a08729-6242-4882-8ad0-0295ac20d1ec","html_url":"https://github.com/murilobsd/calamp-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/murilobsd/calamp-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilobsd%2Fcalamp-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilobsd%2Fcalamp-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilobsd%2Fcalamp-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilobsd%2Fcalamp-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murilobsd","download_url":"https://codeload.github.com/murilobsd/calamp-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murilobsd%2Fcalamp-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29336868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T14:34:07.188Z","status":"ssl_error","status_checked_at":"2026-02-11T14:34:06.809Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["calamp","lmdirect","networking","parser","protocol","rust"],"created_at":"2024-11-07T15:24:47.417Z","updated_at":"2026-02-11T15:32:47.909Z","avatar_url":"https://github.com/murilobsd.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Calamp-rs\n\n[![Banner](https://m0x.ru/pics/calamp_rs_github.png)](https://github.com/murilobsd/calamp-rs)\n\n[![License: MIT](https://img.shields.io/badge/LICENSE-MIT-blue?style=for-the-badge)](./LICENSE) \n[![Crates.io Version](https://img.shields.io/crates/v/calamp-rs.svg?style=for-the-badge)](https://crates.io/crates/calamp-rs) \n[![Doc](https://img.shields.io/badge/CALAMPRS-DOC-blue?style=for-the-badge)](https://docs.rs/calamp-rs)\n\n## Features\n\n- __Fast__: use [nom](https://crates.io/crates/nom) parser combinator\n- __Security__: memory safe\n- __Messages__: support EventReport\n- __Serde__: serialize to json, xml\n\n## Quickstart\n\nTo start with calamp-rs, add the following to your `Cargo.toml` file:\n\n```toml\n[dependencies]\ncalamp-rs= \"0.2.4\"\n```\n\nNext, parse message:\n\n```rust\nuse calamp_rs::Message;\n\nfn main() {\n    let data: [u8; 117] = [\n        0x83, 0x05, 0x46, 0x34, 0x66, 0x32, 0x35, 0x01, 0x01, 0x01, 0x02, 0x3a,\n        0x86, 0x5f, 0xf1, 0x3a, 0x54, 0x5f, 0xf1, 0x3a, 0x57, 0xf1, 0xe2, 0x85,\n        0x78, 0xe4, 0x22, 0xd6, 0x40, 0x00, 0x01, 0x36, 0xf8, 0x00, 0x00, 0x00,\n        0x0b, 0x00, 0x00, 0x06, 0x20, 0x00, 0x00, 0xff, 0x8d, 0x02, 0x1e, 0x1e,\n        0x00, 0x7b, 0x21, 0x10, 0x00, 0x00, 0x00, 0x31, 0xe0, 0x00, 0x00, 0x10,\n        0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x22, 0x2a, 0x32, 0x00, 0x00, 0x03,\n        0xf1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xc8, 0x2d,\n        0x3f, 0x01, 0xc8, 0x2d, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40,\n        0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n    ];\n\n    let msg = Message::parse(\u0026data);\n\n    println!(\"Message Type: {}\", msg.message_header.message_type);\n}\n```\n\nFinally, run this benchmark with `cargo run`. You should see output similar to\nthe following:\n\n```\nMessage Type: MessageType::EventReport\n```\n\n## Examples\n\nTo see some examples just run them via `cargo run --examples`.\n\n```\ncargo run --example srv_udp\n```\n\nAnother terminal:\n\n```\ncargo run --example cli_udp\n```\n\n## Contributing\n\nFirst, thank you for contributing.\n\nOne great way to contribute to calamp-rs is to use it for your own\nbenchmarking needs and report your experiences, file and comment on issues,\netc.\n\nCode or documentation improvements in the form of pull requests are also\nwelcome. If you're not sure what to work on, try checking the Beginner label.\n\nIf your issues or pull requests have no response after a few days, feel free to\nping me (@muriloijanc).\n\nFor more details, see the [CONTRIBUTING.md](CONTRIBUTING.md) file.\n\n## License\n\nCalamp-rs is distributed under the terms of the BSD2 license.\n\nSee [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilobsd%2Fcalamp-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurilobsd%2Fcalamp-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilobsd%2Fcalamp-rs/lists"}