Repository navigation
chore(deps): bump the cargo group across 1 directory with 9 updates - #16
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
This was referenced Jul 9, 2026
dependabot
Bot
force-pushed
the
dependabot/cargo/cargo-58d8f427e1
branch
3 times, most recently
from
July 9, 2026 23:34
c393545 to
7f577ce
Compare
Bumps the cargo group with 9 updates in the / directory: | Package | From | To | | --- | --- | --- | | [rusqlite](https://github.com/rusqlite/rusqlite) | `0.32.1` | `0.40.1` | | [sha2](https://github.com/RustCrypto/hashes) | `0.10.9` | `0.11.0` | | [jieba-rs](https://github.com/messense/jieba-rs) | `0.7.4` | `0.10.2` | | [pdf-extract](https://github.com/jrmuizel/pdf-extract) | `0.7.12` | `0.12.0` | | [regex](https://github.com/rust-lang/regex) | `1.12.4` | `1.13.0` | | [lopdf](https://github.com/J-F-Liu/lopdf) | `0.34.0` | `0.42.0` | | [oar-ocr](https://github.com/greatv/oar-ocr) | `0.7.4` | `0.8.0` | | [aes-gcm](https://github.com/RustCrypto/AEADs) | `0.10.3` | `0.11.0` | | [rand](https://github.com/rust-random/rand) | `0.8.6` | `0.10.2` | Updates `rusqlite` from 0.32.1 to 0.40.1 - [Release notes](https://github.com/rusqlite/rusqlite/releases) - [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md) - [Commits](rusqlite/rusqlite@v0.32.1...v0.40.1) Updates `sha2` from 0.10.9 to 0.11.0 - [Commits](RustCrypto/hashes@sha2-v0.10.9...sha2-v0.11.0) Updates `jieba-rs` from 0.7.4 to 0.10.2 - [Release notes](https://github.com/messense/jieba-rs/releases) - [Commits](messense/jieba-rs@v0.7.4...v0.10.2) Updates `pdf-extract` from 0.7.12 to 0.12.0 - [Commits](jrmuizel/pdf-extract@v0.7.12...v0.12.0) Updates `regex` from 1.12.4 to 1.13.0 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](rust-lang/regex@1.12.4...1.13.0) Updates `lopdf` from 0.34.0 to 0.42.0 - [Release notes](https://github.com/J-F-Liu/lopdf/releases) - [Changelog](https://github.com/J-F-Liu/lopdf/blob/main/CHANGELOG.md) - [Commits](J-F-Liu/lopdf@v0.34.0...v0.42.0) Updates `oar-ocr` from 0.7.4 to 0.8.0 - [Release notes](https://github.com/greatv/oar-ocr/releases) - [Commits](GreatV/oar-ocr@v0.7.4...v0.8.0) Updates `aes-gcm` from 0.10.3 to 0.11.0 - [Commits](RustCrypto/AEADs@aes-gcm-v0.10.3...aes-gcm-v0.11.0) Updates `rand` from 0.8.6 to 0.10.2 - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](rust-random/rand@0.8.6...0.10.2) --- updated-dependencies: - dependency-name: aes-gcm dependency-version: 0.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: jieba-rs dependency-version: 0.10.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: lopdf dependency-version: 0.42.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: oar-ocr dependency-version: 0.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: pdf-extract dependency-version: 0.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: rand dependency-version: 0.10.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: regex dependency-version: 1.13.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: rusqlite dependency-version: 0.40.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo - dependency-name: sha2 dependency-version: 0.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/cargo/cargo-58d8f427e1
branch
from
July 10, 2026 02:04
7f577ce to
15a9cba
Compare
Contributor
Author
|
Looks like these dependencies are updatable in another way, so this is no longer needed. |
Chesterguan
added a commit
that referenced
this pull request
Aug 5, 2026
## 根因是 Flutter SDK 的一个默认行为变更,不是我们的代码写错 `flutter/flutter#173084`(commit `264223d9879`,首次进入 3.37.0-0.0.pre;当前 SDK 3.44.6)。SDK 源码逐字: snack_bar.dart:303 persist = persist ?? action != null; // 带 action 就默认永不消失 scaffold.dart:622 _snackBarTimer = Timer(snackBar.duration, () { if (snackBar.persist) { return; } // 计时器照响,回调直接返回 hideCurrentSnackBar(reason: timeout); }); `duration` 传了也没用。没有报错、没有 lint、没有 assert。同一个 commit 里旧的 `action != null && accessibleNavigationOf(context)` 守卫被删掉了 —— **所以这不再 依赖任何无障碍设置,人人中招**。`SnackBarThemeData` 没有 `persist` 字段,主题层 堵不住,只能在构造处堵。 ## 我的假设是错的,被对照实验排掉了 我怀疑是五 tab 的 `IndexedStack` 关掉了非当前子树的 `TickerMode`,导致计时器不走。 实现者用同一棵树做了对照:**不带 action 的提示 4 秒正常消失**,只差一个 `action:` 的那条推 10 分钟仍在。A 组绿就把 ticker 假设判死了。记下来:猜根因要么验要么标成猜。 ## 顺带修好第二个受害者,而且它更严重 `import_flow.dart:532` `_offerPlainCamera`: return await controller.closed == SnackBarClosedReason.action; `closed` 永远不 resolve → 这个 `await` **永久挂住**。用户点拍照、扫描器没打开、 弹出「用普通相机」,他要是不点,整条导入就卡死在这一句,没有出路 —— 而这正是 当年 #16「安卓拍照打不开」那条路径。函数自己的文档还写着「8 秒自己消失」。 真机上那两个症状(推断,未实测):盖住的区域点不动 —— `Dismissible` 在 `margin == null && insetPadding == null` 时取 `HitTestBehavior.opaque`,而 theme 只设了 `behavior: floating`;横向划它没用 —— `dismissDirection` 默认只认向下。 ## 改法:入口收成一个,再用测试焊死 新增 `widgets/app_snack_bar.dart` 作为全 App 唯一的 SnackBar 构造口,`persist: false` 写死。`lib/` 下 21 处构造全部改走它(12 个文件)。**没有用 `duration:`,也没有用 `hideCurrentSnackBar()`** —— 只补设置页那一处的话,下一个写 `SnackBar(` 的人还会 再踩。真正会中招的只有带 `action:` 的那 2 处,其余 19 处行为不变,一并改走是为了 让源码守卫立得住。 ## 红→绿 摘掉 `persist: false` → 4 条里红 3 条,而**对照组仍绿**(判别力); 任一处改回裸 `SnackBar(` → 守卫测试红并报出 `文件:行号`。 flutter analyze 干净,flutter test **285 全绿**(基线 280 + 新增 5)。 ## 留给产品的一条 带 action 的提示恢复成 4 秒(上游改动之前的行为)。Material 3 建议可操作提示 4–10 秒,「去看看」只有 4 秒可点可能偏短 —— 改时长是产品决策,没动。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the cargo group with 9 updates in the / directory:
0.32.10.40.10.10.90.11.00.7.40.10.20.7.120.12.01.12.41.13.00.34.00.42.00.7.40.8.00.10.30.11.00.8.60.10.2Updates
rusqlitefrom 0.32.1 to 0.40.1Release notes
Sourced from rusqlite's releases.
... (truncated)
Commits
6d3c282Merge pull request #1856 from gwenn/0.40.12ba28b7Prepare next releasea021dc7Merge pull request #1854 from gwenn/savepoint534a149Merge pull request #1855 from gwenn/hashlink6d9764fBump hashlink versionfa574ebUsesqlite3_keyword_check15385ccFix SQL injection when SAVEPOINT name is taintede5e48f2Merge pull request #1853 from gwenn/3.53.2ac22292Bump bundled SQLite version to 3.53.2c5f8828Merge pull request #1852 from gwenn/clippyUpdates
sha2from 0.10.9 to 0.11.0Commits
ffe0939Release sha2 0.11.0 (#806)8991b65Use the standard order of the[package]section fields (#807)3d2bc57sha2: refactor backends (#802)faa55fbsha3: bumpkeccakto v0.2 (#803)d3e6489sha3 v0.11.0-rc.9 (#801)bbf6f51sha2: tweak backend docs (#800)155dbbfsha3: add default value for theDSgeneric parameter onTurboShake128/256...ed514f2Use published version ofkeccakv0.2 (#799)702bcd8Migrate to closure-basedkeccak(#796)827c043sha3 v0.11.0-rc.8 (#794)Updates
jieba-rsfrom 0.7.4 to 0.10.2Release notes
Sourced from jieba-rs's releases.
... (truncated)
Commits
c4acc5eBump version to 0.10.2c83a93cOptimize jieba hot paths (#152)1e77e50capi publish = false5184fa0Bump version to 0.10.1215aaeeUpdate cedarwood dependency version to 0.5 (#151)333f0ceperf: optimize segmentation hot paths (#150)2e0ebf4docs: add new bench doc (#149)5af2333fix: cargo build warning (#148)7818f91chore: release v0.10.0dcab0effix: perf not full right when text is long the dag perf (#147)Updates
pdf-extractfrom 0.7.12 to 0.12.0Commits
b95bf9fchore: Release pdf-extract version 0.12.0e5e79d7Add some corpusesf0e48b8Bump to lopdf 0.42bdd03f7Don't evaluate arguments to dlog! when not debugging.16a08f3Require type1-encoding-parser = "0.1.1"205c16fAvoid reparsing fonts for every page.33c2a06Bump to lopdf 0.391a5ea83Added support for wasm compilebbed9e3Update to cff-parser 0.2.08ea76f9Switch 'falling back to encoding' messages to debug!Updates
regexfrom 1.12.4 to 1.13.0Changelog
Sourced from regex's changelog.
Commits
926af2e1.13.07d941a9regex-automata-0.4.15e358341api: addregex!macro for lazy compilationc420333automata: disable miri on a couple doc testsb9d2cf7github: add FUNDING link0858006docs: add AI policy for contributors468fc64automata: reject dense DFA start states that are match statesUpdates
lopdffrom 0.34.0 to 0.42.0Release notes
Sourced from lopdf's releases.
... (truncated)
Changelog
Sourced from lopdf's changelog.
... (truncated)
Commits
2ffc4b4Release 0.42.0c755394fix(parser): limit array and dictionary nesting depth762be26fix(writer): include subsequent ObjStm objects in xref stream rangeafb9f00fix(document): insert newline between concatenated content streams162257dfix(parser): consume trailing comments in content streams3549a24feat(parser): add Content::decode_strict method for strict parsing81202a2test(parser): escape trailing whitespace in parser testsfff5d1cUpdate CHANGELOGcc9b63eRelease 0.41681cc9ffix clippy errorsUpdates
oar-ocrfrom 0.7.4 to 0.8.0Release notes
Sourced from oar-ocr's releases.
Commits
8b19b79docs: add FAQ, document in-memory model loading; bump version to 0.8.0 (#154)d881b2efeat: support loading models from memory (#37) (#153)b34eca2refactor(predictors): centralize auto-download path resolution (#152)6e6cbcefix: remove text recognition length limit (#150)Updates
aes-gcmfrom 0.10.3 to 0.11.0Commits
a10b56faes-gcm v0.11.0 (#852)f042e9caead-stream v0.6.0 (#851)b29735aAdopt Trusted Publishing (#854)a1fe43fxaes-256-gcm: enable and fix workspace level lints (#850)8cf876feax: remove toplevel lint attributes (#849)4661ddfocb3: enable and fix workspace-level lints (#848)c821431eax: enable and fix workspace-level lints (#847)d3684bbdeoxys: enable and fix workspace-level lints (#846)5e016e2chacha20poly1305: enable and fix workspace-level lints (#845)b3524d3ccm: enable and fix workspace-level lints (#844)Updates
randfrom 0.8.6 to 0.10.2Changelog
Sourced from rand's changelog.
... (truncated)
Commits
1540ea3Prepare rand 0.10.2 (#1800)a29964aBump chacha20 from 0.10.0 to 0.10.1 in the all-deps group (#1801)ced9491Tweak docs for RngExt::random_range and SampleRange (#1798)db14664Check UniformChar validity on deser (#1790)bea8620Bump the all-deps group with 2 updates (#1796)4f44932Bump actions/cache from 5 to 6 (#1795)b999a13Bump actions/checkout from 6 to 7 (#1794)aeab810Avoid unsafe where safety depends on non-local values (#1791)1896d7cAdd typos CI job (#1789)43eddeeBump the all-deps group with 2 updates (#1788)