Improve API to be more Erlang-ish

This commit is contained in:
Tino Breddin
2019-08-15 09:28:29 +02:00
parent f69e1947c7
commit 231415aa99
8 changed files with 72 additions and 62 deletions
+11
View File
@@ -0,0 +1,11 @@
all: priv/ecrecover.so
priv/ecrecover.so: src/lib.rs parity-ethereum/
cargo build --release
cp target/release/libecrecover.so priv/ecrecover.so
clean:
rm -f src/ecrecover.so target/release/libecrecover.so
parity-ethereum/:
git clone https://github.com/johnsnewby/parity-ethereum.git