{"id":23762660,"url":"https://github.com/hirschenberger/modbus-rs","last_synced_at":"2025-05-16T00:06:23.082Z","repository":{"id":57639723,"uuid":"45432411","full_name":"hirschenberger/modbus-rs","owner":"hirschenberger","description":"Modbus implementation in pure Rust","archived":false,"fork":false,"pushed_at":"2025-01-24T12:59:25.000Z","size":364,"stargazers_count":99,"open_issues_count":5,"forks_count":23,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-19T03:06:37.653Z","etag":null,"topics":["modbus","rust"],"latest_commit_sha":null,"homepage":null,"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/hirschenberger.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}},"created_at":"2015-11-03T01:00:32.000Z","updated_at":"2025-04-17T19:52:12.000Z","dependencies_parsed_at":"2023-12-20T12:45:38.719Z","dependency_job_id":"e81df91d-51b2-4031-a719-4bb26449c4b8","html_url":"https://github.com/hirschenberger/modbus-rs","commit_stats":{"total_commits":130,"total_committers":11,"mean_commits":"11.818181818181818","dds":0.1923076923076923,"last_synced_commit":"bedd6d2c54d136896243aed89246bf832f6a2aa1"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirschenberger%2Fmodbus-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirschenberger%2Fmodbus-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirschenberger%2Fmodbus-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirschenberger%2Fmodbus-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirschenberger","download_url":"https://codeload.github.com/hirschenberger/modbus-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442854,"owners_count":22071878,"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":["modbus","rust"],"created_at":"2024-12-31T21:30:22.882Z","updated_at":"2025-05-16T00:06:23.065Z","avatar_url":"https://github.com/hirschenberger.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Modbus\n[![Rust](https://github.com/hirschenberger/modbus-rs/actions/workflows/rust.yml/badge.svg)](https://github.com/hirschenberger/modbus-rs/actions/workflows/rust.yml)\n[![Crates.io](https://img.shields.io/crates/v/modbus)](https://crates.io/crates/modbus)\n[![docs.rs](https://img.shields.io/docsrs/modbus)](https://docs.rs/modbus/latest/modbus)\n[![Crates.io](https://img.shields.io/crates/d/modbus)](https://crates.io/crates/modbus)\n[![License](http://img.shields.io/:license-MIT-blue.svg)](http://doge.mit-license.org)\n\n\nModbus implementation in pure Rust.\n\n## Usage\nAdd `modbus` to your `Cargo.toml` dependencies:\n\n```toml\n[dependencies]\nmodbus = \"1.1\"\n```\n\nImport the `modbus` crate and use it's functions:\n\n```rust\nuse modbus::{Client, Coil};\nuse modbus::tcp;\n\nlet mut client = tcp::Transport::new(\"192.168.0.10\");\n\nclient.write_single_coil(1, Coil::On).unwrap();\nclient.write_single_coil(3, Coil::On).unwrap();\n\nlet res = client.read_coils(0, 5).unwrap();\n\n// res ==  vec![Coil::Off, Coil::On, Coil::Off, Coil::On, Coil::Off];\n```\nSee the [documentation](https://docs.rs/modbus/latest/modbus) for usage examples and further reference and\nthe [examples](https://github.com/hirschenberger/modbus-rs/tree/master/examples) directory for a commandline client application.\n\n\n## License\nCopyright © 2015-2025 Falco Hirschenberger\n\nDistributed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirschenberger%2Fmodbus-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirschenberger%2Fmodbus-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirschenberger%2Fmodbus-rs/lists"}