Skip to content

Commit 4d4e1aa

Browse files
succumb to a workspace structure
1 parent aec24cc commit 4d4e1aa

27 files changed

Lines changed: 861 additions & 29 deletions

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
target/
22
gabagool-debug-adapter/bin/
3-
/tests/spec/
4-
/tests/components/
3+
gabagool/tests/spec/
4+
gabagool/tests/components/
55
game-of-life*.gabagool
66
programs/*.wat
77
!programs/demo.wat

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[workspace]
2-
members = [".", "gabagool-debug-adapter"]
2+
members = ["gabagool", "gabagool-debug-adapter"]
3+
resolver = "2"
34

4-
[package]
5-
name = "gabagool"
5+
[workspace.package]
66
version = "0.1.0"
7-
description = "a snapshotable WASM interpreter"
87
edition = "2021"
98
authors = ["friendlymatthew"]
109
license = "Apache-2.0"
@@ -13,14 +12,3 @@ license = "Apache-2.0"
1312
debug = 1
1413
panic = "abort"
1514
codegen-units = 1
16-
17-
[dev-dependencies]
18-
insta = "1"
19-
20-
[build-dependencies]
21-
wast = { version = "245.0.1", optional = true }
22-
23-
[features]
24-
core-tests = ["wast"]
25-
component-tests = []
26-
debug = []

gabagool-debug-adapter/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "gabagool-debug-adapter"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version.workspace = true
4+
edition.workspace = true
55

66
[dependencies]
7-
gabagool = { path = "..", features = ["debug"] }
7+
gabagool = { path = "../gabagool", features = ["debug"] }
88
serde_json = "1"
99
wast = "245"
1010

0 commit comments

Comments
 (0)