cabal-pack | A tool that helps you to turn in one command a Rust crate into a Haskell Cabal library!
kandi X-RAY | cabal-pack Summary
kandi X-RAY | cabal-pack Summary
cabal-pack is a Rust library. cabal-pack has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
A tool that helps you to turn in one command a Rust crate into a Haskell Cabal library!. To generate bindings, you need to annotate the Rust function you want to expose with hs-bindgen macro.
A tool that helps you to turn in one command a Rust crate into a Haskell Cabal library!. To generate bindings, you need to annotate the Rust function you want to expose with hs-bindgen macro.
Support
Quality
Security
License
Reuse
Support
cabal-pack has a low active ecosystem.
It has 13 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
cabal-pack has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of cabal-pack is current.
Quality
cabal-pack has no bugs reported.
Security
cabal-pack has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
cabal-pack is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
cabal-pack releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cabal-pack
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cabal-pack
cabal-pack Key Features
No Key Features are available at this moment for cabal-pack.
cabal-pack Examples and Code Snippets
No Code Snippets are available at this moment for cabal-pack.
Community Discussions
No Community Discussions are available at this moment for cabal-pack.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cabal-pack
Here a little screencast demonstrating how it works (commands walkthrough are just pasted below):. N.B. You need in your $PATH a working Rust and Haskell environment, if you use Nix you can just enter: nix-shell -p cabal-install ghc cargo rustc. Welcome in this little cabal-pack / hs-bindgen demo 🙂.
src/lib.rs:
Cargo.toml:
cabal.project:
test/test.cabal (content partially omitted):
test/app/Main.hs:
src/lib.rs:
Cargo.toml:
cabal.project:
test/test.cabal (content partially omitted):
test/app/Main.hs:
Support
The --enable-nix CLI arg makes cabal-pack generate a haskell.nix / naersk based flake.nix rather than the Setup.lhs. N.B. when first working with hs-bindgen and Nix flakes, checking if Cargo.lock isn't in .gitignore and running cargo build and git add --all before nix build, will save you a lot of pain 😉.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page