Skip to content

Commit 840c95c

Browse files
committed
Add cargo workspace
This will help tooling and external contributors get a map of the rust crates within binaryninja-api
1 parent ab0607b commit 840c95c

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ rust/target/
8484
rust/binaryninjacore-sys/target/
8585
rust/examples/*/target/
8686
rust/examples/dwarf/*/target/
87+
Cargo.lock
8788

8889
# Debugger docs
8990
docs/img/debugger

Cargo.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This is the workspace for all rust projects in binaryninja-api
2+
# This is not a part of the build process, rather a way to link all rust code together so that external
3+
# contributors have a map of all rust code. The main benefit to providing this workspace is tooling, as cloning
4+
# binaryninja-api will result in this root workspace being picked up and used for LSP and cargo commands automatically.
5+
[workspace]
6+
resolver = "2"
7+
members = [
8+
"rust",
9+
"rust/binaryninjacore-sys",
10+
"arch/riscv",
11+
"arch/msp430",
12+
"plugins/dwarf/dwarf_import",
13+
"plugins/dwarf/dwarf_export",
14+
"plugins/dwarf/dwarfdump",
15+
"plugins/dwarf/shared",
16+
"plugins/idb_import",
17+
"plugins/minidump",
18+
"plugins/pdb-ng",
19+
"plugins/warp"
20+
]

0 commit comments

Comments
 (0)