Add workspace and move bin to bdk-ffi-bindgen package

This commit is contained in:
Steve Myers
2022-03-30 18:12:19 -07:00
parent f4e097c4ac
commit fca5d1602b
4 changed files with 36 additions and 91 deletions

View File

@@ -4,6 +4,10 @@ version = "0.4.1"
authors = ["Steve Myers <steve@notmandatory.org>", "Sudarsan Balaji <sudarsan.balaji@artfuldev.com>"]
edition = "2018"
[workspace]
members = [".","bdk-ffi-bindgen"]
default-members = [".", "bdk-ffi-bindgen"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["staticlib", "cdylib"]
@@ -17,13 +21,6 @@ rusqlite = { version = "0.25.3", features = ["bundled"] }
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
uniffi_bindgen = "0.16.0"
structopt = "0.3"
[build-dependencies]
uniffi_build = { version = "0.16.0", features = ["builtin-bindgen"] }
[[bin]]
name = "generate-bindings"