Add higher-level evmc-vm binding

This commit is contained in:
Alex Beregszaszi 2019-03-13 13:58:07 +01:00
parent c1445d88cb
commit 680327f6fa
4 changed files with 24 additions and 0 deletions

View File

@ -27,3 +27,6 @@ replace = EVMC_ABI_VERSION = {new_version}
[bumpversion:file:bindings/rust/evmc-sys/Cargo.toml] [bumpversion:file:bindings/rust/evmc-sys/Cargo.toml]
search = version = \"{current_version}\" search = version = \"{current_version}\"
[bumpversion:file:bindings/rust/evmc-vm/Cargo.toml]
search = version = \"{current_version}\"

3
bindings/rust/evmc-vm/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/target
**/*.rs.bk
/Cargo.lock

View File

@ -0,0 +1,11 @@
[package]
name = "evmc-vm"
version = "6.2.0-dev"
authors = ["Alex Beregszaszi <alex@rtfs.hu>"]
license = "Apache-2.0"
repository = "https://github.com/ethereum/evmc"
description = "Bindings to EVMC (VM specific)"
edition = "2018"
[dependencies]
evmc-sys = { path = "../evmc-sys" }

View File

@ -0,0 +1,7 @@
pub extern crate evmc_sys;
pub use evmc_sys as ffi;
// TODO: Add helpers for host interface
// TODO: Add convenient helpers for evmc_result
// TODO: Add convenient helpers for evmc_execute
// TODO: Add a derive macro here for creating evmc_create