c2pa-rs.meta

Issues/PRs archive for mtrnords-photography-manager/c2pa-rs
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.meta.git
Log | Files | Refs

6.md (8491B)


      1 # PR #6 Update multihash requirement from 0.11.4 to 0.19.1 in /sdk
      2 
      3 - **Status:** open
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2024-06-23T13:31:45Z
      6 - **Branch:** dependabot/cargo/sdk/multihash-0.19.1 → main
      7 - **Labels:** dependencies
      8 - **Diff:** [6.diff](./6.diff)
      9 
     10 ---
     11 
     12 Updates the requirements on [multihash](https://github.com/multiformats/rust-multihash) to permit the latest version.
     13 <details>
     14 <summary>Changelog</summary>
     15 <p><em>Sourced from <a href="https://github.com/multiformats/rust-multihash/blob/master/CHANGELOG.md">multihash's changelog</a>.</em></p>
     16 <blockquote>
     17 <h2><a href="https://github.com/multiformats/rust-multihash/compare/v0.19.0...v0.19.1"></a> (2023-09-06)</h2>
     18 <h3>Bug Fixes</h3>
     19 <ul>
     20 <li>make Serde (de)serialization no_std compatible (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/337">#337</a>) (<a href="https://github.com/multiformats/rust-multihash/commit/7ad51614ad347bfa8c6f421986abc517e04091f6">7ad5161</a>), closes 336<a href="https://redirect.github.com/multiformats/rust-multihash/issues/336">#</a>. This was a regression introduced in v0.19.0.</li>
     21 </ul>
     22 <h2><a href="https://github.com/multiformats/rust-multihash/compare/v0.18.0...v0.19.0"></a> (2023-06-06)</h2>
     23 <h3>⚠ BREAKING CHANGES</h3>
     24 <ul>
     25 <li>the Serde serialization format changed</li>
     26 <li>split crates into multiple to isolate breaking changes</li>
     27 <li><code>identity</code> hasher was removed</li>
     28 </ul>
     29 <p>See the migration section below for help on upgrading.</p>
     30 <h3>Features</h3>
     31 <ul>
     32 <li><strong>codetable:</strong> remove <code>identity</code> hasher (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/289">#289</a>) (<a href="https://github.com/multiformats/rust-multihash/commit/8473e2f7ecdc0838a3f35d0ecb1935b4c70797c2">8473e2f</a>)</li>
     33 <li>Serde serialize Multihash in bytes representation (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/302">#302</a>) (<a href="https://github.com/multiformats/rust-multihash/commit/10232266c01aa83190af62ad6aeebf63bb7a16c7">1023226</a>)</li>
     34 </ul>
     35 <h3>Bug Fixes</h3>
     36 <ul>
     37 <li>avoid possible panic in error handling code (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/277">#277</a>) (<a href="https://github.com/multiformats/rust-multihash/commit/5dc1dfac0235e63e9ad80572e6b73f8fcd301ec3">5dc1dfa</a>)</li>
     38 <li>don't panic on non minimal varints (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/291">#291</a>) (<a href="https://github.com/multiformats/rust-multihash/commit/6ef604012b84d5c15d4f3c66a28ead96afedf158">6ef6040</a>), closes <a href="https://redirect.github.com/multiformats/rust-multihash/issues/282">#282</a></li>
     39 <li>expose <code>MultihashDigest</code> trait in codetable (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/304">#304</a>) (<a href="https://github.com/multiformats/rust-multihash/commit/50b43cdbba5492923ffb31bb197930d2f3e2cf14">50b43cd</a>)</li>
     40 </ul>
     41 <h3>Code Refactoring</h3>
     42 <ul>
     43 <li>split crates into multiple to isolate breaking changes (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/272">#272</a>) (<a href="https://github.com/multiformats/rust-multihash/commit/954e5233d273a2b7d682fd087178203628d131a4">954e523</a>)</li>
     44 </ul>
     45 <h3>Migrating</h3>
     46 <p>When upgrading to <code>v0.19</code>, consider the following:</p>
     47 <ul>
     48 <li>
     49 <p><code>Code</code> has moved from <code>multihash::Code</code> to <code>multihash_codetable::Code</code>. It's strongly recommended to define your own code table using <code>multihash_derive</code>. Check the <a href="https://github.com/multiformats/rust-multihash/blob/master/codetable/examples/custom_table.rs">custom codetable example</a> on how to use it. For the simplest migration, use the <code>multihash_codetable::Code</code>.</p>
     50 <p><strong>Before</strong></p>
     51 <pre lang="rust"><code>use multihash::{Code, MultihashDigest};
     52 <p>fn main() {
     53 let hash = Code::Sha2_256.digest(b&quot;hello, world!&quot;);
     54 println!(&quot;{:?}&quot;, hash);
     55 }
     56 </code></pre></p>
     57 </li>
     58 </ul>
     59 <!-- raw HTML omitted -->
     60 </blockquote>
     61 <p>... (truncated)</p>
     62 </details>
     63 <details>
     64 <summary>Commits</summary>
     65 <ul>
     66 <li><a href="https://github.com/multiformats/rust-multihash/commit/8adf8c0c602d98082d951f5625c29cd24c972b2c"><code>8adf8c0</code></a> chore: prepare 0.19.1 release (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/341">#341</a>)</li>
     67 <li><a href="https://github.com/multiformats/rust-multihash/commit/1a33810fd7cb207abe512dcabbca63ba48fb35be"><code>1a33810</code></a> chore(deps): bump actions/checkout from 3 to 4 (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/340">#340</a>)</li>
     68 <li><a href="https://github.com/multiformats/rust-multihash/commit/7ad51614ad347bfa8c6f421986abc517e04091f6"><code>7ad5161</code></a> fix: make Serde (de)serialization no_std compatible (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/337">#337</a>)</li>
     69 <li><a href="https://github.com/multiformats/rust-multihash/commit/93ffba32804bba922ba7a3b3b85e4b6d5bdb2005"><code>93ffba3</code></a> chore(deps): bump actions/checkout from 3 to 4 (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/339">#339</a>)</li>
     70 <li><a href="https://github.com/multiformats/rust-multihash/commit/452a933396adcd5915c53563d5017df76ae3ec26"><code>452a933</code></a> chore: Update .github/dependabot.yml [skip ci]</li>
     71 <li><a href="https://github.com/multiformats/rust-multihash/commit/9b8d6237c58824e713218cace3770f56222cc460"><code>9b8d623</code></a> chore: switch sha-1 package name to sha1 (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/328">#328</a>)</li>
     72 <li><a href="https://github.com/multiformats/rust-multihash/commit/f78d455bb1b30f43f524dc830b1fff2b29666892"><code>f78d455</code></a> chore: update github actions</li>
     73 <li><a href="https://github.com/multiformats/rust-multihash/commit/16e68d8203c787768688dab8aed4295a32f33bf0"><code>16e68d8</code></a> chore: prepare 0.19 release (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/324">#324</a>)</li>
     74 <li><a href="https://github.com/multiformats/rust-multihash/commit/abfcd948586e5f5bf75637ad9e5e4d8a1c08705d"><code>abfcd94</code></a> docs: mention identity example in migration guide (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/323">#323</a>)</li>
     75 <li><a href="https://github.com/multiformats/rust-multihash/commit/4386c977bbeadd2970f931a3d53903043ecfae8a"><code>4386c97</code></a> chore(deps): update criterion requirement from 0.4.0 to 0.5.1 (<a href="https://redirect.github.com/multiformats/rust-multihash/issues/313">#313</a>)</li>
     76 <li>Additional commits viewable in <a href="https://github.com/multiformats/rust-multihash/compare/v0.11.4...v0.19.1">compare view</a></li>
     77 </ul>
     78 </details>
     79 <br />
     80 
     81 
     82 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`.
     83 
     84 [//]: # (dependabot-automerge-start)
     85 [//]: # (dependabot-automerge-end)
     86 
     87 ---
     88 
     89 <details>
     90 <summary>Dependabot commands and options</summary>
     91 <br />
     92 
     93 You can trigger Dependabot actions by commenting on this PR:
     94 - `@dependabot rebase` will rebase this PR
     95 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
     96 - `@dependabot merge` will merge this PR after your CI passes on it
     97 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
     98 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
     99 - `@dependabot reopen` will reopen this PR if it is closed
    100 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    101 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
    102 - `@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)
    103 - `@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)
    104 - `@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)
    105 
    106 
    107 </details>
    108