Skip to content

Commit 5336de2

Browse files
chore(deps): update ndarray-rand requirement from 0.14 to 0.16 (#10)
Updates the requirements on [ndarray-rand](https://github.com/rust-ndarray/ndarray) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rust-ndarray/ndarray/releases">ndarray-rand's releases</a>.</em></p> <blockquote> <h2>ndarray-rand 0.16.0</h2> <p>This release of <code>ndarray-rand</code> adds compatibility for the new <code>ArrayRef</code> type in <code>ndarray</code> 0.17. It adds the the new <code>RandomRefExt</code> trait, providing <code>sample_axis</code> and <code>sample_axis_using</code> methods on <code>ArrayRef</code>.</p> <p>This release also bumps the requirements for <code>rand</code> to 0.9.0 and for <code>rand_distr</code> to 0.5.0.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md">ndarray-rand's changelog</a>.</em></p> <blockquote> <h1>Version 0.16.0 (2024-08-03)</h1> <h2>Featured Changes</h2> <ul> <li>Better shape: Deprecate reshape, into_shape by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1310">#1310</a><!-- raw HTML omitted --> <code>.into_shape()</code> <strong>is now deprecated</strong>. Use <code>.into_shape_with_order()</code> or <code>.to_shape()</code> instead, which don't have <code>into_shape</code>'s drawbacks.</li> </ul> <h2>New Features and Improvements</h2> <ul> <li>Check for aliasing in <code>RawViewMut::from_shape_ptr</code> with a debug assertion by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1413">#1413</a></li> <li>Allow aliasing in ArrayView::from_shape by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1410">#1410</a></li> <li>Remove deprecations from 0.15.x by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1409">#1409</a></li> <li>Make <code>CowArray</code> an owned storage array, require Clone bound for <code>into_shared</code> by <a href="https://github.com/jturner314"><code>@​jturner314</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1028">#1028</a></li> <li>Change <code>NdProducer::Dim</code> of <code>axis_windows()</code> to <code>Ix1</code> by <a href="https://github.com/jonasBoss"><code>@​jonasBoss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1305">#1305</a></li> <li>Add <code>squeeze()</code> to dynamic dimension arrays by <a href="https://github.com/barakugav"><code>@​barakugav</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1396">#1396</a></li> <li>Add <code>flatten</code>, <code>flatten_with_order</code> and <code>into_flat</code> to arrays by <a href="https://github.com/barakugav"><code>@​barakugav</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1397">#1397</a></li> <li>Make compatible with thumbv6m-none-eabi by <a href="https://github.com/BjornTheProgrammer"><code>@​BjornTheProgrammer</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1384">#1384</a></li> <li><code>is_unique</code> for <code>ArcArray</code> by <a href="https://github.com/daniellga"><code>@​daniellga</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1399">#1399</a></li> <li>Add <code>triu</code> and <code>tril</code> methods directly to ArrayBase by <a href="https://github.com/akern40"><code>@​akern40</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1386">#1386</a></li> <li>Fix styling of the BLAS integration heading. by <a href="https://github.com/adamreichold"><code>@​adamreichold</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1390">#1390</a></li> <li>Implement <code>product_axis</code> by <a href="https://github.com/akern40"><code>@​akern40</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1387">#1387</a></li> <li>Add reserve method for owned arrays by <a href="https://github.com/ssande7"><code>@​ssande7</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1268">#1268</a></li> <li>Use inline on spit_at and smaller methods by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1381">#1381</a></li> <li>Update to Approx 0.5 by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1380">#1380</a></li> <li>Add .into_raw_vec_with_offset() and deprecate .into_raw_vec() by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1379">#1379</a></li> <li>Add additional array -&gt; array view conversions by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1130">#1130</a></li> <li>implement DoubleEndedIterator for 1d <code>LanesIter</code> by <a href="https://github.com/Muthsera"><code>@​Muthsera</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1237">#1237</a></li> <li>Add Zip::any by <a href="https://github.com/nilgoyette"><code>@​nilgoyette</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1228">#1228</a></li> <li>Make the aview0, aview1, and aview2 free functions be const fns by <a href="https://github.com/jturner314"><code>@​jturner314</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1132">#1132</a></li> <li>Add missing safety checks to <code>From&lt;&amp;[[A; N]]&gt; for ArrayView</code> and <code>From&lt;&amp;mut [[A; N]]&gt; for ArrayViewMut</code> by <a href="https://github.com/jturner314"><code>@​jturner314</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1131">#1131</a></li> <li>derived Debug for Iter and IterMut by <a href="https://github.com/biskwikman"><code>@​biskwikman</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1353">#1353</a></li> <li>Fix Miri errors for WindowsIter and ExactChunksIter/Mut by <a href="https://github.com/jturner314"><code>@​jturner314</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1142">#1142</a></li> <li>Fix Miri failure with -Zmiri-tag-raw-pointers by <a href="https://github.com/jturner314"><code>@​jturner314</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1138">#1138</a></li> <li>Track-caller panics by <a href="https://github.com/xd009642"><code>@​xd009642</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/975">#975</a></li> <li>Add slice_axis_move method by <a href="https://github.com/jturner314"><code>@​jturner314</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1211">#1211</a></li> <li>iterators: Re-export IntoIter by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1370">#1370</a></li> <li>Fix unsafe blocks in <code>s![]</code> macro by <a href="https://github.com/jturner314"><code>@​jturner314</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1196">#1196</a></li> <li>Fix comparison with NumPy of slicing with negative step by <a href="https://github.com/venkat0791"><code>@​venkat0791</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1319">#1319</a></li> <li>Updated Windows <code>base</code> Computations to be Safer by <a href="https://github.com/LazaroHurtado"><code>@​LazaroHurtado</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1297">#1297</a></li> <li>Update README-quick-start.md by <a href="https://github.com/fumseckk"><code>@​fumseckk</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1246">#1246</a></li> <li>Added stride support to <code>Windows</code> by <a href="https://github.com/LazaroHurtado"><code>@​LazaroHurtado</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1249">#1249</a></li> <li>Added select example to numpy user docs by <a href="https://github.com/WillAyd"><code>@​WillAyd</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1294">#1294</a></li> <li>Add both approx features to the readme by <a href="https://github.com/nilgoyette"><code>@​nilgoyette</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1289">#1289</a></li> <li>Add NumPy examples combining slicing and assignment by <a href="https://github.com/jturner314"><code>@​jturner314</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1210">#1210</a></li> <li>Fix contig check for single element arrays by <a href="https://github.com/bluss"><code>@​bluss</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1362">#1362</a></li> <li>Export Linspace and Logspace iterators by <a href="https://github.com/johann-cm"><code>@​johann-cm</code></a> <a href="https://redirect.github.com/rust-ndarray/ndarray/pull/1348">#1348</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-ndarray/ndarray/commit/0e1d04ba7dd81fad83783a043b601df5e6a7f9da"><code>0e1d04b</code></a> chore: Release</li> <li><a href="https://github.com/rust-ndarray/ndarray/commit/306addaa8380f814502be03ebcf208babef67c2e"><code>306adda</code></a> Add release log for ndarray-rand 0.16.0 (<a href="https://redirect.github.com/rust-ndarray/ndarray/issues/1541">#1541</a>)</li> <li><a href="https://github.com/rust-ndarray/ndarray/commit/903cb23426eafeaff4c97767e0da4c7199524f30"><code>903cb23</code></a> Extend <code>ndarray-rand</code> to be able to randomly sample from <code>ArrayRef</code> (<a href="https://redirect.github.com/rust-ndarray/ndarray/issues/1540">#1540</a>)</li> <li><a href="https://github.com/rust-ndarray/ndarray/commit/66dc0e16a5323408102a8f7c1e5b70183f1a3634"><code>66dc0e1</code></a> chore: Release</li> <li><a href="https://github.com/rust-ndarray/ndarray/commit/85e712f65c714888adbd9405e35aed8edbe107b4"><code>85e712f</code></a> Add a changelog for 0.17.1 (<a href="https://redirect.github.com/rust-ndarray/ndarray/issues/1538">#1538</a>)</li> <li><a href="https://github.com/rust-ndarray/ndarray/commit/1579da4faaf25cf3375b3201164c1a03fbf0cc2a"><code>1579da4</code></a> Document + ?Sized in a few more places (<a href="https://redirect.github.com/rust-ndarray/ndarray/issues/1537">#1537</a>)</li> <li><a href="https://github.com/rust-ndarray/ndarray/commit/dc331a7416e5de32b40b417a5397620f8e918056"><code>dc331a7</code></a> Fix clippy lint <code>cast_slice_from_raw_parts</code> (<a href="https://redirect.github.com/rust-ndarray/ndarray/issues/1536">#1536</a>)</li> <li><a href="https://github.com/rust-ndarray/ndarray/commit/7c56e84f04e3f0f29267b952fc252699cd70391a"><code>7c56e84</code></a> Update the docs and examples for the new <code>Sized</code> implementation (<a href="https://redirect.github.com/rust-ndarray/ndarray/issues/1535">#1535</a>)</li> <li><a href="https://github.com/rust-ndarray/ndarray/commit/a3b3537788c799025fc7317a15869efbf7ec69e4"><code>a3b3537</code></a> Makes the reference types sound via a DST (<a href="https://redirect.github.com/rust-ndarray/ndarray/issues/1532">#1532</a>)</li> <li><a href="https://github.com/rust-ndarray/ndarray/commit/e6bf80445525ded975cef8f456daad3142b09ccc"><code>e6bf804</code></a> Mention the used rand version 0.9 in ndarray-rand (<a href="https://redirect.github.com/rust-ndarray/ndarray/issues/1533">#1533</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rust-ndarray/ndarray/compare/ndarray-rand-0.14.0...ndarray-rand-0.16.0">compare view</a></li> </ul> </details> <br /> 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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
1 parent fc9d6eb commit 5336de2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repository = "https://github.com/hyperpolymath/neurophone"
2121
[workspace.dependencies]
2222
# Core neural network
2323
ndarray = { version = "0.17", features = ["rayon", "serde"] }
24-
ndarray-rand = "0.14"
24+
ndarray-rand = "0.16"
2525
rand = "0.9"
2626
rand_distr = "0.4"
2727
rayon = "1.8"

0 commit comments

Comments
 (0)