Skip to content

Commit

Permalink
Move workspace crates under /crates
Browse files Browse the repository at this point in the history
  • Loading branch information
oleiade committed Jul 14, 2023
1 parent 04a3f99 commit 5efa62b
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ debug = true
incremental = true
lto = "off"

[workspace]

[workspace]
members = [
"motus",
"cli",
"wasm",
"crates/*",
]
resolver = "2"

[workspace.dependencies]
motus = { path = "crates/motus" }
cli = { path = "crates/cli" }
wasm = { path = "crates/wasm" }
1 change: 1 addition & 0 deletions cli/Cargo.toml → crates/motus-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
edition = "2021"
name = "cli"
version = "0.2.0"
publish = false

[[bin]]
name = "motus"
Expand Down
File renamed without changes.
13 changes: 13 additions & 0 deletions crates/motus-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
edition = "2021"
name = "tests"
version = "0.2.0"
publish = false

[dev-dependencies]
assert_cmd = "2.0.11"
assert_json = "0.1.0"

[[test]]
name = "integration"
path = "integration.rs"
File renamed without changes.
2 changes: 2 additions & 0 deletions wasm/Cargo.toml → crates/motus-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
edition = "2021"
name = "wasm"
description = "A WASM-compatible wrapper around the motus crate"
version = "0.1.0"
publish = false

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5efa62b

Please sign in to comment.