Skip to content

Commit

Permalink
[workspace-hack] exclude the fail crate
Browse files Browse the repository at this point in the history
This crate has features that should only be enabled for certain builds.

Closes: aptos-labs#8330
  • Loading branch information
sunshowers authored and bors-libra committed May 5, 2021
1 parent 5aa8377 commit d785499
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions common/workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ crossbeam-channel = { version = "0.5.1", features = ["crossbeam-utils", "default
crossbeam-deque = { version = "0.8.0", features = ["crossbeam-epoch", "crossbeam-utils", "default", "std"] }
crossbeam-utils = { version = "0.8.3", features = ["default", "lazy_static", "std"] }
either = { version = "1.6.1", features = ["default", "use_std"] }
fail = { version = "0.4.0", default-features = false, features = ["failpoints"] }
futures = { version = "0.3.12", features = ["alloc", "async-await", "default", "executor", "futures-executor", "std"] }
futures-channel = { version = "0.3.13", features = ["alloc", "default", "futures-sink", "sink", "std"] }
futures-core = { version = "0.3.13", features = ["alloc", "default", "std"] }
Expand Down Expand Up @@ -73,7 +72,6 @@ crossbeam-channel = { version = "0.5.1", features = ["crossbeam-utils", "default
crossbeam-deque = { version = "0.8.0", features = ["crossbeam-epoch", "crossbeam-utils", "default", "std"] }
crossbeam-utils = { version = "0.8.3", features = ["default", "lazy_static", "std"] }
either = { version = "1.6.1", features = ["default", "use_std"] }
fail = { version = "0.4.0", default-features = false, features = ["failpoints"] }
futures = { version = "0.3.12", features = ["alloc", "async-await", "default", "executor", "futures-executor", "std"] }
futures-channel = { version = "0.3.13", features = ["alloc", "default", "futures-sink", "sink", "std"] }
futures-core = { version = "0.3.13", features = ["alloc", "default", "std"] }
Expand Down Expand Up @@ -126,7 +124,6 @@ crossbeam-channel = { version = "0.5.1", features = ["crossbeam-utils", "default
crossbeam-deque = { version = "0.8.0", features = ["crossbeam-epoch", "crossbeam-utils", "default", "std"] }
crossbeam-utils = { version = "0.8.3", features = ["default", "lazy_static", "std"] }
either = { version = "1.6.1", features = ["default", "use_std"] }
fail = { version = "0.4.0", default-features = false, features = ["failpoints"] }
futures = { version = "0.3.12", features = ["alloc", "async-await", "default", "executor", "futures-executor", "std"] }
futures-channel = { version = "0.3.13", features = ["alloc", "default", "futures-sink", "sink", "std"] }
futures-core = { version = "0.3.13", features = ["alloc", "default", "std"] }
Expand Down Expand Up @@ -176,7 +173,6 @@ crossbeam-channel = { version = "0.5.1", features = ["crossbeam-utils", "default
crossbeam-deque = { version = "0.8.0", features = ["crossbeam-epoch", "crossbeam-utils", "default", "std"] }
crossbeam-utils = { version = "0.8.3", features = ["default", "lazy_static", "std"] }
either = { version = "1.6.1", features = ["default", "use_std"] }
fail = { version = "0.4.0", default-features = false, features = ["failpoints"] }
futures = { version = "0.3.12", features = ["alloc", "async-await", "default", "executor", "futures-executor", "std"] }
futures-channel = { version = "0.3.13", features = ["alloc", "default", "futures-sink", "sink", "std"] }
futures-core = { version = "0.3.13", features = ["alloc", "default", "std"] }
Expand Down
7 changes: 7 additions & 0 deletions x.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ name = "x-lint"
version = "0.1.0"
workspace-path = "devtools/x-lint"

# Exclude the fail crate because the failpoints feature should only be enabled
# for certain builds.
[[hakari.omitted-packages]]
name = "fail"
version = "0.4.0"
crates-io = true

# This follows the same syntax as CargoOptionsSummary in guppy.
[summaries.default]
version = "v2"
Expand Down

0 comments on commit d785499

Please sign in to comment.