Generate bindings for Python in build.rs

This commit is contained in:
Alekos Filini
2021-12-16 15:14:05 +01:00
parent 15c0dac622
commit edfcde1cc6
2 changed files with 50 additions and 5 deletions

View File

@@ -11,10 +11,11 @@ name = "bdkffi"
[dependencies]
bdk = { version = "0.14", features = ["all-keys", "use-esplora-ureq"] }
uniffi_macros = "0.16.0"
uniffi = "0.16.0"
uniffi_macros = { version = "0.16.0", features = ["builtin-bindgen"] }
uniffi = { version = "0.16.0", features = ["builtin-bindgen"] }
thiserror = "1.0"
anyhow = "=1.0.45" # remove after upgrading to next version of uniffi
[build-dependencies]
uniffi_build = "0.16.0"
uniffi_build = { version = "0.16.0", features = ["builtin-bindgen"] }
uniffi_bindgen = { version = "0.16.0" }