solana/sdk-c
dependabot-preview[bot] 15d7568038 Bump cbindgen from 0.9.1 to 0.10.0 (#7044)
Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/eqrion/cbindgen/releases)
- [Changelog](https://github.com/eqrion/cbindgen/blob/v0.10.0/CHANGES)
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.9.1...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 10:58:04 -07:00
..
src Upgrade to rust 1.39.0 (#6939) 2019-11-14 12:27:01 -07:00
.gitignore
Cargo.toml Bump cbindgen from 0.9.1 to 0.10.0 (#7044) 2019-11-21 10:58:04 -07:00
README.md Change default location of `solana.h` to `OUT_DIR` (#5389) 2019-08-01 12:33:30 -07:00
build.rs Change default location of `solana.h` to `OUT_DIR` (#5389) 2019-08-01 12:33:30 -07:00
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
$ 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.