#cabal #foreign #work-in-progress #haskell #cargo #cabal-foreign-library #ghc #foreign-library

cabal-foreign-library

A library for Cargo build scripts to build and link a Cabal foreign-library as a Rust crate

4 releases

0.2.0 Nov 11, 2024
0.1.2 Nov 11, 2024
0.1.1 Nov 8, 2024
0.1.0 Nov 8, 2024

#3 in #work-in-progress

Download history

106 downloads per month

MIT/Apache

13KB
245 lines

A library for Cargo build scripts to build and link a Cabal foreign library to Rust crates. The crate calls out to Cabal and GHC; all necesssary Haskell dependencies must be installed and managed separately.

Everything is a work-in-progress!

Example

For a basic usage example, see examples/basic.


cabal-foreign-library

crates.io docs.rs

A Cargo build script library that helps to dynamically link a Rust project to a Cabal foreign library.

See a basic usage example.

Dependencies

~8–18MB
~285K SLoC