cryptonemo / filecoin-ffi

C and CGO bindings for Filecoin's Rust libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filecoin Proofs FFI

C and CGO bindings for Filecoin's Rust libraries

Building

To build and install libfilecoin, its header file and pkg-config manifest, run:

make

If no precompiled static library is available for your operating system, the build tooling will attempt to compile a static library from local Rust sources.

Forcing Local Build

To opt out of downloading precompiled assets, set FFI_BUILD_FROM_SOURCE=1:

rm .install-filecoin \
    ; make clean \
    ; FFI_BUILD_FROM_SOURCE=1 make

License

MIT or Apache 2.0

About

C and CGO bindings for Filecoin's Rust libraries

License:Other


Languages

Language:Rust 56.9%Language:Go 36.6%Language:Shell 6.3%Language:Makefile 0.2%