https://github.com/katyo/unicom
Unified connection to IoT devices
https://github.com/katyo/unicom
Last synced: 3 months ago
JSON representation
Unified connection to IoT devices
- Host: GitHub
- URL: https://github.com/katyo/unicom
- Owner: katyo
- Created: 2020-04-21T17:43:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-19T18:24:43.000Z (about 2 years ago)
- Last Synced: 2025-06-11T12:59:45.265Z (about 1 year ago)
- Language: Rust
- Size: 69.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unified communication for IoT clients
[](https://opensource.org/licenses/MIT)
[](https://github.com/katyo/unicom)
[](https://crates.io/crates/unicom)
[](https://docs.rs/unicom)
[](https://github.com/katyo/unicom/actions?query=workflow%3ARust)
The backends interface was introduced to support different connection methods. Each backend should provide the way to establish bidirectional connection for exchanging binary data with devices.
**IMPORTANT NOTE**: Async runtime feature should be selected explicitly.
## Supported features
* __futures__ Use [futures](https://docs.rs/futures/) only
* __tokio__ Use [tokio](https://docs.rs/tokio/) runtime
* __async-std__ Use [async-std](https://docs.rs/async-std/) runtime
## Built-in backends
* _unicom-tcp_ TCP socket connection
* _unicom-unix_ Unix-domain socket connection
* _unicom-serial_ Serial port connection