Skip to content

Commit

Permalink
Use remote binaryninja crate
Browse files Browse the repository at this point in the history
You must manually update the rev when making changes to the ref'd crate.
  • Loading branch information
emesare committed Oct 22, 2024
1 parent 3690e21 commit 3525a39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ members = [
"warp_binja"
]

[workspace.dependencies]
#binaryninja = { path = "../../binaryninja/api/rust", features = ["rayon"] }
# NOTE: You must update the revision manually when making changes in the `binaryninja` crate.
binaryninja = { git = "https://github.com/Vector35/binaryninja-api.git", rev = "bca07d7", features = ["rayon"] }

[profile.release]
panic = "abort"
lto = true
Expand Down
3 changes: 1 addition & 2 deletions sigem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
binaryninja = { path = "../../binaryninja/api/rust", features = ["rayon"] }
binaryninjacore-sys = { path = "../../binaryninja/api/rust/binaryninjacore-sys" }
binaryninja = { workspace = true }
env_logger = "0.11.5"
log = "0.4"
signaturebuild = { path = "../signaturebuild" }
Expand Down
3 changes: 1 addition & 2 deletions warp_binja/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ edition = "2021"
crate-type = ["lib", "cdylib"]

[dependencies]
binaryninja = { path = "../../binaryninja/api/rust", features = ["rayon"] }
binaryninjacore-sys = { path = "../../binaryninja/api/rust/binaryninjacore-sys" }
binaryninja = { workspace = true }
typebuild = { path = "../typebuild" }
symbolbuild = { path = "../symbolbuild" }
signaturebuild = { path = "../signaturebuild" }
Expand Down

0 comments on commit 3525a39

Please sign in to comment.