Daniel Paoliello
502c74e0a5
Implement base paths (RFC 3529) 1/n: path dep and patch support
2024-08-13 15:00:45 -07:00
Mo
af04e54235
Apply suggestions from code review
...
Inline variables in `format!`
Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
2024-08-09 15:42:02 +02:00
mo8it
3ccb17c399
Use with_context
with format!
2024-08-09 14:20:18 +02:00
Ed Page
d0c54ec87f
refactor(toml): Rename 'resolved' to 'normalized'
...
In a discussion on an issue, it became confusing to talk about
"resolved" manifests and dependency resolution,
so I'm switching manifests to use the other term I considered,
"normalized".
2024-08-01 16:23:53 -05:00
bors
354f9b21b9
Auto merge of #14335 - rust-lang:renovate/windows-sys-0.x, r=epage
...
chore(deps): update rust crate windows-sys to 0.59
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [windows-sys](https://togithub.com/microsoft/windows-rs ) | workspace.dependencies | minor | `0.52` -> `0.59` |
---
### Release Notes
<details>
<summary>microsoft/windows-rs (windows-sys)</summary>
### [`v0.59.0`](https://togithub.com/microsoft/windows-rs/releases/tag/0.59.0 )
[Compare Source](https://togithub.com/microsoft/windows-rs/compare/0.52.0...0.59.0 )
This release includes an update to the [windows-sys](https://crates.io/crates/windows-sys ) crate only. The `windows-sys` crate is updated very infrequently and only when there is an explicit need to do so. The 0.59.0 release includes a rollup of API fixes, updates, and additions since the [0.52.0](https://togithub.com/microsoft/windows-rs/releases/tag/0.52.0 ) release nine months ago. Notably:
- This update introduces support for Arm64EC ([#​2957](https://togithub.com/microsoft/windows-rs/issues/2957 ))
- Updated bindings for the latest APIs https://github.com/microsoft/windows-rs/tree/0.59.0/crates/libs/bindgen/default
- Derive standard traits ([#​3041](https://togithub.com/microsoft/windows-rs/issues/3041 ))
- Updates to code generation to handle newer Rust warnings and lints
- Overall smaller crate and more efficient code gen to reduce build time
- Support for feature search https://microsoft.github.io/windows-rs/features/#/0.59.0
- MSRV is updated to 1.60
**Full Changelog**: https://github.com/microsoft/windows-rs/compare/0.52.0...0.59.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the [repository job log](https://developer.mend.io/github/rust-lang/cargo ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
2024-08-01 16:49:41 +00:00
Weihang Lo
d1e72bca74
fix: also build manpage for cargo.md
2024-08-01 09:00:52 -04:00
renovate[bot]
cb085c0385
chore(deps): update rust crate windows-sys to 0.59
2024-08-01 04:18:05 +00:00
bors
a7c4206e17
Auto merge of #14303 - rust-lang:renovate/msrv, r=epage
...
chore(deps): update msrv
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Update | Change | Pending |
|---|---|---|---|
| [MSRV:1](https://togithub.com/rust-lang/rust ) | minor | `1.79` -> `1.80` | |
| [MSRV:3](https://togithub.com/rust-lang/rust ) | minor | `1.77` -> `1.78` | `1.80` (+1) |
---
### Release Notes
<details>
<summary>rust-lang/rust (MSRV:1)</summary>
### [`v1.80`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1800-2024-07-25 )
[Compare Source](https://togithub.com/rust-lang/rust/compare/1.79.0...1.80.0 )
\==========================
<a id="1.80-Language"></a>
## Language
- [Document maximum allocation size](https://togithub.com/rust-lang/rust/pull/116675/ )
- [Allow zero-byte offsets and ZST read/writes on arbitrary pointers](https://togithub.com/rust-lang/rust/pull/117329/ )
- [Support C23's variadics without a named parameter](https://togithub.com/rust-lang/rust/pull/124048/ )
- [Stabilize `exclusive_range_pattern` feature](https://togithub.com/rust-lang/rust/pull/124459/ )
- [Guarantee layout and ABI of `Result` in some scenarios](https://togithub.com/rust-lang/rust/pull/124870 )
<a id="1.80-Compiler"></a>
## Compiler
- [Update cc crate to v1.0.97 allowing additional spectre mitigations on MSVC targets](https://togithub.com/rust-lang/rust/pull/124892/ )
- [Allow field reordering on types marked `repr(packed(1))`](https://togithub.com/rust-lang/rust/pull/125360/ )
- [Add a lint against never type fallback affecting unsafe code](https://togithub.com/rust-lang/rust/pull/123939/ )
- [Disallow cast with trailing braced macro in let-else](https://togithub.com/rust-lang/rust/pull/125049/ )
- [Expand `for_loops_over_fallibles` lint to lint on fallibles behind references.](https://togithub.com/rust-lang/rust/pull/125156/ )
- [self-contained linker: retry linking without `-fuse-ld=lld` on CCs that don't support it](https://togithub.com/rust-lang/rust/pull/125417/ )
- [Do not parse CVarArgs (`...`) as a type in trait bounds](https://togithub.com/rust-lang/rust/pull/125863/ )
- Improvements to LLDB formatting [#​124458](https://togithub.com/rust-lang/rust/pull/124458 ) [#​124500](https://togithub.com/rust-lang/rust/pull/124500 )
- [For the wasm32-wasip2 target default to PIC and do not use `-fuse-ld=lld`](https://togithub.com/rust-lang/rust/pull/124858/ )
- [Add x86\_64-unknown-linux-none as a tier 3 target](https://togithub.com/rust-lang/rust/pull/125023/ )
- [Lint on `foo.into_iter()` resolving to `&Box<[T]>: IntoIterator`](https://togithub.com/rust-lang/rust/pull/124097/ )
<a id="1.80-Libraries"></a>
## Libraries
- [Add `size_of` and `size_of_val` and `align_of` and `align_of_val` to the prelude](https://togithub.com/rust-lang/rust/pull/123168/ )
- [Abort a process when FD ownership is violated](https://togithub.com/rust-lang/rust/pull/124210/ )
- [io::Write::write_fmt: panic if the formatter fails when the stream does not fail](https://togithub.com/rust-lang/rust/pull/125012/ )
- [Panic if `PathBuf::set_extension` would add a path separator](https://togithub.com/rust-lang/rust/pull/125070/ )
- [Add assert_unsafe_precondition to unchecked\_{add,sub,neg,mul,shl,shr} methods](https://togithub.com/rust-lang/rust/pull/121571/ )
- [Update `c_char` on AIX to use the correct type](https://togithub.com/rust-lang/rust/pull/122986/ )
- [`offset_of!` no longer returns a temporary](https://togithub.com/rust-lang/rust/pull/124484/ )
- [Handle sigma in `str.to_lowercase` correctly](https://togithub.com/rust-lang/rust/pull/124773/ )
- [Raise `DEFAULT_MIN_STACK_SIZE` to at least 64KiB](https://togithub.com/rust-lang/rust/pull/126059/ )
<a id="1.80-Stabilized-APIs"></a>
## Stabilized APIs
- [`impl Default for Rc<CStr>`](https://doc.rust-lang.org/beta/alloc/rc/struct.Rc.html#impl-Default-for-Rc%3CCStr%3E )
- [`impl Default for Rc<str>`](https://doc.rust-lang.org/beta/alloc/rc/struct.Rc.html#impl-Default-for-Rc%3Cstr%3E )
- [`impl Default for Rc<[T]>`](https://doc.rust-lang.org/beta/alloc/rc/struct.Rc.html#impl-Default-for-Rc%3C%5BT%5D%3E )
- [`impl Default for Arc<str>`](https://doc.rust-lang.org/beta/alloc/sync/struct.Arc.html#impl-Default-for-Arc%3Cstr%3E )
- [`impl Default for Arc<CStr>`](https://doc.rust-lang.org/beta/alloc/sync/struct.Arc.html#impl-Default-for-Arc%3CCStr%3E )
- [`impl Default for Arc<[T]>`](https://doc.rust-lang.org/beta/alloc/sync/struct.Arc.html#impl-Default-for-Arc%3C%5BT%5D%3E )
- [`impl IntoIterator for Box<[T]>`](https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html#impl-IntoIterator-for-Box%3C%5BI%5D,+A%3E )
- [`impl FromIterator<String> for Box<str>`](https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html#impl-FromIterator%3CString%3E-for-Box%3Cstr%3E )
- [`impl FromIterator<char> for Box<str>`](https://doc.rust-lang.org/beta/alloc/boxed/struct.Box.html#impl-FromIterator%3Cchar%3E-for-Box%3Cstr%3E )
- [`LazyCell`](https://doc.rust-lang.org/beta/core/cell/struct.LazyCell.html )
- [`LazyLock`](https://doc.rust-lang.org/beta/std/sync/struct.LazyLock.html )
- [`Duration::div_duration_f32`](https://doc.rust-lang.org/beta/std/time/struct.Duration.html#method.div_duration_f32 )
- [`Duration::div_duration_f64`](https://doc.rust-lang.org/beta/std/time/struct.Duration.html#method.div_duration_f64 )
- [`Option::take_if`](https://doc.rust-lang.org/beta/std/option/enum.Option.html#method.take_if )
- [`Seek::seek_relative`](https://doc.rust-lang.org/beta/std/io/trait.Seek.html#method.seek_relative )
- [`BinaryHeap::as_slice`](https://doc.rust-lang.org/beta/std/collections/struct.BinaryHeap.html#method.as_slice )
- [`NonNull::offset`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.offset )
- [`NonNull::byte_offset`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_offset )
- [`NonNull::add`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.add )
- [`NonNull::byte_add`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_add )
- [`NonNull::sub`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.sub )
- [`NonNull::byte_sub`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_sub )
- [`NonNull::offset_from`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.offset_from )
- [`NonNull::byte_offset_from`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.byte_offset_from )
- [`NonNull::read`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.read )
- [`NonNull::read_volatile`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.read_volatile )
- [`NonNull::read_unaligned`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.read_unaligned )
- [`NonNull::write`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write )
- [`NonNull::write_volatile`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write_volatile )
- [`NonNull::write_unaligned`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write_unaligned )
- [`NonNull::write_bytes`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.write_bytes )
- [`NonNull::copy_to`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_to )
- [`NonNull::copy_to_nonoverlapping`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_to_nonoverlapping )
- [`NonNull::copy_from`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_from )
- [`NonNull::copy_from_nonoverlapping`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.copy_from_nonoverlapping )
- [`NonNull::replace`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.replace )
- [`NonNull::swap`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.swap )
- [`NonNull::drop_in_place`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.drop_in_place )
- [`NonNull::align_offset`](https://doc.rust-lang.org/beta/std/ptr/struct.NonNull.html#method.align_offset )
- [`<[T]>::split_at_checked`](https://doc.rust-lang.org/beta/std/primitive.slice.html#method.split_at_checked )
- [`<[T]>::split_at_mut_checked`](https://doc.rust-lang.org/beta/std/primitive.slice.html#method.split_at_mut_checked )
- [`str::split_at_checked`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.split_at_checked )
- [`str::split_at_mut_checked`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.split_at_mut_checked )
- [`str::trim_ascii`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.trim_ascii )
- [`str::trim_ascii_start`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.trim_ascii_start )
- [`str::trim_ascii_end`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.trim_ascii_end )
- [`<[u8]>::trim_ascii`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.trim_ascii )
- [`<[u8]>::trim_ascii_start`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.trim_ascii_start )
- [`<[u8]>::trim_ascii_end`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.trim_ascii_end )
- [`Ipv4Addr::BITS`](https://doc.rust-lang.org/beta/core/net/struct.Ipv4Addr.html#associatedconstant.BITS )
- [`Ipv4Addr::to_bits`](https://doc.rust-lang.org/beta/core/net/struct.Ipv4Addr.html#method.to_bits )
- [`Ipv4Addr::from_bits`](https://doc.rust-lang.org/beta/core/net/struct.Ipv4Addr.html#method.from_bits )
- [`Ipv6Addr::BITS`](https://doc.rust-lang.org/beta/core/net/struct.Ipv6Addr.html#associatedconstant.BITS )
- [`Ipv6Addr::to_bits`](https://doc.rust-lang.org/beta/core/net/struct.Ipv6Addr.html#method.to_bits )
- [`Ipv6Addr::from_bits`](https://doc.rust-lang.org/beta/core/net/struct.Ipv6Addr.html#method.from_bits )
- [`Vec::<[T; N]>::into_flattened`](https://doc.rust-lang.org/beta/alloc/vec/struct.Vec.html#method.into_flattened )
- [`<[[T; N]]>::as_flattened`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.as_flattened )
- [`<[[T; N]]>::as_flattened_mut`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.as_flattened_mut )
These APIs are now stable in const contexts:
- [`<[T]>::last_chunk`](https://doc.rust-lang.org/beta/core/primitive.slice.html#method.last_chunk )
- [`BinaryHeap::new`](https://doc.rust-lang.org/beta/std/collections/struct.BinaryHeap.html#method.new )
<a id="1.80-Cargo"></a>
## Cargo
- [Stabilize `-Zcheck-cfg` as always enabled](https://togithub.com/rust-lang/cargo/pull/13571/ )
- [Warn, rather than fail publish, if a target is excluded](https://togithub.com/rust-lang/cargo/pull/13713/ )
- [Add special `check-cfg` lint config for the `unexpected_cfgs` lint](https://togithub.com/rust-lang/cargo/pull/13913/ )
- [Stabilize `cargo update --precise <yanked>`](https://togithub.com/rust-lang/cargo/pull/13974/ )
- [Don't change file permissions on `Cargo.toml` when using `cargo add`](https://togithub.com/rust-lang/cargo/pull/13898/ )
- [Support using `cargo fix` on IPv6-only networks](https://togithub.com/rust-lang/cargo/pull/13907/ )
<a id="1.80-Rustdoc"></a>
## Rustdoc
- [Allow searching for references](https://togithub.com/rust-lang/rust/pull/124148/ )
- [Stabilize `custom_code_classes_in_docs` feature](https://togithub.com/rust-lang/rust/pull/124577/ )
- [fix: In cross-crate scenarios show enum variants on type aliases of enums](https://togithub.com/rust-lang/rust/pull/125300/ )
<a id="1.80-Compatibility-Notes"></a>
## Compatibility Notes
- [rustfmt estimates line lengths differently when using non-ascii characters](https://togithub.com/rust-lang/rustfmt/issues/6203 )
- [Type aliases are now handled correctly in orphan check](https://togithub.com/rust-lang/rust/pull/117164/ )
- [Allow instructing rustdoc to read from stdin via `-`](https://togithub.com/rust-lang/rust/pull/124611/ )
- [`std::env::{set_var, remove_var}` can no longer be converted to safe function pointers and no longer implement the `Fn` family of traits](https://togithub.com/rust-lang/rust/pull/124636 )
- [Warn (or error) when `Self` constructor from outer item is referenced in inner nested item](https://togithub.com/rust-lang/rust/pull/124187/ )
- [Turn `indirect_structural_match` and `pointer_structural_match` lints into hard errors](https://togithub.com/rust-lang/rust/pull/124661/ )
- [Make `where_clause_object_safety` lint a regular object safety violation](https://togithub.com/rust-lang/rust/pull/125380/ )
- [Turn `proc_macro_back_compat` lint into a hard error.](https://togithub.com/rust-lang/rust/pull/125596/ )
- [Detect unused structs even when implementing private traits](https://togithub.com/rust-lang/rust/pull/122382/ )
- [`std::sync::ReentrantLockGuard<T>` is no longer `Sync` if `T: !Sync`](https://togithub.com/rust-lang/rust/pull/125527 ) which means [`std::io::StdoutLock` and `std::io::StderrLock` are no longer Sync](https://togithub.com/rust-lang/rust/issues/127340 )
<a id="1.80-Internal-Changes"></a>
## Internal Changes
These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.
- Misc improvements to size of generated html by rustdoc e.g. [#​124738](https://togithub.com/rust-lang/rust/pull/124738/ ) and [#​123734](https://togithub.com/rust-lang/rust/pull/123734/ )
- [MSVC targets no longer depend on libc](https://togithub.com/rust-lang/rust/pull/124050/ )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "* * * * *" (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions ) if that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View the [repository job log](https://developer.mend.io/github/rust-lang/cargo ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
2024-07-29 13:32:31 +00:00
Ed Page
d62fcae81d
chore: Bump versions
2024-07-26 16:32:54 -05:00
renovate[bot]
74f01c4b65
chore(deps): update msrv
2024-07-26 12:52:37 +00:00
Ed Page
fa5853a397
chore: Bump rustfix
2024-07-25 10:31:21 -05:00
Ed Page
2a104dcb31
chore: Move rustfix's similar dep to workspace
2024-07-25 10:30:40 -05:00
Ed Page
8debb544e4
chore: Update dependencies
...
I just published all of my packages using Cargo 1.80 and wanted to see
the effect of the enumerating targets during publish (#13849 ).
2024-07-25 10:04:10 -05:00
Ed Page
922cfe5759
fix(test): Remove unused deprecated function
2024-07-24 16:35:11 -05:00
Ed Page
16448d45d7
doc(test): Document 'with_json' replacement
2024-07-24 10:42:51 -05:00
Weihang Lo
ab8ac44b49
chore: bump cargo-test-support to 0.4.0
2024-07-22 15:37:13 -04:00
bors
ea14e861c7
Auto merge of #14272 - epage:test-docs, r=weihanglo
...
docs(test): Expand documentation of cargo-test-support
### What does this PR try to resolve?
In wanting to document #14039 , I felt it would be good to put that documentation in `cargo-test-support`. To do so, I wanted a baseline of existing documentation for it to build on top of.
I was tempted to move more of "Writing tests" contrib documentation here, as its more about using `cargo-test-support` but I decided to hold off for now as most of that was long-form documentation and this is mostly focused on reference documentation.
### How should we test and review this PR?
### Additional information
2024-07-22 15:10:08 +00:00
Ed Page
83cbca0141
refactor(test): Document 'registry' mod
2024-07-22 08:58:52 -05:00
Ed Page
b931d98b90
refactor(test): Document 'publish' mod
2024-07-22 08:58:52 -05:00
Ed Page
6d0eea0e33
refactor(test): Document 'paths' mod
...
I considered hiding `init_root` as an implementation detail of
`#[cargo_test]` but decided to be conservative about that for now.
2024-07-22 08:58:52 -05:00
Ed Page
062652c856
docs(test): Expand 'install' documentation
2024-07-22 08:58:52 -05:00
Ed Page
64a62ff8fe
docs(test): Expand 'git' documentation
2024-07-22 08:58:52 -05:00
Ed Page
97ccb653b0
docs(test): Expose git
documentation
2024-07-22 08:58:52 -05:00
Ed Page
8f88a8af31
docs(test): Expand 'compare' documentation
2024-07-22 08:58:52 -05:00
Ed Page
cb528403fa
docs(test): Expand docs for ProjectBuilder
2024-07-22 08:58:52 -05:00
Ed Page
45f61ccfa8
docs(test): Expand docs for Project
2024-07-22 08:58:52 -05:00
Ed Page
3dff0ec945
docs(test): Document project* functions
2024-07-22 08:58:52 -05:00
Ed Page
e53f2aff55
docs(test): Document panic_error function
2024-07-22 08:58:52 -05:00
Ed Page
c9dddd27c8
docs(test): Document main_file function
2024-07-22 08:58:52 -05:00
Ed Page
170756601c
docs(test): Document 'process'
2024-07-22 08:58:52 -05:00
Ed Page
b4b56d4d65
docs(test): Document basic_*manifest functions
2024-07-22 08:58:52 -05:00
Ed Page
1fe8ae6c3e
docs(test): Document Execs
...
I'm intentionally being light as I want to pull in a lot of "lessons
learned" from the port to snapbox into the docs and want that as a
dedicated PR to make it easier for the contributors to that effort to
review it.
2024-07-22 08:58:52 -05:00
Ed Page
4674f2b84d
docs(test): Organize docs for Execs
2024-07-22 08:58:52 -05:00
Ed Page
f42ae4c9c1
docs(test): Pull RawOutput from API
...
Its not used anywhere
2024-07-22 08:58:52 -05:00
Ed Page
7762d1f98c
docs(test): Document cargo_exe
2024-07-22 08:58:52 -05:00
Ed Page
fa0e66e738
docs(test): Document git_process
2024-07-22 08:58:52 -05:00
Ed Page
504d377c8e
docs(test): Document cargo_process
2024-07-22 08:58:52 -05:00
Ed Page
86945a211e
docs(test): Document t!
2024-07-22 08:58:52 -05:00
Ed Page
ca9fc47fe0
docs(test): Add high level example
2024-07-22 08:58:52 -05:00
Ed Page
ad6abb54be
docs(test): Verify they work
2024-07-22 08:58:52 -05:00
Ed Page
8e524ae561
docs(test): Link to two different docs builds
2024-07-22 08:58:52 -05:00
Ed Page
83d1c14b4e
docs(test): Point to docs, rather than source
...
I pointed to the nightly docs because I figured that was the most likely
one for users to be looking at.
2024-07-22 08:58:52 -05:00
bors
5f6b9a9220
Auto merge of #14271 - Alexendoo:schemas, r=epage
...
Add `TomlPackage::new`, `Default` for `TomlWorkspace`
Ran into this when using it to create a `Cargo.toml` rather than consume an existing one
2024-07-19 18:09:17 +00:00
Alex Macleod
9f85086fd2
Add TomlPackage::new
, Default
for TomlWorkspace
2024-07-19 17:51:38 +00:00
Ed Page
f05eba0ac5
docs(test): Migrate cargo_test docs from contrib to API reference
...
This will make them more easily discovered and make it easier to
remember to update them.
2024-07-19 12:04:02 -05:00
Ed Page
49deefe477
refactor(test): Reuse 'cargo_home' in more cases
2024-07-19 10:54:17 -05:00
Ed Page
b0e515aa61
fix(test): Move 'cargo_home' from 'install' to 'paths'
...
This is used outside of `cargo install` contexts and this makes it more
discoverable for those use cases.
2024-07-19 10:50:42 -05:00
bors
dad331c5ba
Auto merge of #14269 - epage:test-ext, r=ehuss
...
fix(test)!: Clarify extension trait role with rename
When browsing the docs, I feel like this will make it easier to tell the role of these traits within the API.
Or in other words, I can easily tell that these fill a support role and for what, so I know when I care to look into them.
We use this naming pattern for
`cargo_test_support::paths::CargoPathExt`.
2024-07-19 15:11:26 +00:00
Ed Page
a49921f829
fix(test)!: Clarify extension trait role with rename
...
When browsing the docs, I feel like this will make it easier to tell the
role of these traits within the API.
Or in other words, I can easily tell that these fill a support role and
for what, so I know when I care to look into them.
We use this naming pattern for
`cargo_test_support::paths::CargoPathExt`.
2024-07-18 20:52:22 -05:00
Ed Page
879bc9e3c3
feat(test): Re-export ProcessBuilder
...
Since its tied heavily into the API, this should make it easier to use
and document.
2024-07-18 20:51:43 -05:00