summaryrefslogtreecommitdiff
path: root/rust/examples/template/Cargo.toml
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2021-06-28 22:13:43 -0400
committerKyleMiles <krm504@nyu.edu>2021-06-29 00:26:33 -0400
commit2c344cf7a77031021e346fd8649de2b7715b5c45 (patch)
treefc9b48db5748231aed4e05128d38ab649717a102 /rust/examples/template/Cargo.toml
parent58e515b3bfa3a96e4934b8a625bb6e51399057ec (diff)
Resolves #2521; Rust API Linking Errors
Diffstat (limited to 'rust/examples/template/Cargo.toml')
-rw-r--r--rust/examples/template/Cargo.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/rust/examples/template/Cargo.toml b/rust/examples/template/Cargo.toml
new file mode 100644
index 00000000..6a691e3d
--- /dev/null
+++ b/rust/examples/template/Cargo.toml
@@ -0,0 +1,16 @@
+[package]
+name = "template"
+version = "0.1.0"
+edition = "2018"
+
+# Uncomment this if you're writing a plugin (plugins are shared objects loaded by the core):
+# [lib]
+# crate-type = ["cdylib"]
+
+# You can point at the BinaryNinja dependency in one of two ways, via path:
+# [dependencies]
+# binaryninja = {path="../../"}
+
+# Or directly at the git repo:
+[dependencies]
+binaryninja = {git = "https://github.com/Vector35/binaryninja-api.git", branch = "dev"}