crane/checks
Ivan Petkov 00564437f3
Properly handle workspace inheritance in git dependencies (#224)
Crates from git repos are vendored in a flattened directory where each crate shows up at the root of the vendor directory. Since the vendoring step effectively breaks workspace structures, any crates which use workspace inheritance (e.g. package.version.workspace = true will fail to resolve.

To work around this we inspect the crate's workspace manifest (if it exists) and attempt to manually merge the values while copying the contents to the vendor directory.
2023-01-21 16:46:32 -08:00
..
cleanCargoTomlTests checks: Regenerate expected output for failing checks 2022-06-03 02:01:02 +08:00
clippy cargoClippy: add --all-targets to default cargoClippyExtraArgs (#67) 2022-08-11 23:58:32 +00:00
custom-dummy mkDummySrc: allow running a custom script after dummification is done (#116) 2022-09-27 06:25:09 +00:00
dependencyBuildScriptPerms chore: bump all Cargo.locks (#219) 2023-01-07 01:47:45 +00:00
features chore: bump all Cargo.locks (#219) 2023-01-07 01:47:45 +00:00
git-overlapping chore: bump all Cargo.locks (#219) 2023-01-07 01:47:45 +00:00
git-repo-with-many-crates chore: bump some git deps in Cargo.locks (#221) 2023-01-11 02:57:33 +00:00
gitRevNoRef chore: bump some git deps in Cargo.locks (#221) 2023-01-11 02:57:33 +00:00
grpcio-test chore: bump all Cargo.locks (#219) 2023-01-07 01:47:45 +00:00
highs-sys-test chore: bump all Cargo.locks (#219) 2023-01-07 01:47:45 +00:00
illegal-bin mkDummySrc: drop dummy lib.rs by default, not main.rs 2022-01-07 20:42:24 -08:00
manually-vendored Add regression test for manually vendored dependencies 2022-01-30 23:58:56 +00:00
mkDummySrcTests mkDummySrc: work with uefi targets by default, and allow downstream customization (#174) 2022-11-28 03:23:35 +00:00
no_std chore: bump all Cargo.locks (#219) 2023-01-07 01:47:45 +00:00
overlapping-targets Replace regex dependencies with byteorder 2022-01-04 14:48:40 -08:00
simple Add cargo-nextest 2022-07-23 16:29:05 -07:00
simple-git chore: bump all Cargo.locks (#219) 2023-01-07 01:47:45 +00:00
simple-git-workspace-inheritance Properly handle workspace inheritance in git dependencies (#224) 2023-01-21 16:46:32 -08:00
simple-only-tests checks: add test case for building crate with only tests (#61) 2022-08-11 00:19:07 +00:00
simple-with-audit-toml cargoAudit: fix tests, config file goes in .cargo/audit.toml (#100) 2022-09-15 16:17:48 +00:00
various-targets Bring all tests back under nix flake check 2022-01-04 12:55:36 -08:00
with-build-script mkDummySrc: fix handling of build scripts (#122) 2022-09-28 02:05:06 +00:00
with-build-script-custom mkDummySrc: fix handling of build scripts (#122) 2022-09-28 02:05:06 +00:00
with-libs Bring all tests back under nix flake check 2022-01-04 12:55:36 -08:00
workspace Add tests for a simple workspace 2022-01-07 17:56:12 -08:00
workspace-git Fix git dependency handling of overlapping repos 2022-02-09 20:22:07 -08:00
workspace-hack mkDummySrc: properly import core (#172) 2022-11-21 01:12:39 +00:00
workspace-inheritance checks: add tests for building crates using workspace inheritance (#147) 2022-10-23 22:56:18 +00:00
workspace-not-at-root Make it easier to build workspaces not at source root (#212) 2023-01-05 04:46:43 +00:00
workspace-root Add test for rooted workspace 2022-01-07 18:03:12 -08:00
cargoAudit.nix Eliminate dead code (#148) 2022-10-23 23:20:22 +00:00
compilesFresh.nix Run nixpkgs-fmt 2022-11-20 16:28:49 -08:00
default.nix Properly handle workspace inheritance in git dependencies (#224) 2023-01-21 16:46:32 -08:00
nextest.nix ci: test against 22.11 and stop testing 22.05 (#179) 2022-12-01 20:12:55 -08:00
smoke.nix tests: switch back to runCommand from runCommandLocal 2022-02-17 18:15:09 -08:00
testCargoLockOverride.lock Document specifying/overriding a Cargo.lock file (#94) 2022-08-30 16:12:41 +00:00
vendorGitSubset.nix chore: bump some git deps in Cargo.locks (#221) 2023-01-11 02:57:33 +00:00