Add use_system_unicorn feature in rust bindings
This commit is contained in:
@@ -24,8 +24,14 @@ bitflags = "1.3"
|
||||
libc = "0.2"
|
||||
|
||||
[build-dependencies]
|
||||
build-helper = "0.1"
|
||||
reqwest = { version = "0.11", features = ["blocking"] }
|
||||
flate2 = "1.0.22"
|
||||
tar = "0.4.37"
|
||||
bytes = "1.1.0"
|
||||
reqwest = { optional = true, version = "0.11", features = ["blocking"] }
|
||||
flate2 = { optional = true, version = "1.0" }
|
||||
tar = { optional = true, version = "0.4" }
|
||||
bytes = { optional = true, version = "1" }
|
||||
pkg-config = { optional = true, version = "0.3" }
|
||||
|
||||
[features]
|
||||
default = ["build_unicorn_cmake"]
|
||||
|
||||
use_system_unicorn = ["pkg-config"]
|
||||
build_unicorn_cmake = ["reqwest", "flate2", "tar", "bytes"]
|
||||
|
||||
Reference in New Issue
Block a user