Use structopt to capture generate options

This commit is contained in:
Steve Myers
2022-03-27 23:46:25 -07:00
parent ce848725b4
commit c66dfdd52a
2 changed files with 108 additions and 45 deletions

View File

@@ -20,14 +20,10 @@ 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"
#uniffi_bindgen = { version = "0.16.0", optional = true }
structopt = "0.3"
[build-dependencies]
uniffi_build = { version = "0.16.0", features = ["builtin-bindgen"] }
[features]
#generate-python = ["uniffi_bindgen"]
[[bin]]
name = "generate"
name = "generate-bindings"