Crates.io | hxcfe-sys |
lib.rs | hxcfe-sys |
version | 0.1.5 |
source | src |
created_at | 2023-10-04 13:47:43.09689 |
updated_at | 2023-10-08 08:51:43.544336 |
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 | 992378 |
size | 31,563,947 |
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.