All functions accepting classes now take impl ClassTrait instead of Class directly. This allows passing other objects
that implement the same trait. This change should be backwards compatible.
Some functions, notably Mat::roi(), now return a BoxedRef<Mat> wrapper instead of seemingly independent Mat. This fixes
old soundness hole because the returned Mat was actually a view into the source Mat and you could easily end up with 2
mutable references to the same memory. An additional *_mut() is generated for each of such function to return a
mutable BoxedRefMut<Mat>. To get 2 mutable references to the same Mat for the non-intersecting regions use the
new Mat::roi_2_mut() function.
Slice detection improved, slice arguments in more functions are now generated automatically.
Some slices in function arguments are now references to arrays of particular size. To migrate call .try_into() to convert
the slice to the array.
The error message for the unspecified error (should never actually be visible) is changed to "Unspecified error, neither from
OpenCV nor from std".
Function signature changes:
A group of functions for Mat, UMat, GpuMat and GpuMatND have been given proper
names (rowscols, roi, ranges, col_bounds). Consequently, e.g. roi function can now be called on the Mat
instance (mat.roi()) instead of requiring a fully qualified call (Mat::roi(&mat)).
MatConstIterator::pos_to() is now unsafe and takes a pointer instead of a reference.
Version 0.4.36 introduced an unexpected breaking change and was yanked. In it LocalResult was renamed to MappedLocalTime to avoid the impression that it is a Result type were some of the results are errors. For backwards compatibility a type alias with the old name was added.
As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with use chrono::LocalResult::*. With 0.4.37 we make the new name MappedLocalTime the alias, but keep using it in function signatures and the documentation as much as possible.
See also the release notes of chrono 0.4.36 from yesterday for the yanked release.
v0.4.36
This release un-deprecates the methods on TimeDelta that were deprecated with the 0.4.35 release because of the churn they are causing for the ecosystem.
New is the DateTime::with_time() method. As an example of when it is useful:
use chrono::{Local, NaiveTime};
// Today at 12:00:00
let today_noon = Local::now().with_time(NaiveTime::from_hms_opt(12, 0, 0).unwrap());
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 commands and options
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all-dependencies group with 12 updates:
0.88.8
0.89.0
1.36.0
1.37.0
1.0.80
1.0.81
0.1.77
0.1.79
0.8.10
0.8.12
1.5.0
1.6.0
1.7.0
1.8.0
0.7.2
0.8.0
0.4.35
0.4.37
0.11.25
0.12.2
2.0.52
2.0.57
1.0.78
1.0.79
Updates
opencv
from 0.88.8 to 0.89.0Changelog
Sourced from opencv's changelog.
Commits
985af46
chore: Release162db06
Update changelog & regenerate docsa801650
Accept impl traits instead of specific types in function signatures, implemen...906fa61
Make pos_to take a pointer320f0ee
Cleanup510c5fb
Add manual array size to some methodsc8253d6
Improve slice detection3530206
Handle std::exception separately, change the unspecified code from -9999 to -23b923a7
Handle double pointer in CUDA_RawVideoSourceTrait::get_next_packet differently0b636de
chore: ReleaseUpdates
tokio
from 1.36.0 to 1.37.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
9c337ca
chore: prepare Tokio v1.37.0 (#6435)e542501
io: document cancel safety ofAsyncBufReadExt::fill_buf
(#6431)4601c84
stream: addnext_many
andpoll_next_many
toStreamMap
(#6409)deff252
util: document cancel safety ofSinkExt::send
andStreamExt::next
(#6417)4565b81
sync: add arwlock()
method to ownedRwLock
guards (#6418)3ce4720
sync: addis_closed
,is_empty
, andlen
to mpsc receivers (#6348)8342e4b
util: assert compatibility betweenLengthDelimitedCodec
options (#6414)4c453e9
readme: add description about benchmarks (#6425)1846483
sync: expose strong and weak counts of mpsc sender handles (#6405)baad270
sync: add Semaphore example for limiting the number of outgoing requests (#6419)Updates
anyhow
from 1.0.80 to 1.0.81Release notes
Sourced from anyhow's releases.
Commits
4aad4ed
Release 1.0.818be9091
Merge pull request #354 from dtolnay/deadcodea2eb7dd
Make compatible with -DwarningsUpdates
async-trait
from 0.1.77 to 0.1.79Release notes
Sourced from async-trait's releases.
Commits
1eb21ed
Release 0.1.7982cb95c
Resolve unused field of ReplaceSelf syntax tree visitorcd8286b
Update ui test suite to nightly-2024-03-22c73061d
Release 0.1.78b6314bc
Refactor inferred bound filtering8d51928
Merge pull request #262 from dtolnay/asyncspanc98a408
Minimize use of async token's span in expanded code2f5343c
Merge pull request #261 from dtolnay/inferredbound1a01bb4
Skip needlessly generating inferred bounds during ?Sende68d68c
Merge pull request #260 from dtolnay/qualificationsUpdates
toml
from 0.8.10 to 0.8.12Commits
3a777b3
chore: Release7979905
docs: Update changelog487768d
Merge pull request #703 from epage/overflow6987f77
chore(ci): Run with default opt-level21f545d
fix(parser): Don't stackoverflow on opt-level=0af1f97d
refactor(parser): Pull recursion limit out to variableeb86543
chore: Release246b292
docs: Update changelogd41c62c
Merge pull request #701 from epage/cleanup31457b3
refactor(error): Clean up highlight codeUpdates
bytes
from 1.5.0 to 1.6.0Release notes
Sourced from bytes's releases.
Changelog
Sourced from bytes's changelog.
Commits
ce8d8a0
chore: prepare bytes v1.6.0 (#681)536db06
Use ManuallyDrop instead of mem::forget (#675)ca00411
Remove commented tests for Bytes::unsplit (#677)7968f6f
Remove redundant reserve call (#674)c5fae00
copy_to_bytes: Add panic section to docs (#676)99584cc
Use Iterator from the prelude (#673)4628927
Refactor split_at/split_to (#663)1bcd212
get_vec_pos: use &self instead of &mut self (#670)f586ffc
set_vec_pos does not need a second parameter (#672)c6972d6
Calculate original capacity only if necessary (#666)Updates
uuid
from 1.7.0 to 1.8.0Release notes
Sourced from uuid's releases.
Commits
0f2aaae
Merge pull request #747 from uuid-rs/cargo/1.8.001d16c3
prepare for 1.8.0 releasee4746bc
Merge pull request #745 from uuid-rs/ci/outdatedd0396ad
Merge pull request #746 from uuid-rs/chore/draft-link9415ed4
Merge pull request #743 from koshell/main951e8e3
Merge pull request #738 from rerun-io/emilk/wasm-bindgen-only-on-web101aa84
add v6 to v8 draft link to README84dcbba
run outdated on a scheduleca952b1
add a workflow for running cargo outdatedabe995a
Make the toml longer, more complicated, and functionalUpdates
graphviz-rust
from 0.7.2 to 0.8.0Changelog
Sourced from graphviz-rust's changelog.
Commits
Updates
chrono
from 0.4.35 to 0.4.37Release notes
Sourced from chrono's releases.
Commits
7d62045
Prepare 0.4.376857d00
Hide re-export ofLocalResult
in docs9e22e48
SwapMappedLocalTime
andLocalResult
type aliasca3c3b6
Prepare 0.4.361850198
RevertTimeDelta
deprecationse05ba8b
AddMappedLocalTime::and_then
3adfd88
Main documentation: simplify links and reflow text1e8df65
Rustfmt doc comments1b57859
Run doctests withalloc
feature if possible6f2c7cc
Use different method to run feature-dependent doctestsUpdates
reqwest
from 0.11.25 to 0.12.2Release notes
Sourced from reqwest's releases.
... (truncated)
Changelog
Sourced from reqwest's changelog.
Commits
6768a8e
v0.12.2fff307b
fix(connect): ALPN missed when using socks5 proxy with rustls backend (#2164)04bf45f
fix: tls version limit for rustls (#2203)056f8c4
fix(connect): not negotiate h2 when using native-tls backend (#2165)e0ea15b
v0.12.13d78fcb
fix: Display for Error shouldn't include source (#2199)c535724
Fix binding interface when no TLS is used (#2200)d5adcba
fix: rustls extraction ofTlsInfo::peer_certificate()
being truncated (#2195)7a5df21
fix: could panic if http2 disabled but TLS negotiated h2 (#2194)d5051f9
Update version number in ReadmeUpdates
syn
from 2.0.52 to 2.0.57Release notes
Sourced from syn's releases.
Commits
9cea040
Release 2.0.573c07b78
Release 2.0.56585df47
Merge pull request #1608 from BD103/deps-featuresd7650b2
chore: bump msrv to 1.60 (pt. 2)4913ab2
chore: bump msrv to 1.60694f604
feat: use optional dependency feature syntax?
6c7c709
refactor: usedep:
prefix forquote
dependencyc7f734d
Explicitly install a Rust toolchain for cargo-outdated jobdcd74f5
Merge pull request #1605 from dtolnay/workspacewrapper3748333
Apply RUSTC_WORKSPACE_WRAPPERUpdates
proc-macro2
from 1.0.78 to 1.0.79Release notes
Sourced from proc-macro2's releases.
Commits
4ba4ab1
Release 1.0.79b176581
Prevent new lint from turning off nightly span support under -Dwarningsb9cd864
Fix dead_code warning on fallback SourceFilee94f432
Ignore incompatible_msrv clippy lint for conditionally compiled code18c75c6
Ignore dead_code warning in test5cd21eb
Update ui test suite to nightly-2024-02-01Dependabot 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 commands and options
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