23 Commits

Author SHA1 Message Date
Eric Huss
1ce8023626 Rustfmt 2024 2025-07-05 19:50:36 -07:00
Ross Sullivan
30b6707135
chore: Moved remaining cargo_exe logic to testsuite 2025-06-25 23:18:08 +09:00
Ross Sullivan
92d9a94d02
chore: Migrated testsuite to testsuite::prelude 2025-06-25 22:37:24 +09:00
Ed Page
f49d2fdbb4 fix(toml): Remove workaround for rustc frontmatter support
With rust-lang/rust#140035 now merged, we can rely on that rather than
dirty hacks
2025-05-21 12:48:56 -05:00
Ed Page
b81c676ebc test: Remove unused nightly requirements 2025-05-06 12:52:20 -05:00
Ed Page
81411ec545 feat: Stabilize Edition 2024 2024-11-25 09:27:09 -06:00
bors
1fad770250 Auto merge of #14556 - Ifropc:lockfile-path-install, r=weihanglo
feat: lockfile path implies --locked on cargo install

Follow-up of https://github.com/rust-lang/cargo/issues/14421
Resolving one of the items
> cargo install should make --lockfile-path imply --locked

Simply mirrored behavior as if `--locked` was provided (on creating the workspace)
2024-09-27 16:57:50 +00:00
Ifropc
bf37cf7f32 feat: --lockfile-path add install support 2024-09-26 01:19:40 -04:00
Weihang Lo
5dfdd59009
feat: make lockfile v4 the default
This commit makes lockfile version 4 the default version when Cargo
tries to write to a lockfile.

The lockfile version 4 has been stabilized since 1.78.0,
and will become default in 1.83.0.
the length of transition period is pretty similar as before.

One caveat is that in other output from Cargo,
e.g., `cargo metatada`, status messages,
`SourceID` will display in the v4 URL encoded format.
This shouldn't affect the majority of Rust users,
as `SourceId` representation should be opaque to them,
unless comparing `SourceId` across different version of toolchains.
2024-09-24 20:43:02 -04:00
Ifropc
284b380e08 test: install without lockfile-path
- Showcase that install will require --locked and will put lockfile in a
  specific directory
2024-09-19 18:27:52 -07:00
Ifropc
f8662171f4
doc: update lockfile-path tracking issue 2024-08-18 10:50:27 -07:00
Ifropc
aa7ead5e72
test: lockfile path unstable feature tests 2024-08-17 12:52:06 -07:00
Ifropc
4baaaeccea
test: lockfile path test refactoring
- Remove "execs" method
2024-08-17 12:50:19 -07:00
Ifropc
04f9e2dfc0
test: lockfile path test refactoring 2024-08-15 23:40:56 -07:00
Ifropc
d1b1b65a54
feat: lockfile path move create logic into write_pkg_lockfile 2024-08-14 10:53:33 -07:00
Ifropc
c1ace2ad81
lockfile path tests refactoring 2024-08-13 22:26:59 -07:00
Ifropc
d18c60d44f
feat lockfile-path and related tests refactoring 2024-08-09 00:04:59 -07:00
Ifropc
3da56677e1
refactoring: lockfile-path documentation and implementation cleanup 2024-07-31 21:30:44 -07:00
Ifropc
066b291a41
test: lockfile path test refactoring
- win/mac fix
2024-07-30 23:25:22 -07:00
Ifropc
c25dcf00df
doc: add docs for lockfile-path 2024-07-30 21:20:17 -07:00
Ifropc
b05373de81
test: add extra test for package command 2024-07-29 22:06:01 -07:00
Ifropc
1abaa88012
feat: add lockfile-path flag for all requested commands
- All commands that support `manifest-path` (except `locate-project`, `verify-project` and `read-manifest`)
2024-07-19 08:05:48 -07:00
Ifropc
dc1519d0d7
feat: add new lockfile-path for metadata
- Also add necessary tests for the new flag
2024-07-17 04:56:51 -07:00