#closures #cross-language #cc #boundary #general #functional-programming #c-closures-build

deprecated c-closures

THIS CRATE IS DEPRECATED, you now only need c-closures-build. General purpose way for Rust closures to cross an FFI boundary into C/C++. Use with c-closures-build.

9 releases

0.3.1 May 14, 2020
0.3.0 May 4, 2020
0.2.0 May 4, 2020
0.1.5 May 2, 2020

#11 in #cross-language

MIT/Apache

19KB
263 lines

c-closures Crates listing Travis

Documentation

Provides a general purpose way for Rust closures to cross an FFI boundary into C/C++, enabling cross language functional programming.

Contributing

I welcome contributions and alterations to this project! Here's some info to help you get started.

  • If you would consider your change substantial open an issue on the issues tab so we can discuss it before you build it.
  • If you're fixing a bug please provide a unit test for the bug fixed so we don't do it again.
  • If applicable, new features should have some basic unit tests added too.
  • Please format your code with the most recent stable release of rustfmt before submitting your PR.
  • I don't have a regular release schedule, if you want something you've added put on crates.io right away make sure to bump the version number for the project in your pull request.

Dependencies

~2.5–5.5MB
~108K SLoC