Merge pull request #236859 from figsoda/typst

authored by figsoda and committed by GitHub ed4e2af6 4da75c1f

+287 -19
+285 -17
pkgs/tools/typesetting/typst/Cargo.lock
··· 195 195 196 196 [[package]] 197 197 name = "bumpalo" 198 - version = "3.12.2" 198 + version = "3.13.0" 199 199 source = "registry+https://github.com/rust-lang/crates.io-index" 200 - checksum = "3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b" 200 + checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" 201 201 202 202 [[package]] 203 203 name = "bytemuck" ··· 337 337 "clap 4.2.7", 338 338 "roff", 339 339 ] 340 + 341 + [[package]] 342 + name = "cobs" 343 + version = "0.2.3" 344 + source = "registry+https://github.com/rust-lang/crates.io-index" 345 + checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15" 340 346 341 347 [[package]] 342 348 name = "codespan-reporting" ··· 804 810 ] 805 811 806 812 [[package]] 813 + name = "icu_collections" 814 + version = "1.2.0" 815 + source = "registry+https://github.com/rust-lang/crates.io-index" 816 + checksum = "ef8302d8dfd6044d3ddb3f807a5ef3d7bbca9a574959c6d6e4dc39aa7012d0d5" 817 + dependencies = [ 818 + "displaydoc", 819 + "serde", 820 + "yoke", 821 + "zerofrom", 822 + "zerovec", 823 + ] 824 + 825 + [[package]] 826 + name = "icu_locid" 827 + version = "1.2.0" 828 + source = "registry+https://github.com/rust-lang/crates.io-index" 829 + checksum = "3003f85dccfc0e238ff567693248c59153a46f4e6125ba4020b973cef4d1d335" 830 + dependencies = [ 831 + "displaydoc", 832 + "litemap", 833 + "tinystr", 834 + "writeable", 835 + "zerovec", 836 + ] 837 + 838 + [[package]] 839 + name = "icu_properties" 840 + version = "1.2.0" 841 + source = "registry+https://github.com/rust-lang/crates.io-index" 842 + checksum = "ce0e1aa26851f16c9e04412a5911c86b7f8768dac8f8d4c5f1c568a7e5d7a434" 843 + dependencies = [ 844 + "displaydoc", 845 + "icu_collections", 846 + "icu_provider", 847 + "serde", 848 + "tinystr", 849 + "zerovec", 850 + ] 851 + 852 + [[package]] 853 + name = "icu_provider" 854 + version = "1.2.0" 855 + source = "registry+https://github.com/rust-lang/crates.io-index" 856 + checksum = "8dc312a7b6148f7dfe098047ae2494d12d4034f48ade58d4f353000db376e305" 857 + dependencies = [ 858 + "displaydoc", 859 + "icu_locid", 860 + "icu_provider_macros", 861 + "postcard", 862 + "serde", 863 + "stable_deref_trait", 864 + "writeable", 865 + "yoke", 866 + "zerofrom", 867 + "zerovec", 868 + ] 869 + 870 + [[package]] 871 + name = "icu_provider_adapters" 872 + version = "1.2.0" 873 + source = "registry+https://github.com/rust-lang/crates.io-index" 874 + checksum = "f4ae1e2bd0c41728b77e7c46e9afdec5e2127d1eedacc684724667d50c126bd3" 875 + dependencies = [ 876 + "icu_locid", 877 + "icu_provider", 878 + "tinystr", 879 + "yoke", 880 + "zerovec", 881 + ] 882 + 883 + [[package]] 884 + name = "icu_provider_blob" 885 + version = "1.2.0" 886 + source = "registry+https://github.com/rust-lang/crates.io-index" 887 + checksum = "fd364c9a01f791a4bc04a74cf2a1d01d9f6926a40fd5ae1c28004e1e70d8338b" 888 + dependencies = [ 889 + "icu_provider", 890 + "postcard", 891 + "serde", 892 + "writeable", 893 + "yoke", 894 + "zerovec", 895 + ] 896 + 897 + [[package]] 898 + name = "icu_provider_macros" 899 + version = "1.2.0" 900 + source = "registry+https://github.com/rust-lang/crates.io-index" 901 + checksum = "dd8b728b9421e93eff1d9f8681101b78fa745e0748c95c655c83f337044a7e10" 902 + dependencies = [ 903 + "proc-macro2", 904 + "quote", 905 + "syn 1.0.109", 906 + ] 907 + 908 + [[package]] 909 + name = "icu_segmenter" 910 + version = "1.2.1" 911 + source = "registry+https://github.com/rust-lang/crates.io-index" 912 + checksum = "c3300a7b6bf187be98a57264ad094f11f2e062c2e8263132af010ff522ee5495" 913 + dependencies = [ 914 + "displaydoc", 915 + "icu_collections", 916 + "icu_locid", 917 + "icu_provider", 918 + "num-traits", 919 + "serde", 920 + "utf8_iter", 921 + "zerovec", 922 + ] 923 + 924 + [[package]] 807 925 name = "idna" 808 926 version = "0.3.0" 809 927 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1064 1182 ] 1065 1183 1066 1184 [[package]] 1185 + name = "libm" 1186 + version = "0.2.7" 1187 + source = "registry+https://github.com/rust-lang/crates.io-index" 1188 + checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" 1189 + 1190 + [[package]] 1067 1191 name = "linked-hash-map" 1068 1192 version = "0.5.6" 1069 1193 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1086 1210 ] 1087 1211 1088 1212 [[package]] 1213 + name = "litemap" 1214 + version = "0.7.0" 1215 + source = "registry+https://github.com/rust-lang/crates.io-index" 1216 + checksum = "3a04a5b2b6f54acba899926491d0a6c59d98012938ca2ab5befb281c034e8f94" 1217 + 1218 + [[package]] 1089 1219 name = "lock_api" 1090 1220 version = "0.4.9" 1091 1221 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1227 1357 checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" 1228 1358 dependencies = [ 1229 1359 "autocfg", 1360 + "libm", 1230 1361 ] 1231 1362 1232 1363 [[package]] ··· 1395 1526 "fdeflate", 1396 1527 "flate2", 1397 1528 "miniz_oxide", 1529 + ] 1530 + 1531 + [[package]] 1532 + name = "postcard" 1533 + version = "1.0.4" 1534 + source = "registry+https://github.com/rust-lang/crates.io-index" 1535 + checksum = "cfa512cd0d087cc9f99ad30a1bf64795b67871edbead083ffc3a4dfafa59aa00" 1536 + dependencies = [ 1537 + "cobs", 1538 + "serde", 1398 1539 ] 1399 1540 1400 1541 [[package]] ··· 1912 2053 ] 1913 2054 1914 2055 [[package]] 2056 + name = "synstructure" 2057 + version = "0.12.6" 2058 + source = "registry+https://github.com/rust-lang/crates.io-index" 2059 + checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" 2060 + dependencies = [ 2061 + "proc-macro2", 2062 + "quote", 2063 + "syn 1.0.109", 2064 + "unicode-xid", 2065 + ] 2066 + 2067 + [[package]] 1915 2068 name = "syntect" 1916 2069 version = "5.0.0" 1917 2070 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1997 2150 ] 1998 2151 1999 2152 [[package]] 2153 + name = "time" 2154 + version = "0.3.21" 2155 + source = "registry+https://github.com/rust-lang/crates.io-index" 2156 + checksum = "8f3403384eaacbca9923fa06940178ac13e4edb725486d70e8e15881d0c836cc" 2157 + dependencies = [ 2158 + "itoa", 2159 + "serde", 2160 + "time-core", 2161 + "time-macros", 2162 + ] 2163 + 2164 + [[package]] 2165 + name = "time-core" 2166 + version = "0.1.1" 2167 + source = "registry+https://github.com/rust-lang/crates.io-index" 2168 + checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" 2169 + 2170 + [[package]] 2171 + name = "time-macros" 2172 + version = "0.2.9" 2173 + source = "registry+https://github.com/rust-lang/crates.io-index" 2174 + checksum = "372950940a5f07bf38dbe211d7283c9e6d7327df53794992d293e534c733d09b" 2175 + dependencies = [ 2176 + "time-core", 2177 + ] 2178 + 2179 + [[package]] 2000 2180 name = "tiny-skia" 2001 2181 version = "0.9.1" 2002 2182 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2029 2209 checksum = "7ac3f5b6856e931e15e07b478e98c8045239829a65f9156d4fa7e7788197a5ef" 2030 2210 dependencies = [ 2031 2211 "displaydoc", 2212 + "serde", 2213 + "zerovec", 2032 2214 ] 2033 2215 2034 2216 [[package]] ··· 2173 2355 2174 2356 [[package]] 2175 2357 name = "typst" 2176 - version = "0.4.0" 2358 + version = "0.5.0" 2177 2359 dependencies = [ 2178 2360 "bitflags 2.3.1", 2179 2361 "bytemuck", ··· 2198 2380 "stacker", 2199 2381 "subsetter", 2200 2382 "svg2pdf", 2383 + "time", 2201 2384 "tiny-skia", 2202 2385 "tracing", 2203 2386 "ttf-parser", ··· 2213 2396 2214 2397 [[package]] 2215 2398 name = "typst-cli" 2216 - version = "0.4.0" 2399 + version = "0.5.0" 2217 2400 dependencies = [ 2218 - "atty", 2219 2401 "chrono", 2220 2402 "clap 4.2.7", 2221 2403 "clap_complete", ··· 2243 2425 2244 2426 [[package]] 2245 2427 name = "typst-docs" 2246 - version = "0.4.0" 2428 + version = "0.5.0" 2247 2429 dependencies = [ 2248 2430 "comemo", 2249 2431 "heck", ··· 2262 2444 2263 2445 [[package]] 2264 2446 name = "typst-library" 2265 - version = "0.4.0" 2447 + version = "0.5.0" 2266 2448 dependencies = [ 2267 2449 "az", 2268 2450 "chinese-number", ··· 2271 2453 "ecow", 2272 2454 "hayagriva", 2273 2455 "hypher", 2456 + "icu_properties", 2457 + "icu_provider", 2458 + "icu_provider_adapters", 2459 + "icu_provider_blob", 2460 + "icu_segmenter", 2274 2461 "kurbo", 2275 2462 "lipsum", 2276 2463 "log", ··· 2281 2468 "serde_yaml", 2282 2469 "smallvec", 2283 2470 "syntect", 2471 + "time", 2284 2472 "toml", 2285 2473 "tracing", 2286 2474 "ttf-parser", ··· 2290 2478 "unicode-math-class", 2291 2479 "unicode-script", 2292 2480 "unicode-segmentation", 2293 - "xi-unicode", 2294 2481 ] 2295 2482 2296 2483 [[package]] 2297 2484 name = "typst-macros" 2298 - version = "0.4.0" 2485 + version = "0.5.0" 2299 2486 dependencies = [ 2300 2487 "heck", 2301 2488 "proc-macro2", 2302 2489 "quote", 2303 - "syn 1.0.109", 2490 + "syn 2.0.16", 2304 2491 ] 2305 2492 2306 2493 [[package]] 2307 2494 name = "typst-tests" 2308 - version = "0.4.0" 2495 + version = "0.5.0" 2309 2496 dependencies = [ 2310 2497 "clap 4.2.7", 2311 2498 "comemo", ··· 2419 2606 checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" 2420 2607 2421 2608 [[package]] 2609 + name = "unicode-xid" 2610 + version = "0.2.4" 2611 + source = "registry+https://github.com/rust-lang/crates.io-index" 2612 + checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" 2613 + 2614 + [[package]] 2422 2615 name = "unicode_names2" 2423 2616 version = "0.6.0" 2424 2617 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2500 2693 "strict-num", 2501 2694 "svgtypes", 2502 2695 ] 2696 + 2697 + [[package]] 2698 + name = "utf8_iter" 2699 + version = "1.0.3" 2700 + source = "registry+https://github.com/rust-lang/crates.io-index" 2701 + checksum = "64a8922555b9500e3d865caed19330172cd67cbf82203f1a3311d8c305cc9f33" 2503 2702 2504 2703 [[package]] 2505 2704 name = "utf8parse" ··· 2784 2983 dependencies = [ 2785 2984 "memchr", 2786 2985 ] 2986 + 2987 + [[package]] 2988 + name = "writeable" 2989 + version = "0.5.2" 2990 + source = "registry+https://github.com/rust-lang/crates.io-index" 2991 + checksum = "60e49e42bdb1d5dc76f4cd78102f8f0714d32edfa3efb82286eb0f0b1fc0da0f" 2787 2992 2788 2993 [[package]] 2789 2994 name = "wyz" ··· 2795 3000 ] 2796 3001 2797 3002 [[package]] 2798 - name = "xi-unicode" 2799 - version = "0.3.0" 2800 - source = "registry+https://github.com/rust-lang/crates.io-index" 2801 - checksum = "a67300977d3dc3f8034dae89778f502b6ba20b269527b3223ba59c0cf393bb8a" 2802 - 2803 - [[package]] 2804 3003 name = "xmlparser" 2805 3004 version = "0.13.5" 2806 3005 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2835 3034 checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" 2836 3035 dependencies = [ 2837 3036 "linked-hash-map", 3037 + ] 3038 + 3039 + [[package]] 3040 + name = "yoke" 3041 + version = "0.7.1" 3042 + source = "registry+https://github.com/rust-lang/crates.io-index" 3043 + checksum = "1848075a23a28f9773498ee9a0f2cf58fcbad4f8c0ccf84a210ab33c6ae495de" 3044 + dependencies = [ 3045 + "serde", 3046 + "stable_deref_trait", 3047 + "yoke-derive", 3048 + "zerofrom", 3049 + ] 3050 + 3051 + [[package]] 3052 + name = "yoke-derive" 3053 + version = "0.7.1" 3054 + source = "registry+https://github.com/rust-lang/crates.io-index" 3055 + checksum = "af46c169923ed7516eef0aa32b56d2651b229f57458ebe46b49ddd6efef5b7a2" 3056 + dependencies = [ 3057 + "proc-macro2", 3058 + "quote", 3059 + "syn 1.0.109", 3060 + "synstructure", 3061 + ] 3062 + 3063 + [[package]] 3064 + name = "zerofrom" 3065 + version = "0.1.2" 3066 + source = "registry+https://github.com/rust-lang/crates.io-index" 3067 + checksum = "df54d76c3251de27615dfcce21e636c172dafb2549cd7fd93e21c66f6ca6bea2" 3068 + dependencies = [ 3069 + "zerofrom-derive", 3070 + ] 3071 + 3072 + [[package]] 3073 + name = "zerofrom-derive" 3074 + version = "0.1.2" 3075 + source = "registry+https://github.com/rust-lang/crates.io-index" 3076 + checksum = "b4eae7c1f7d4b8eafce526bc0771449ddc2f250881ae31c50d22c032b5a1c499" 3077 + dependencies = [ 3078 + "proc-macro2", 3079 + "quote", 3080 + "syn 1.0.109", 3081 + "synstructure", 3082 + ] 3083 + 3084 + [[package]] 3085 + name = "zerovec" 3086 + version = "0.9.4" 3087 + source = "registry+https://github.com/rust-lang/crates.io-index" 3088 + checksum = "198f54134cd865f437820aa3b43d0ad518af4e68ee161b444cdd15d8e567c8ea" 3089 + dependencies = [ 3090 + "serde", 3091 + "yoke", 3092 + "zerofrom", 3093 + "zerovec-derive", 3094 + ] 3095 + 3096 + [[package]] 3097 + name = "zerovec-derive" 3098 + version = "0.9.4" 3099 + source = "registry+https://github.com/rust-lang/crates.io-index" 3100 + checksum = "486558732d5dde10d0f8cb2936507c1bb21bc539d924c949baf5f36a58e51bac" 3101 + dependencies = [ 3102 + "proc-macro2", 3103 + "quote", 3104 + "syn 1.0.109", 3105 + "synstructure", 2838 3106 ] 2839 3107 2840 3108 [[package]]
+2 -2
pkgs/tools/typesetting/typst/default.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "typst"; 11 - version = "0.4.0"; 11 + version = "0.5.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "typst"; 15 15 repo = "typst"; 16 16 rev = "v${version}"; 17 - hash = "sha256-S8J2D87Zvyh501d8LG69in9om/nTS6Y+IDhJvjm/H0w="; 17 + hash = "sha256-eBJ5JaYp+Lnz+DK5WuFg7fiN85ATRmmaxWeyOBFbYnU="; 18 18 }; 19 19 20 20 cargoLock = {