Skip to content

Commit

Permalink
Move the remaining crates to separate workspaces (#1122)
Browse files Browse the repository at this point in the history
* Moved `sdk`, and `runner` to separate workspaces
* Updated scripts so that the checks run for the new workspaces too
  • Loading branch information
rbehjati authored Jun 11, 2020
1 parent b21506d commit 0d4bd45
Show file tree
Hide file tree
Showing 13 changed files with 3,113 additions and 573 deletions.
551 changes: 0 additions & 551 deletions Cargo.lock

Large diffs are not rendered by default.

14 changes: 2 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
[workspace]
members = [
"oak/server/rust/oak_loader",
"oak/server/rust/oak_runtime",
"runner",
"sdk/rust/oak",
"sdk/rust/oak_tests",
"third_party/roughenough",
]
exclude = ["oak_abi", "oak_utils"]
members = ["oak/server/rust/oak_loader", "oak/server/rust/oak_runtime"]
exclude = ["third_party/expect", "third_party/roughenough"]

# Patch dependencies on oak crates so that they refer to the versions within this same repository.
#
Expand All @@ -16,12 +9,9 @@ exclude = ["oak_abi", "oak_utils"]
# > explicit about the dependency relationships between the crates.
[patch.crates-io]
# Oak.
oak = { path = "sdk/rust/oak" }
oak_abi = { path = "oak_abi" }
oak_loader = { path = "oak/server/rust/oak_loader" }
oak_runtime = { path = "oak/server/rust/oak_runtime" }
oak_tests = { path = "sdk/rust/oak_tests" }
oak_utils = { path = "oak_utils" }
runner = { path = "runner" }
# Third party.
roughenough = { path = "third_party/roughenough" }
2 changes: 2 additions & 0 deletions oak_abi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[workspace]

[package]
name = "oak_abi"
version = "0.1.0"
Expand Down
2 changes: 2 additions & 0 deletions oak_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[workspace]

[package]
name = "oak_utils"
version = "0.1.0"
Expand Down
Loading

0 comments on commit 0d4bd45

Please sign in to comment.