diff --git a/.circleci/config.yml b/.circleci/config.yml index 42feec2dd..5662b8a6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -175,6 +175,11 @@ jobs: - checkout - restore-cargo-cache - install-protoc + # Check this to make sure we do not include patched dependencies in + # the Cargo.lock. + - run: + command: | + [[ -z $(cat Cargo.lock | grep "\[\[patch.unused\]\]") ]] - run: cargo fmt --all --check # TODO: this is incompatible with workspace inheritance, uncomment when # https://github.com/DevinR528/cargo-sort/pull/29 is merged diff --git a/Cargo.lock b/Cargo.lock index 1a2d638aa..a6f13220f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7222,23 +7222,3 @@ dependencies = [ "cc", "libc", ] - -[[patch.unused]] -name = "shuttle-aws-rds" -version = "0.12.0" - -[[patch.unused]] -name = "shuttle-persist" -version = "0.12.0" - -[[patch.unused]] -name = "shuttle-poise" -version = "0.12.0" - -[[patch.unused]] -name = "shuttle-shared-db" -version = "0.12.0" - -[[patch.unused]] -name = "shuttle-static-folder" -version = "0.12.0"