C binding of os-terminal
crate for x86 or x86_64 OS that not written in Rust!
Download the header file and your prefered version of lib from releases.
Link the library to your project.
Remember to set TERMINAL_EMBEDDED_FONT
to your compiler based on the version of the lib you are using.
Build directly to get the two target files:
cargo build --release
The production build will be in target/release/<target>/
directory.
And use cbindgen
to generate the header file:
cargo install cbindgen
cbindgen --output os_terminal.h