https://github.com/mirryi/cabal-foreign-library
Build and link a Cabal foreign-library to a Rust crate
https://github.com/mirryi/cabal-foreign-library
cabal cargo ffi foreign-library ghc haskell
Last synced: 19 days ago
JSON representation
Build and link a Cabal foreign-library to a Rust crate
- Host: GitHub
- URL: https://github.com/mirryi/cabal-foreign-library
- Owner: mirryi
- License: apache-2.0
- Created: 2024-11-08T19:03:34.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-11-11T19:36:57.000Z (7 months ago)
- Last Synced: 2024-12-12T02:39:22.717Z (6 months ago)
- Topics: cabal, cargo, ffi, foreign-library, ghc, haskell
- Language: Rust
- Homepage: https://docs.rs/cabal-foreign-library
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# 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 [`examples/basic`](./examples/basic) for a basic usage example.