#c-ffi #haskell #generate #handy #bindings #macro #hs-bindgen

macro hs-bindgen-attribute

Handy macro to generate C-FFI bindings from Rust to Haskell

4 releases (2 breaking)

0.9.2 Dec 6, 2023
0.9.1 Dec 6, 2023
0.9.0 Jul 4, 2023
0.8.1 Jun 20, 2023
0.7.2 Dec 5, 2022

#22 in #c-ffi

Download history 25/week @ 2024-06-06 16/week @ 2024-06-13 35/week @ 2024-06-20 22/week @ 2024-06-27 7/week @ 2024-07-04 10/week @ 2024-07-11 16/week @ 2024-07-18 24/week @ 2024-07-25 39/week @ 2024-08-01 36/week @ 2024-08-08 38/week @ 2024-08-15 53/week @ 2024-08-22 32/week @ 2024-08-29 66/week @ 2024-09-05 31/week @ 2024-09-12 17/week @ 2024-09-19

154 downloads per month
Used in hs-bindgen

MIT/Apache

18KB
315 lines

hs-bindgen-attribute

This library define the #[hs_bindgen] procedural macro used by hs-bindgen library.

Acknowledgments

⚠️ This is still a working experiment, not yet production ready.

This project was part of a work assignment as an IOG contractor.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

hs-bindgen-attribute

This library define the #[hs_bindgen] procedural macro used by hs-bindgen library.

Acknowledgments

⚠️ This is still a working experiment, not yet production ready.

This project was part of a work assignment as an IOG contractor.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2MB
~47K SLoC