The procject provides low-level Rust bindings to ODPI-C.
The odpic-sys subdirectory contains rust code for the odpic-sys
crate.
The gen-doc subdirectory contains python code to generate odpic-sys/doc.yaml
from ODPI-C documents.
The gen-binding subdirectory contains rust code to generate bindings files in odpic-sys/src.
-
Update ODPI-C and bindings files
cd odpic-sys/odpi git fetch git checkout ODPIC-TAG-NAME cd ../../gen-doc make cd ../gen-binding cargo run
-
Update
odpic-sys/Cargo.toml
andodpic-sys/README.md