Add examples to workspace

This commit is contained in:
Nikolay Kim 2018-01-19 10:10:32 -08:00
parent 3681cf51e8
commit c39a1d7e94
3 changed files with 10 additions and 1 deletions

View file

@ -45,3 +45,10 @@ python3 = []
# It tells the linker to keep the python symbols unresolved, # It tells the linker to keep the python symbols unresolved,
# so that the module can also be used with statically linked python interpreters. # so that the module can also be used with statically linked python interpreters.
extension-module = [] extension-module = []
[workspace]
members = [
"./",
"examples/word-count",
"examples/word-count-cls",
]

View file

@ -1,7 +1,8 @@
[package] [package]
authors = ["Messense Lv <messense@icloud.com>"] authors = ["Messense Lv <messense@icloud.com>"]
name = "word-count" name = "word-count-cls"
version = "0.1.0" version = "0.1.0"
workspace = "../../"
[dependencies] [dependencies]
rayon = "0.8" rayon = "0.8"

View file

@ -2,6 +2,7 @@
authors = ["Messense Lv <messense@icloud.com>"] authors = ["Messense Lv <messense@icloud.com>"]
name = "word-count" name = "word-count"
version = "0.1.0" version = "0.1.0"
workspace = "../../"
[dependencies] [dependencies]
rayon = "0.8" rayon = "0.8"