From 533f6da876be60a3676da0f08d2872c61cc251c0 Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin Date: Sun, 22 Oct 2023 21:35:47 +0800 Subject: [PATCH] build: update cargo.lock --- Cargo.lock | 104 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 74 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 10da1e42..a45d93c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -146,6 +146,15 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f3cb8f874ecf419dd8165d0279746de966cb8966636d028845e3bd65d519812a" +[[package]] +name = "approx" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" +dependencies = [ + "num-traits", +] + [[package]] name = "arrayref" version = "0.3.7" @@ -872,9 +881,9 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "ecow" -version = "0.1.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1990d053cf6edf3f030682dba3b0eb65ef01fabb2686072765d8a17d6728e8" +checksum = "e6ea5e3f9cda726431da9d1a8d5a29785d544b31e98e1ca7a210906244002e02" dependencies = [ "serde", ] @@ -1005,6 +1014,12 @@ dependencies = [ "regex", ] +[[package]] +name = "fast-srgb8" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd2e7510819d6fbf51a5545c8f922716ecfb14df168a3242f7d33e0239efe6a1" + [[package]] name = "fastrand" version = "2.0.1" @@ -1491,9 +1506,9 @@ dependencies = [ [[package]] name = "hypher" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723e315d77ea8aa1aedf53ad979ff0e763cfa2a1b3403248e427ae052f403cad" +checksum = "94bf16dd62ea2bec617a6f8a3e1ba03107311783069a647787ac689d1f35321e" [[package]] name = "iana-time-zone" @@ -1984,9 +1999,9 @@ checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" [[package]] name = "memmap2" -version = "0.7.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49388d20533534cd19360ad3d6a7dadc885944aa802ba3995040c5ec11288c6" +checksum = "deaba38d7abf1d4cca21cc89e932e542ba2b9258664d2a9ef0e61512039c9375" dependencies = [ "libc", ] @@ -2223,15 +2238,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "oklab" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "467e40ada50d13bab19019e3707862b5076ca15841f31ee1474c40397c1b9f11" -dependencies = [ - "rgb", -] - [[package]] name = "once_cell" version = "1.18.0" @@ -2315,6 +2321,29 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" +[[package]] +name = "palette" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2e2f34147767aa758aa649415b50a69eeb46a67f9dc7db8011eeb3d84b351dc" +dependencies = [ + "approx", + "fast-srgb8", + "libm", + "palette_derive", +] + +[[package]] +name = "palette_derive" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7db010ec5ff3d4385e4f133916faacd9dad0f6a09394c92d825b3aed310fa0a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.37", +] + [[package]] name = "parking_lot" version = "0.12.1" @@ -2358,12 +2387,13 @@ checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" [[package]] name = "pdf-writer" -version = "0.8.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d77bc47c8968aa63f86a7e6693e270a6cbd1e3b784c364f1711a0ddecc71447" +checksum = "4b651409cd03bf702052d7491f08d27fbd6b25f96dc8b9b873ada7d0b3342b8d" dependencies = [ "bitflags 1.3.2", "itoa", + "memchr", "ryu", ] @@ -3124,9 +3154,9 @@ dependencies = [ [[package]] name = "serde-wasm-bindgen" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3b143e2833c57ab9ad3ea280d21fd34e285a42837aeb0ee301f4f41890fa00e" +checksum = "30c9933e5689bd420dc6c87b7a1835701810cbc10cd86a26e4da45b73e6b1d78" dependencies = [ "js-sys", "serde", @@ -3423,9 +3453,9 @@ checksum = "09eab8a83bff89ba2200bd4c59be45c7c787f988431b936099a5a266c957f2f9" [[package]] name = "svg2pdf" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2adc7de163bd53f323850e65269280b2a66ffceee291cb8eca34f2eabc3acad" +checksum = "a4283ae77d25dbee75aa1bce6b5bc8e7d802960135d6de306eaec0a5241d80c8" dependencies = [ "image", "miniz_oxide", @@ -3969,7 +3999,7 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "typst" version = "0.8.0" -source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.8.0#c7e91e216310d5c8dca3eee8a23a64b3ede99e15" +source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.9.0#920548f5e0d4fc60b3f9e86b4ee410a26d613271" dependencies = [ "base64", "bitflags 2.4.0", @@ -3978,13 +4008,13 @@ dependencies = [ "ecow", "flate2", "fontdb", - "if_chain", "image", "indexmap 2.0.1", + "kurbo", "log", "miniz_oxide", - "oklab", "once_cell", + "palette", "pdf-writer", "pixglyph", "regex", @@ -4015,10 +4045,23 @@ dependencies = [ "xmp-writer", ] +[[package]] +name = "typst-ide" +version = "0.8.0" +source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.9.0#920548f5e0d4fc60b3f9e86b4ee410a26d613271" +dependencies = [ + "comemo", + "ecow", + "if_chain", + "serde", + "typst", + "unscanny", +] + [[package]] name = "typst-library" version = "0.8.0" -source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.8.0#c7e91e216310d5c8dca3eee8a23a64b3ede99e15" +source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.9.0#920548f5e0d4fc60b3f9e86b4ee410a26d613271" dependencies = [ "az", "chinese-number", @@ -4058,7 +4101,7 @@ dependencies = [ [[package]] name = "typst-macros" version = "0.8.0" -source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.8.0#c7e91e216310d5c8dca3eee8a23a64b3ede99e15" +source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.9.0#920548f5e0d4fc60b3f9e86b4ee410a26d613271" dependencies = [ "heck", "proc-macro2", @@ -4069,7 +4112,7 @@ dependencies = [ [[package]] name = "typst-syntax" version = "0.8.0" -source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.8.0#c7e91e216310d5c8dca3eee8a23a64b3ede99e15" +source = "git+https://github.com/Myriad-Dreamin/typst.git?branch=typst.ts-v0.9.0#920548f5e0d4fc60b3f9e86b4ee410a26d613271" dependencies = [ "comemo", "ecow", @@ -4138,6 +4181,7 @@ dependencies = [ "tracing-error", "tracing-subscriber", "typst", + "typst-ide", "typst-library", "typst-ts-ast-exporter", "typst-ts-compiler", @@ -4160,6 +4204,7 @@ dependencies = [ "comemo", "dirs", "dissimilar", + "ecow", "flate2", "fst", "hex", @@ -4176,7 +4221,6 @@ dependencies = [ "pollster", "reqwest", "rustc-hash", - "same-file", "serde", "serde-wasm-bindgen", "serde_json", @@ -5171,9 +5215,9 @@ checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9" [[package]] name = "xmp-writer" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fd742bbbb930fc972b28bf66b7546dfbc7bb9a4c7924299df0ae6a5641fcadf" +checksum = "4543ba138f64a94b19e1e9c66c165bca7e03d470e1c066cb76ea279d9d0e1989" [[package]] name = "yaml-rust"