Crates.io | libindigo |
lib.rs | libindigo |
version | |
source | src |
created_at | 2024-11-29 00:26:01.947259 |
updated_at | 2024-11-29 00:26:01.947259 |
description | Rust API for developing INDIGO astronomy clients and devices. |
homepage | https://github.com/chrsoo/libindigo-rs |
repository | https://github.com/chrsoo/libindigo-rs |
max_upload_size | |
id | 1465091 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Rust API for writing client appliations and device drivers related to astronomy equipment that uses the INDIGO protocol and architecture. It is based on the standard INDIGO open source project that provides an API written in C and is ported to Rust through the bindgen generated FFI bindings.
[!CAUTION] The current version of LibINDIGO-rs should be considered alpha quality, i.e. a first draft for how INDIDGO development could look like with Rust. Please refer to the known issues page for details.
The libindigo-rs
API is consists of five public modules:
libindigo
- Shared API for client and device driver development.libindigo/bus
- API related to controlling the INDIGO bus.libindigo/client
- API specific for developing INDIGO clients.libindigo/device
- API specific for developing INDIGO device drivers.libindigo/server
- API specific for managing INDIGO servers.The client
and device
modules contains implementations of traits defined in the libindigo
API, notable Device
tree --gitignore
# files elided for brevity
├── relm/... # Example Relm4 Client APP crate for testing libINDIGO.
├── src # libINDIGO source code
│ ├── bus.rs # internal bus module
│ ├── client.rs # public API specific to client development
│ ├── device.rs # public API specific for device and driver development
│ ├── lib.rs # generic INDIGO code applicable for both devices and clients
│ ├── property.rs # internal property module
│ └── server.rs # internal server module
├── sys # INDIGO FFI bindings crate
│ ├── externals # git submodules
│ │ └── indigo # -> https://github.com/indigo-astronomy/indigo.git
│ └── build.rs # generates Rust API using `bindgen`
├── tests # integration tests
│ └── sanity.rs # sanity tests, requires indigo running at localhost
├── Cargo.toml # libINDIGO crate definition
├── ISSUES.md # known issues
├── NOTES.md # development notes
└── READM.md # this file