diff --git a/Makefile b/Makefile index 4174da0..a463b80 100644 --- a/Makefile +++ b/Makefile @@ -13,11 +13,12 @@ bench: @cargo bench --all-features cp -r target/criterion/** benchmarks/ -generate_c_bindings: +expand: @cargo expand --all-features -p stealth_address_kit > expanded.rs + +generate_c_bindings: expand @cbindgen --output stealth_address_kit.h --lang c expanded.rs -generate_nim_bindings: - @cargo expand --all-features -p stealth_address_kit > expanded.rs +generate_nim_bindings: expand @nbindgen --output stealth_address_kit.nim expanded.rs @sed -i.bak "s/= int/= uint8/g" 'stealth_address_kit.nim'