Skip to content

Commit 53d0aa5

Browse files
jsturtevantCopilot
andauthored
Fix unic RustSec advisory via patched piet (#1519)
* Fix unic RustSec advisory via patched piet Patch piet to the upstream commit that replaces the unmaintained unic-bidi dependency with icu_properties. Bump Rust toolchain references to 1.92 because the upstream piet fix requires it, and refresh Cargo.lock so the unic advisory crates are removed.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: James Sturtevant <jsturtevant@gmail.com> * Keep core MSRV at Rust 1.89 Restore the workspace and CI toolchains to Rust 1.89 while leaving the patched piet dependency scoped to trace_dump. Document trace_dump's Rust 1.92 requirement locally. Signed-off-by: James Sturtevant <jsturtevant@gmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Scope piet fix to trace dump Use the fixed upstream piet commit directly from trace_dump instead of a workspace-level crates.io patch. This keeps the dependency override next to the only package that needs it while preserving removal of the unic advisory crates.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: James Sturtevant <jsturtevant@gmail.com> --------- Signed-off-by: James Sturtevant <jsturtevant@gmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2a85a4a commit 53d0aa5

2 files changed

Lines changed: 35 additions & 97 deletions

File tree

Cargo.lock

Lines changed: 31 additions & 96 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/trace_dump/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ name = "trace_dump"
33
version = "0.10.0"
44
publish = false
55
edition = "2021"
6+
rust-version = "1.92"
67

78
[dependencies]
89
addr2line = "0.26.1"
9-
piet-common = { version = "0.8.0", features = [ "png" ] }
10+
# Fixes #1490 through #1495 by using upstream piet commit 618083f,
11+
# which replaces the unmaintained unic-bidi dependency with icu_properties.
12+
piet-common = { git = "https://github.com/linebender/piet", rev = "618083f8a6671c7ab8c198724487348d2ccf9a8f", features = [ "png" ] }
1013
blake3 = { version = "1.8.5" }
1114

1215
[[bin]]

0 commit comments

Comments
 (0)