solana-with-rpc-optimizations/sdk-c
Dan Albert c324e71768
Bump cargo toml versions to 0.24.0 (#7976)
2020-01-25 11:04:27 -06:00
..
src
.gitignore
Cargo.toml Bump cargo toml versions to 0.24.0 (#7976) 2020-01-25 11:04:27 -06:00
README.md
build.rs
cbindgen.toml

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
$ SOLANA_H_OUT_DIR="$(pwd)/include" 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.