fix: update rust example to latest solana sdk

This commit is contained in:
Jack May
2020-02-25 09:48:12 -08:00
committed by Michael Vines
parent e3516bbcfd
commit 11db9497a7
3 changed files with 12 additions and 7 deletions

View File

@ -3,7 +3,7 @@
[package]
name = "solana-bpf-rust-noop"
version = "0.19.0-pre0"
version = "0.1.0"
description = "Solana BPF noop program written in Rust"
authors = ["Solana Maintainers <maintainers@solana.com>"]
repository = "https://github.com/solana-labs/solana"
@ -12,7 +12,13 @@ homepage = "https://solana.com/"
edition = "2018"
[dependencies]
num-derive = "0.2"
num-traits = "0.2"
solana-sdk = { git = "https://github.com/solana-labs/solana", default-features = false }
thiserror = "1.0"
[dev_dependencies]
solana-sdk-bpf-test = { path = "../../bpf-sdk/rust/test"}
[features]
program = ["solana-sdk/program"]