Crates.io | yoctolib-rs |
lib.rs | yoctolib-rs |
version | 0.1.0 |
source | src |
created_at | 2024-08-12 16:20:23.475612 |
updated_at | 2024-08-12 16:20:23.475612 |
description | Rust wrapper for YoctoPuce yoctolib library. |
homepage | https://automateddesign.com |
repository | https://adc360.visualstudio.com/adc-public/_git/yoctolib-rs |
max_upload_size | |
id | 1334714 |
size | 7,638,669 |
A rust-wrapper for the YoctoPuce yoctolib C++ library. We use this library to connect to YoctoPuce's temperature and humidity sensors.
It has been tested only with the Yocto Meteo V2. We are currently only testing on Windows, with plans for Linux in the future.
The library uses dynamic linking to the yapi binaries to reduce the size of the crate, making it possible to distribute via crates.io. When distributing a program utilizing this library, make sure to include the proper dynamic library files that we include in the external/yapi/binaries directory.
Download releases for LLVM: https://github.com/llvm/llvm-project/releases/
[dependencies]
yoctolib-rs = "0.1"
Find out more info about YoctoPuce and their libraries here: https://www.yoctopuce.com/
The github repo for the C++ library used in this project can be found here: https://github.com/yoctopuce/yoctolib_cpp
ADC combines industrial automation and data acquisition to create advanced automated testing and manufacturing solutions.
Find out more about ADC at: https://automateddesign.com
MIT
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
ADC is not related to YoctoPuce.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.