Repository: xd009642/tarpaulin
Pull request #1509 (2024-04-11 03:45:23)

Bump object from 0.32.2 to 0.35.0
Bumps [object](https://github.com/gimli-rs/object) from 0.32.2 to 0.35.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/gimli-rs/object/blob/master/CHANGELOG.md">object's changelog</a>.</em></p>
<blockquote>
<h2>0.35.0</h2>
<p>Released 2024/04/10.</p>
<h3>Breaking changes</h3>
<ul>
<li>Moved the <code>'file</code> lifetime parameter from <code>read::Object</code> to its associated types.
<a href="https://redirect.github.com/gimli-rs/object/pull/655">#655</a></li>
</ul>
<h3>Added</h3>
<ul>
<li>
<p>Added support more section kinds in <code>build::elf</code>.
<a href="https://redirect.github.com/gimli-rs/object/pull/650">#650</a></p>
</li>
<li>
<p>Added thin archive support to <code>read::ArchiveFile</code>.
<a href="https://redirect.github.com/gimli-rs/object/pull/651">#651</a></p>
</li>
<li>
<p>Added <code>read::ReadCacheOps</code> and changed <code>read::ReadCache</code> bound from <code>Read + Seek</code> to <code>ReadCacheOps</code>.
<a href="https://redirect.github.com/gimli-rs/object/pull/652">#652</a></p>
</li>
<li>
<p>Added <code>read::ObjectSection::relocation_map</code>
<a href="https://redirect.github.com/gimli-rs/object/pull/654">#654</a></p>
</li>
<li>
<p>Added <code>read::ArchiveFile::symbols</code>.
<a href="https://redirect.github.com/gimli-rs/object/pull/658">#658</a></p>
</li>
<li>
<p>Added <code>BinaryFormat::native_object</code>.
<a href="https://redirect.github.com/gimli-rs/object/pull/661">#661</a></p>
</li>
</ul>
<h3>Changed</h3>
<ul>
<li>
<p>The minimum supported rust version for the <code>read</code> feature and its dependencies
has changed to 1.65.0.
<a href="https://redirect.github.com/gimli-rs/object/pull/655">#655</a></p>
</li>
<li>
<p>Fixed <code>sh_offset</code> handling for <code>SHT_NOBITS</code> sections in <code>build::elf</code>.
<a href="https://redirect.github.com/gimli-rs/object/pull/645">#645</a></p>
</li>
<li>
<p>Fixed handling of ELF files with dynamic symbols but no dynamic strings.
<a href="https://redirect.github.com/gimli-rs/object/pull/646">#646</a></p>
</li>
<li>
<p>Fixed potential panics in <code>read::WasmFile</code> due to invalid function indices.
<a href="https://redirect.github.com/gimli-rs/object/pull/649">#649</a></p>
</li>
<li>
<p>Fixed handling of Wasm components in <code>read::WasmFile</code>.
<a href="https://redirect.github.com/gimli-rs/object/pull/649">#649</a></p>
</li>
<li>
<p>Fixed <code>sh_entsize</code> for 32-bit hash sections in <code>write::elf</code>.
<a href="https://redirect.github.com/gimli-rs/object/pull/650">#650</a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/gimli-rs/object/commit/68121c017fcd912f9a2f92464c428c2044ff83a5"><code>68121c0</code></a> Update Cargo.lock</li>
<li><a href="https://github.com/gimli-rs/object/commit/bfad841992421f578b24102b520d1500b624fafb"><code>bfad841</code></a> Release 0.35.0</li>
<li><a href="https://github.com/gimli-rs/object/commit/dec6b95cbfd906e684086fd8a2ee57811e47afda"><code>dec6b95</code></a> write/elf: fix reserve_dynstr to match doc (<a href="https://redirect.github.com/gimli-rs/object/issues/666">#666</a>)</li>
<li><a href="https://github.com/gimli-rs/object/commit/7552c79c18114059abba28510c61559a055b16de"><code>7552c79</code></a> write: document that alignment must be a power of two (<a href="https://redirect.github.com/gimli-rs/object/issues/665">#665</a>)</li>
<li><a href="https://github.com/gimli-rs/object/commit/0b7bfb90c6fb8d0388791401fdf282ba21efbad0"><code>0b7bfb9</code></a> Merge pull request <a href="https://redirect.github.com/gimli-rs/object/issues/655">#655</a> from mstange/gat-file-lifetime</li>
<li><a href="https://github.com/gimli-rs/object/commit/e311be5abb2ebf57a19ebf66e193fc921bc2a827"><code>e311be5</code></a> Update MSRV to 1.65.</li>
<li><a href="https://github.com/gimli-rs/object/commit/dc3be8f8d81add203e646c4a07b1e60d9298b14a"><code>dc3be8f</code></a> Remove 'file lifetime from the Object trait.</li>
<li><a href="https://github.com/gimli-rs/object/commit/16b441f0d0fdece9819543643207b458b4db6993"><code>16b441f</code></a> Add simple_write example (<a href="https://redirect.github.com/gimli-rs/object/issues/662">#662</a>)</li>
<li><a href="https://github.com/gimli-rs/object/commit/bbd6aa8112068ea425c1208a10b58a60277ec8f0"><code>bbd6aa8</code></a> Add BinaryFormat::native_object (<a href="https://redirect.github.com/gimli-rs/object/issues/661">#661</a>)</li>
<li><a href="https://github.com/gimli-rs/object/commit/d2bb2a4db8f5610a6a31f01e13a3c6e7eeb6c16d"><code>d2bb2a4</code></a> read/archive: add symbol iterator (<a href="https://redirect.github.com/gimli-rs/object/issues/658">#658</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/gimli-rs/object/compare/0.32.2...0.35.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=object&package-manager=cargo&previous-version=0.32.2&new-version=0.35.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


Patch:
diff --git a/Cargo.lock b/Cargo.lock
index 5cdf04d..9962c18 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -218,7 +218,7 @@ dependencies = [
  "llvm_profparser",
  "nix",
  "num_cpus",
- "object 0.32.2",
+ "object 0.35.0",
  "proc-macro2",
  "procfs",
  "quick-xml",
@@ -1085,6 +1085,15 @@ name = "object"
 version = "0.32.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "object"
+version = "0.35.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8ec7ab813848ba4522158d5517a6093db1ded27575b070f4177b8d12b41db5e"
 dependencies = [
  "flate2",
  "memchr",
@@ -1400,9 +1409,9 @@ dependencies = [
 
 [[package]]
 name = "ruzstd"
-version = "0.5.0"
+version = "0.6.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d"
+checksum = "5174a470eeb535a721ae9fdd6e291c2411a906b96592182d05217591d5c5cf7b"
 dependencies = [
  "byteorder",
  "derive_more",
diff --git a/Cargo.toml b/Cargo.toml
index b9fe534..e8e89cd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -32,7 +32,7 @@ humantime-serde = "1"
 indexmap = { version = "~1.8", features = ["serde-1"] }
 lazy_static = "1.0"
 llvm_profparser = "0.4.0"
-object = "0.32"
+object = "0.35"
 num_cpus = "1.16.0"
 proc-macro2 = { version = "1.0", features = ["span-locations"] }
 quick-xml = "0.31"


Test patch:
diff --git a/src/test_loader.rs b/src/test_loader.rs
index 5725751..2d675aa 100644
--- a/src/test_loader.rs
+++ b/src/test_loader.rs
@@ -217,9 +217,9 @@ where
     Ok(())
 }
 
-fn get_line_addresses<'data: 'file, 'file>(
+fn get_line_addresses<'data>(
     endian: RunTimeEndian,
-    obj: &'file impl object::read::Object<'data, 'file>,
+    obj: &'data impl object::read::Object<'data>,
     analysis: &HashMap<PathBuf, LineAnalysis>,
     config: &Config,
 ) -> Result<TraceMap> {