solana/sdk-c
dependabot-preview[bot] bc71e1b612 Bump sha2 from 0.8.0 to 0.8.1
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.8.0...sha2-v0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-05 22:33:02 -07:00
..
src Update to rust 1.40.0 (#7572) 2019-12-19 23:27:54 -08:00
.gitignore Add C API (#5072) 2019-07-15 13:17:17 -06:00
Cargo.toml Bump sha2 from 0.8.0 to 0.8.1 2020-01-05 22:33:02 -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.