diff --git a/.circleci/config.yml b/.circleci/config.yml index f09b4a9cd2..c04ebe4adc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -154,10 +154,18 @@ jobs: - cache_restore - run: name: Check that the workspace hack crate contains all features in use - command: cargo hakari generate --diff || echo "If this fails, fix it by running \`cargo hakari generate\` locally and committing the changes" + command: | + cargo hakari generate --diff || { + echo "If this fails, fix it by running \`cargo hakari generate\` locally and committing the changes" + exit 1 + } - run: name: Check that all crates in the workspace depend on the workspace hack crate - command: cargo hakari manage-deps --dry-run || echo "If this fails, fix it by running \`cargo hakari manage-deps\` locally and committing the changes" + command: | + cargo hakari manage-deps --dry-run || { + echo "If this fails, fix it by running \`cargo hakari manage-deps\` locally and committing the changes" + exit 1 + } test: docker: diff --git a/Cargo.lock b/Cargo.lock index 6a1262c96c..8ba5826a1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4988,6 +4988,7 @@ dependencies = [ "futures-util", "getrandom", "hashbrown", + "hyper", "indexmap", "log", "memchr", diff --git a/workspace-hack/Cargo.toml b/workspace-hack/Cargo.toml index 07ca593cb0..cbb161744d 100644 --- a/workspace-hack/Cargo.toml +++ b/workspace-hack/Cargo.toml @@ -24,6 +24,7 @@ futures-task = { version = "0.3", default-features = false, features = ["alloc", futures-util = { version = "0.3", features = ["alloc", "async-await", "async-await-macro", "channel", "futures-channel", "futures-io", "futures-macro", "futures-sink", "io", "memchr", "sink", "slab", "std"] } getrandom = { version = "0.2", default-features = false, features = ["std"] } hashbrown = { version = "0.11", features = ["ahash", "inline-more", "raw"] } +hyper = { version = "0.14", features = ["client", "full", "h2", "http1", "http2", "runtime", "server", "socket2", "stream", "tcp"] } indexmap = { version = "1", default-features = false, features = ["std"] } log = { version = "0.4", default-features = false, features = ["std"] } memchr = { version = "2", features = ["std"] }