forked from build-trust/ockam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
22 lines (20 loc) · 988 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[workspace]
resolver = "2"
members = [
# This trick (where we glob workspace members with `*/src/..` or
# `*/examples/..` — the latter being used because not all of our examples
# have `src` directories, but they all have `examples` directories) helps
# avoid including some obvious non-code folders. For example: folders
# containing only gitignored contents which are leftover from a branch
# change are typical (note that this was the motivation).
#
# In an ideal world, we'd have a better way to identify all rust crates, but
# I'm not sure how — the only item that's guaranteed to be present in Rust
# crates is `Cargo.toml`, and `cargo` is unwilling to fall for something
# like `members = ["**/Cargo.toml/.."]`.
"implementations/rust/ockam/*/src/..",
"examples/rust/*/examples/..",
"tools/docs/example_runner",
"tools/docs/example_blocks",
]
exclude = ["implementations/rust/ockam/ockam_examples/example_projects"]