diff --git a/Cargo.lock b/Cargo.lock index c9adffd0b..2a1307d23 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -195,15 +195,6 @@ version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" -[[package]] -name = "arbitrary" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bc62ac97cc33321f50863d514c3bc38a453947a8f9e781137e47c7401020aed" -dependencies = [ - "derive_arbitrary", -] - [[package]] name = "arboard" version = "3.7.0" @@ -1032,7 +1023,7 @@ dependencies = [ "objc2 0.6.5", "objc2-app-kit 0.3.2", "objc2-foundation 0.3.2", - "skrifa", + "skrifa 0.44.0", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -1062,7 +1053,7 @@ dependencies = [ "verifysign", "winreg", "winsafe", - "zip 9.1.0", + "zip", ] [[package]] @@ -1133,7 +1124,7 @@ source = "git+https://github.com/storytold/craft-libs?rev=bb57d422d0bc842cbde430 dependencies = [ "flate2", "thiserror 2.0.21", - "zip 9.1.0", + "zip", ] [[package]] @@ -1261,17 +1252,6 @@ version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e" -[[package]] -name = "derive_arbitrary" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b034bd7d5f032402a2479444dcc6f74e36a03f31854d41680fb240ef682a1ac" -dependencies = [ - "proc-macro2", - "quote", - "syn 3.0.6", -] - [[package]] name = "dify" version = "0.8.0" @@ -1403,7 +1383,7 @@ dependencies = [ "objc2-foundation 0.3.2", "parking_lot", "percent-encoding", - "pollster 1.0.1", + "pollster", "profiling", "raw-window-handle", "send_wrapper", @@ -1518,7 +1498,7 @@ dependencies = [ "kittest", "log", "open", - "pollster 1.0.1", + "pollster", "serde", "tempfile", "toml", @@ -1611,13 +1591,13 @@ dependencies = [ "emath", "epaint_default_fonts", "font-types", - "harfrust", + "harfrust 0.12.0", "log", "nohash-hasher", "parking_lot", "profiling", "self_cell", - "skrifa", + "skrifa 0.44.0", "smallvec", "unicode-bidi", "unicode-general-category", @@ -1823,9 +1803,9 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "font-types" -version = "0.12.6" +version = "0.12.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c92d9081c7ab3bd83ef1eecdfad090f3d966e3ce74106779664114cfe1a6274" +checksum = "835ae9d781464a79026cde387f9cbc650c9a4909d7cf7e658b127e3c35d2f35d" dependencies = [ "bytemuck", ] @@ -2038,7 +2018,7 @@ dependencies = [ "hashbrown 0.17.1", "log", "peniko", - "skrifa", + "skrifa 0.44.0", "smallvec", "vello_common", ] @@ -2156,7 +2136,7 @@ dependencies = [ "muda", "objc2 0.6.5", "objc2-app-kit 0.3.2", - "pollster 1.0.1", + "pollster", "rfd", "serde_json", "winit", @@ -2194,9 +2174,9 @@ dependencies = [ "gridcraft-mcp", "gridcraft-sandbox", "log", - "quick-xml 0.41.0", + "quick-xml 0.42.0", "serde_json", - "zip 3.0.0", + "zip", ] [[package]] @@ -2232,7 +2212,7 @@ dependencies = [ "thiserror 2.0.21", "unicode-segmentation", "web-time", - "zip 3.0.0", + "zip", ] [[package]] @@ -2296,9 +2276,9 @@ name = "gridcraft-pdf" version = "0.19.1" dependencies = [ "craft-stream-codecs", - "harfrust", + "harfrust 0.16.0", "sha2 0.11.1", - "skrifa", + "skrifa 0.48.0", "unicode-bidi", ] @@ -2331,7 +2311,7 @@ dependencies = [ "log", "serde", "serde_json", - "skrifa", + "skrifa 0.48.0", "sys-locale", "toml", "unicode-bidi", @@ -2374,10 +2354,10 @@ dependencies = [ "gridcraft-functions", "gridcraft-math", "gridcraft-model", - "quick-xml 0.41.0", + "quick-xml 0.42.0", "sha2 0.11.1", "thiserror 2.0.21", - "zip 3.0.0", + "zip", ] [[package]] @@ -2428,10 +2408,23 @@ checksum = "c03d949a14aa089bbb282f7dd76a498a7f684428e4257202efc119ec010376f9" dependencies = [ "bitflags 2.13.2", "bytemuck", - "read-fonts", + "read-fonts 0.41.0", "smallvec", ] +[[package]] +name = "harfrust" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "741c9cd8fb2f39c393366b9cf13e8c31ad6adbbd9d817f0a18fe47cff36a3cca" +dependencies = [ + "bitflags 2.13.2", + "bytemuck", + "read-fonts 0.47.0", + "smallvec", + "yoke", +] + [[package]] name = "hashbrown" version = "0.15.5" @@ -3056,9 +3049,9 @@ checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" [[package]] name = "libc" -version = "0.2.190" +version = "0.2.191" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" +checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" [[package]] name = "libloading" @@ -3132,9 +3125,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.34" +version = "0.4.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" +checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c" [[package]] name = "lru-slab" @@ -3433,6 +3426,7 @@ dependencies = [ "objc2-core-foundation", "objc2-core-graphics", "objc2-foundation 0.3.2", + "objc2-uniform-type-identifiers 0.3.2", ] [[package]] @@ -3651,7 +3645,7 @@ dependencies = [ "objc2-link-presentation", "objc2-quartz-core 0.2.2", "objc2-symbols", - "objc2-uniform-type-identifiers", + "objc2-uniform-type-identifiers 0.2.2", "objc2-user-notifications", ] @@ -3678,6 +3672,16 @@ dependencies = [ "objc2-foundation 0.2.2", ] +[[package]] +name = "objc2-uniform-type-identifiers" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7902ac02859fc1f7045f8b598c63f1ae0cc7efeaa06a9bc9f3d9a3c955974fa4" +dependencies = [ + "objc2 0.6.5", + "objc2-foundation 0.3.2", +] + [[package]] name = "objc2-user-notifications" version = "0.2.2" @@ -4004,12 +4008,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "pollster" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3" - [[package]] name = "pollster" version = "1.0.1" @@ -4278,9 +4276,9 @@ checksum = "ca45419789ae5a7899559e9512e58ca889e41f04f1f2445e9f4b290ceccd1d08" [[package]] name = "ratex-font" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a7b73531dabe934a3e725ed5c90d18dacf43778b7a208381390943a9a8c24db" +checksum = "e4373503a1068c9f7d07862583bbd897ac4d2bdf89d42ac8c65870c33135bf6f" dependencies = [ "phf 0.11.3", "ratex-types", @@ -4329,9 +4327,9 @@ dependencies = [ [[package]] name = "ratex-types" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cf0be3d050525f0f7d37af55a443d7648c222ccc617639950e3de1f8e6f9900" +checksum = "ae81208192f9898cbd2424aa42fd4472bd79c44a52092673b101cdca72c89b7c" dependencies = [ "serde", ] @@ -4385,6 +4383,33 @@ dependencies = [ "once_cell", ] +[[package]] +name = "read-fonts" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4edc8db0d972de88e53a085b1f01fb3fbdae7bb0cb7a0ce2b2f8285a412fe3ef" +dependencies = [ + "bytemuck", + "foldhash 0.2.0", + "font-types", + "once_cell", + "yoke", +] + +[[package]] +name = "read-fonts" +version = "0.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a39d2f8f681030a7bcbbcf3e8568775ac2393afd51401a2e2133ee89e3953897" +dependencies = [ + "bytemuck", + "foldhash 0.2.0", + "font-types", + "once_cell", + "smallvec", + "yoke", +] + [[package]] name = "redox_syscall" version = "0.4.1" @@ -4498,9 +4523,9 @@ dependencies = [ [[package]] name = "rfd" -version = "0.17.2" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20dafead71c16a34e1ff357ddefc8afc11e7d51d6d2b9fbd07eaa48e3e540220" +checksum = "c4b9d4857b10297ffb0f64cae711e983a7aeaee561848d56d429d3858bd8ed93" dependencies = [ "block2 0.6.2", "dispatch2", @@ -4511,8 +4536,9 @@ dependencies = [ "objc2-app-kit 0.3.2", "objc2-core-foundation", "objc2-foundation 0.3.2", + "objc2-uniform-type-identifiers 0.3.2", "percent-encoding", - "pollster 0.4.0", + "pollster", "raw-window-handle", "wasm-bindgen", "wasm-bindgen-futures", @@ -5133,7 +5159,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "819ab7d62b1d3e72d9d9dea5650bac30424f9111364bb94928dbf5ecad1baa68" dependencies = [ "bytemuck", - "read-fonts", + "read-fonts 0.41.0", +] + +[[package]] +name = "skrifa" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5213b4825bac3587046330052d61bfac7bd3bd0d203c758d7c2ef726fcea034" +dependencies = [ + "bytemuck", + "read-fonts 0.45.1", ] [[package]] @@ -7103,20 +7139,6 @@ dependencies = [ "syn 3.0.6", ] -[[package]] -name = "zip" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12598812502ed0105f607f941c386f43d441e00148fce9dec3ca5ffb0bde9308" -dependencies = [ - "arbitrary", - "crc32fast", - "flate2", - "indexmap", - "memchr", - "zopfli", -] - [[package]] name = "zip" version = "9.1.0" @@ -7131,6 +7153,7 @@ dependencies = [ "nix", "typed-path", "windows-sys 0.61.2", + "zopfli", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 3125cbf6e..c75b32f6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,8 +55,8 @@ chrono = { version = "0.4.45", default-features = false, features = ["std", "clo web-time = "1.1.0" rayon = "1" regex = { version = "1", default-features = false, features = ["std", "unicode", "perf"] } -quick-xml = "0.41" -zip = { version = "3", default-features = false, features = ["deflate"] } +quick-xml = "0.42" +zip = { version = "9", default-features = false, features = ["deflate"] } sha2 = { version = "0.11", default-features = false } image = { version = "0.25", default-features = false, features = ["png", "jpeg"] } @@ -64,21 +64,21 @@ image = { version = "0.25", default-features = false, features = ["png", "jpeg"] # young (0.1.x), and the gate recorded in docs/decisions.md vetted this release. ratex-parser = "=0.1.14" ratex-layout = "=0.1.14" -ratex-types = "=0.1.14" -ratex-font = "=0.1.14" +ratex-types = "=0.1.15" +ratex-font = "=0.1.15" # ui egui = "0.37" egui_extras = { version = "0.37", default-features = false } eframe = { version = "0.37", default-features = false } egui_kittest = "0.37" -rfd = "0.17" +rfd = "0.18" arboard = { version = "3.6", default-features = false } # The desktop's preferred language, for the first-run interface language (native only). sys-locale = "0.3" # Font parser egui's epaint uses; the UI validates system font files with it before handing them # to egui, which panics on a file it can't parse. Same version as epaint's, so no second copy. -skrifa = { version = "0.44", default-features = false, features = ["std"] } +skrifa = { version = "0.48", default-features = false, features = ["std"] } # Real font bytes for tests (Ubuntu Light, compiled into epaint). epaint_default_fonts = "0.37" # One native window per workbook: the window list, Window menu titles and the immediate-viewport diff --git a/crates/pdf/Cargo.toml b/crates/pdf/Cargo.toml index a0710392f..793b1c40a 100644 --- a/crates/pdf/Cargo.toml +++ b/crates/pdf/Cargo.toml @@ -11,7 +11,7 @@ workspace = true [dependencies] craft-stream-codecs.workspace = true -harfrust = "=0.12.0" +harfrust = "=0.16.0" skrifa = { workspace = true } unicode-bidi = "=0.3.18"