solana-with-rpc-optimizations/sdk-c
Michael Vines 3ea2933e2d
It's 2019
2019-07-15 20:58:21 -07:00
..
src
.gitignore
Cargo.toml
README.md
build.rs
cbindgen.toml It's 2019 2019-07-15 20:58:21 -07:00

README.md

Solana SDK-C

This crate exposes a C API to Solana functions written in Rust. The crate generates a static library, and uses cbindgen to generate a header file during the build. To generate both:

$ cd <path/to/solana/repo>/sdk-c
$ cargo build

This will generate the static library in <path/to/solana/repo>/target/deps and the header file in <path/to/solana/repo>/sdk-c/include.