Skip to content

Commit 8fc1393

Browse files
committed
Create a cargo workspace
1 parent 22339ca commit 8fc1393

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[workspace]
2+
members = [
3+
"objc",
4+
"objc_encode",
5+
"objc_exception",
6+
"objc_foundation",
7+
"objc_id",
8+
]

objc/Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,5 @@ verify_message = []
2626

2727
[dependencies]
2828
malloc_buf = "1.0"
29-
objc-encode = "1.0"
30-
31-
[dependencies.objc_exception]
32-
version = "0.1"
33-
optional = true
29+
objc-encode = { path = "../objc_encode", version = "1.0" }
30+
objc_exception = { path = "../objc_exception", version = "0.1", optional = true }

objc_foundation/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ exclude = [".gitignore"]
1313

1414
[dependencies]
1515
block = "0.1"
16+
# TODO: Refer to the crates in this repo with `path = "XYZ"`
1617
objc = "0.2.2"
1718
objc_id = "0.1"

objc_id/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ license = "MIT"
1313
exclude = [".gitignore"]
1414

1515
[dependencies]
16-
objc = "0.2.4"
16+
objc = { path = "../objc", version = "0.2.4" }

0 commit comments

Comments
 (0)