cabal-foreign-library 0.1.1

A library for Cargo build scripts to build and link a Cabal foreign-library as a Rust crate.
Documentation
1
2
3
4
5
6
7
8
9
# cabal-foreign-library

> [!WARNING]
> The current state of this is very bare-bones and very much a work-in-progress.

A Cargo [build script](https://doc.rust-lang.org/cargo/reference/build-scripts.html) library that
helps to dynamically link a Rust project to a Cabal [foreign library](https://cabal.readthedocs.io/en/3.4/cabal-package.html#foreign-libraries).

See [`crates/example-foo`](./crates/example-foo) for a basic usage example.