Crates.io | hxcadaptor |
lib.rs | hxcadaptor |
version | 0.1.4 |
source | src |
created_at | 2023-10-04 13:47:10.126029 |
updated_at | 2023-10-07 15:05:50.711383 |
description | Bindings for libhxcfe https://github.com/jfdelnero/HxCFloppyEmulator/. Unfinished work, contributions are welcomed. |
homepage | |
repository | https://github.com/cpcsdk/hxcfe_rs |
max_upload_size | |
id | 992373 |
size | 2,449 |
This is a minimal rust wrapper over the libxcfe library https://github.com/jfdelnero/HxCFloppyEmulator. I have only implemented the functionalities needed for my other project https://github.com/cpcsdk/rust.cpclib (mainly to allow basm assembler to write in HFE image discs). I have not made sound choices regarding mutability: all non mutable objects on the rust-side are still mutable on the c-side. I may have memory leaks, even if I tried to avoid them.
Feel free to provide patches to improve the cover of the wrapper, fix mistakes, or anything else. I can gladly provide the ownership of the repository to someone more motivated than me to continue this task (I will only add what I need for my main project).
x86_64-pc-windows-gnu
is the required toolchain for windows:
cargo +nightly-x86_64-pc-windows-gnu test
. This may be a string limitation for the dependent crates.