Skip to content

Commit

Permalink
Add examples to workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Jan 19, 2018
1 parent 3681cf5 commit c39a1d7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@ python3 = []
# It tells the linker to keep the python symbols unresolved,
# so that the module can also be used with statically linked python interpreters.
extension-module = []

[workspace]
members = [
"./",
"examples/word-count",
"examples/word-count-cls",
]
3 changes: 2 additions & 1 deletion examples/word-count-cls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
authors = ["Messense Lv <[email protected]>"]
name = "word-count"
name = "word-count-cls"
version = "0.1.0"
workspace = "../../"

[dependencies]
rayon = "0.8"
Expand Down
1 change: 1 addition & 0 deletions examples/word-count/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
authors = ["Messense Lv <[email protected]>"]
name = "word-count"
version = "0.1.0"
workspace = "../../"

[dependencies]
rayon = "0.8"
Expand Down

0 comments on commit c39a1d7

Please sign in to comment.