This repository is a rust based (safe-ish) wrapper around the C++ based LibMeterFeeder. This should make it easier to MED_DEVICES
from rust based projects. Oh and it only work on linux rn.
$ cargo --release build
We need to have meterfeeders so file in the path for the library to use it. PR's appreciated if you can work around that.
$ sudo cp ./libmeterfeed.so /usr/lib
Run the test cases, you need to specficy the current directory into the path so the SO
file is available
$ LD_LIBRARY_PATH=. cargo test
$ LD_LIBRARY_PATH=. cargo test -- --nocapture
We don't have a very specific contributing guidelines right now so just feel free to do the following. Contributors are always appreciated!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.MD
for more information.