プレイグラウンド、サンドボックス、使い捨てスクリプト置き場
0

Configure Feed

Select the types of activity you want to include in your feed.

create poppler-rs

Kohei Watanabe (Sep 1, 2024, 11:12 PM +0900) 2794034e 84b04945

+1640
+1
poppler-rs/.gitignore
··· 1 + /target
+1573
poppler-rs/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "adler" 7 + version = "1.0.2" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 10 + 11 + [[package]] 12 + name = "adler2" 13 + version = "2.0.0" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" 16 + 17 + [[package]] 18 + name = "aligned-vec" 19 + version = "0.5.0" 20 + source = "registry+https://github.com/rust-lang/crates.io-index" 21 + checksum = "4aa90d7ce82d4be67b64039a3d588d38dbcc6736577de4a847025ce5b0c468d1" 22 + 23 + [[package]] 24 + name = "anstream" 25 + version = "0.6.15" 26 + source = "registry+https://github.com/rust-lang/crates.io-index" 27 + checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" 28 + dependencies = [ 29 + "anstyle", 30 + "anstyle-parse", 31 + "anstyle-query", 32 + "anstyle-wincon", 33 + "colorchoice", 34 + "is_terminal_polyfill", 35 + "utf8parse", 36 + ] 37 + 38 + [[package]] 39 + name = "anstyle" 40 + version = "1.0.8" 41 + source = "registry+https://github.com/rust-lang/crates.io-index" 42 + checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" 43 + 44 + [[package]] 45 + name = "anstyle-parse" 46 + version = "0.2.5" 47 + source = "registry+https://github.com/rust-lang/crates.io-index" 48 + checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" 49 + dependencies = [ 50 + "utf8parse", 51 + ] 52 + 53 + [[package]] 54 + name = "anstyle-query" 55 + version = "1.1.1" 56 + source = "registry+https://github.com/rust-lang/crates.io-index" 57 + checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" 58 + dependencies = [ 59 + "windows-sys", 60 + ] 61 + 62 + [[package]] 63 + name = "anstyle-wincon" 64 + version = "3.0.4" 65 + source = "registry+https://github.com/rust-lang/crates.io-index" 66 + checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" 67 + dependencies = [ 68 + "anstyle", 69 + "windows-sys", 70 + ] 71 + 72 + [[package]] 73 + name = "anyhow" 74 + version = "1.0.86" 75 + source = "registry+https://github.com/rust-lang/crates.io-index" 76 + checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" 77 + 78 + [[package]] 79 + name = "arbitrary" 80 + version = "1.3.2" 81 + source = "registry+https://github.com/rust-lang/crates.io-index" 82 + checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" 83 + 84 + [[package]] 85 + name = "arg_enum_proc_macro" 86 + version = "0.3.4" 87 + source = "registry+https://github.com/rust-lang/crates.io-index" 88 + checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea" 89 + dependencies = [ 90 + "proc-macro2", 91 + "quote", 92 + "syn", 93 + ] 94 + 95 + [[package]] 96 + name = "arrayvec" 97 + version = "0.7.6" 98 + source = "registry+https://github.com/rust-lang/crates.io-index" 99 + checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" 100 + 101 + [[package]] 102 + name = "autocfg" 103 + version = "1.3.0" 104 + source = "registry+https://github.com/rust-lang/crates.io-index" 105 + checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" 106 + 107 + [[package]] 108 + name = "av1-grain" 109 + version = "0.2.3" 110 + source = "registry+https://github.com/rust-lang/crates.io-index" 111 + checksum = "6678909d8c5d46a42abcf571271e15fdbc0a225e3646cf23762cd415046c78bf" 112 + dependencies = [ 113 + "anyhow", 114 + "arrayvec", 115 + "log", 116 + "nom", 117 + "num-rational", 118 + "v_frame", 119 + ] 120 + 121 + [[package]] 122 + name = "avif-serialize" 123 + version = "0.8.1" 124 + source = "registry+https://github.com/rust-lang/crates.io-index" 125 + checksum = "876c75a42f6364451a033496a14c44bffe41f5f4a8236f697391f11024e596d2" 126 + dependencies = [ 127 + "arrayvec", 128 + ] 129 + 130 + [[package]] 131 + name = "bit_field" 132 + version = "0.10.2" 133 + source = "registry+https://github.com/rust-lang/crates.io-index" 134 + checksum = "dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61" 135 + 136 + [[package]] 137 + name = "bitflags" 138 + version = "1.3.2" 139 + source = "registry+https://github.com/rust-lang/crates.io-index" 140 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 141 + 142 + [[package]] 143 + name = "bitflags" 144 + version = "2.6.0" 145 + source = "registry+https://github.com/rust-lang/crates.io-index" 146 + checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" 147 + 148 + [[package]] 149 + name = "bitstream-io" 150 + version = "2.5.3" 151 + source = "registry+https://github.com/rust-lang/crates.io-index" 152 + checksum = "b81e1519b0d82120d2fd469d5bfb2919a9361c48b02d82d04befc1cdd2002452" 153 + 154 + [[package]] 155 + name = "built" 156 + version = "0.7.4" 157 + source = "registry+https://github.com/rust-lang/crates.io-index" 158 + checksum = "236e6289eda5a812bc6b53c3b024039382a2895fbbeef2d748b2931546d392c4" 159 + 160 + [[package]] 161 + name = "bumpalo" 162 + version = "3.16.0" 163 + source = "registry+https://github.com/rust-lang/crates.io-index" 164 + checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" 165 + 166 + [[package]] 167 + name = "bytemuck" 168 + version = "1.17.1" 169 + source = "registry+https://github.com/rust-lang/crates.io-index" 170 + checksum = "773d90827bc3feecfb67fab12e24de0749aad83c74b9504ecde46237b5cd24e2" 171 + 172 + [[package]] 173 + name = "byteorder" 174 + version = "1.5.0" 175 + source = "registry+https://github.com/rust-lang/crates.io-index" 176 + checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 177 + 178 + [[package]] 179 + name = "byteorder-lite" 180 + version = "0.1.0" 181 + source = "registry+https://github.com/rust-lang/crates.io-index" 182 + checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" 183 + 184 + [[package]] 185 + name = "cairo-rs" 186 + version = "0.20.1" 187 + source = "registry+https://github.com/rust-lang/crates.io-index" 188 + checksum = "e8a0ea147c94108c9613235388f540e4d14c327f7081c9e471fc8ee8a2533e69" 189 + dependencies = [ 190 + "bitflags 2.6.0", 191 + "cairo-sys-rs", 192 + "glib", 193 + "libc", 194 + ] 195 + 196 + [[package]] 197 + name = "cairo-sys-rs" 198 + version = "0.20.0" 199 + source = "registry+https://github.com/rust-lang/crates.io-index" 200 + checksum = "428290f914b9b86089f60f5d8a9f6e440508e1bcff23b25afd51502b0a2da88f" 201 + dependencies = [ 202 + "glib-sys", 203 + "libc", 204 + "system-deps 7.0.2", 205 + ] 206 + 207 + [[package]] 208 + name = "cc" 209 + version = "1.1.15" 210 + source = "registry+https://github.com/rust-lang/crates.io-index" 211 + checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" 212 + dependencies = [ 213 + "jobserver", 214 + "libc", 215 + "shlex", 216 + ] 217 + 218 + [[package]] 219 + name = "cfg-expr" 220 + version = "0.15.8" 221 + source = "registry+https://github.com/rust-lang/crates.io-index" 222 + checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" 223 + dependencies = [ 224 + "smallvec", 225 + "target-lexicon", 226 + ] 227 + 228 + [[package]] 229 + name = "cfg-expr" 230 + version = "0.16.0" 231 + source = "registry+https://github.com/rust-lang/crates.io-index" 232 + checksum = "345c78335be0624ed29012dc10c49102196c6882c12dde65d9f35b02da2aada8" 233 + dependencies = [ 234 + "smallvec", 235 + "target-lexicon", 236 + ] 237 + 238 + [[package]] 239 + name = "cfg-if" 240 + version = "1.0.0" 241 + source = "registry+https://github.com/rust-lang/crates.io-index" 242 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 243 + 244 + [[package]] 245 + name = "clap" 246 + version = "4.5.16" 247 + source = "registry+https://github.com/rust-lang/crates.io-index" 248 + checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" 249 + dependencies = [ 250 + "clap_builder", 251 + "clap_derive", 252 + ] 253 + 254 + [[package]] 255 + name = "clap_builder" 256 + version = "4.5.15" 257 + source = "registry+https://github.com/rust-lang/crates.io-index" 258 + checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" 259 + dependencies = [ 260 + "anstream", 261 + "anstyle", 262 + "clap_lex", 263 + "strsim", 264 + ] 265 + 266 + [[package]] 267 + name = "clap_derive" 268 + version = "4.5.13" 269 + source = "registry+https://github.com/rust-lang/crates.io-index" 270 + checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" 271 + dependencies = [ 272 + "heck", 273 + "proc-macro2", 274 + "quote", 275 + "syn", 276 + ] 277 + 278 + [[package]] 279 + name = "clap_lex" 280 + version = "0.7.2" 281 + source = "registry+https://github.com/rust-lang/crates.io-index" 282 + checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" 283 + 284 + [[package]] 285 + name = "color_quant" 286 + version = "1.1.0" 287 + source = "registry+https://github.com/rust-lang/crates.io-index" 288 + checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" 289 + 290 + [[package]] 291 + name = "colorchoice" 292 + version = "1.0.2" 293 + source = "registry+https://github.com/rust-lang/crates.io-index" 294 + checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" 295 + 296 + [[package]] 297 + name = "crc32fast" 298 + version = "1.4.2" 299 + source = "registry+https://github.com/rust-lang/crates.io-index" 300 + checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" 301 + dependencies = [ 302 + "cfg-if", 303 + ] 304 + 305 + [[package]] 306 + name = "crossbeam-deque" 307 + version = "0.8.5" 308 + source = "registry+https://github.com/rust-lang/crates.io-index" 309 + checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" 310 + dependencies = [ 311 + "crossbeam-epoch", 312 + "crossbeam-utils", 313 + ] 314 + 315 + [[package]] 316 + name = "crossbeam-epoch" 317 + version = "0.9.18" 318 + source = "registry+https://github.com/rust-lang/crates.io-index" 319 + checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" 320 + dependencies = [ 321 + "crossbeam-utils", 322 + ] 323 + 324 + [[package]] 325 + name = "crossbeam-utils" 326 + version = "0.8.20" 327 + source = "registry+https://github.com/rust-lang/crates.io-index" 328 + checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" 329 + 330 + [[package]] 331 + name = "crunchy" 332 + version = "0.2.2" 333 + source = "registry+https://github.com/rust-lang/crates.io-index" 334 + checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 335 + 336 + [[package]] 337 + name = "either" 338 + version = "1.13.0" 339 + source = "registry+https://github.com/rust-lang/crates.io-index" 340 + checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" 341 + 342 + [[package]] 343 + name = "equivalent" 344 + version = "1.0.1" 345 + source = "registry+https://github.com/rust-lang/crates.io-index" 346 + checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 347 + 348 + [[package]] 349 + name = "exr" 350 + version = "1.72.0" 351 + source = "registry+https://github.com/rust-lang/crates.io-index" 352 + checksum = "887d93f60543e9a9362ef8a21beedd0a833c5d9610e18c67abe15a5963dcb1a4" 353 + dependencies = [ 354 + "bit_field", 355 + "flume", 356 + "half", 357 + "lebe", 358 + "miniz_oxide 0.7.4", 359 + "rayon-core", 360 + "smallvec", 361 + "zune-inflate", 362 + ] 363 + 364 + [[package]] 365 + name = "fdeflate" 366 + version = "0.3.4" 367 + source = "registry+https://github.com/rust-lang/crates.io-index" 368 + checksum = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645" 369 + dependencies = [ 370 + "simd-adler32", 371 + ] 372 + 373 + [[package]] 374 + name = "flate2" 375 + version = "1.0.33" 376 + source = "registry+https://github.com/rust-lang/crates.io-index" 377 + checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253" 378 + dependencies = [ 379 + "crc32fast", 380 + "miniz_oxide 0.8.0", 381 + ] 382 + 383 + [[package]] 384 + name = "flume" 385 + version = "0.11.0" 386 + source = "registry+https://github.com/rust-lang/crates.io-index" 387 + checksum = "55ac459de2512911e4b674ce33cf20befaba382d05b62b008afc1c8b57cbf181" 388 + dependencies = [ 389 + "spin", 390 + ] 391 + 392 + [[package]] 393 + name = "form_urlencoded" 394 + version = "1.2.1" 395 + source = "registry+https://github.com/rust-lang/crates.io-index" 396 + checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 397 + dependencies = [ 398 + "percent-encoding", 399 + ] 400 + 401 + [[package]] 402 + name = "futures-channel" 403 + version = "0.3.30" 404 + source = "registry+https://github.com/rust-lang/crates.io-index" 405 + checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" 406 + dependencies = [ 407 + "futures-core", 408 + ] 409 + 410 + [[package]] 411 + name = "futures-core" 412 + version = "0.3.30" 413 + source = "registry+https://github.com/rust-lang/crates.io-index" 414 + checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" 415 + 416 + [[package]] 417 + name = "futures-executor" 418 + version = "0.3.30" 419 + source = "registry+https://github.com/rust-lang/crates.io-index" 420 + checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" 421 + dependencies = [ 422 + "futures-core", 423 + "futures-task", 424 + "futures-util", 425 + ] 426 + 427 + [[package]] 428 + name = "futures-io" 429 + version = "0.3.30" 430 + source = "registry+https://github.com/rust-lang/crates.io-index" 431 + checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" 432 + 433 + [[package]] 434 + name = "futures-macro" 435 + version = "0.3.30" 436 + source = "registry+https://github.com/rust-lang/crates.io-index" 437 + checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" 438 + dependencies = [ 439 + "proc-macro2", 440 + "quote", 441 + "syn", 442 + ] 443 + 444 + [[package]] 445 + name = "futures-task" 446 + version = "0.3.30" 447 + source = "registry+https://github.com/rust-lang/crates.io-index" 448 + checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" 449 + 450 + [[package]] 451 + name = "futures-util" 452 + version = "0.3.30" 453 + source = "registry+https://github.com/rust-lang/crates.io-index" 454 + checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" 455 + dependencies = [ 456 + "futures-core", 457 + "futures-macro", 458 + "futures-task", 459 + "pin-project-lite", 460 + "pin-utils", 461 + "slab", 462 + ] 463 + 464 + [[package]] 465 + name = "getrandom" 466 + version = "0.2.15" 467 + source = "registry+https://github.com/rust-lang/crates.io-index" 468 + checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" 469 + dependencies = [ 470 + "cfg-if", 471 + "libc", 472 + "wasi", 473 + ] 474 + 475 + [[package]] 476 + name = "gif" 477 + version = "0.13.1" 478 + source = "registry+https://github.com/rust-lang/crates.io-index" 479 + checksum = "3fb2d69b19215e18bb912fa30f7ce15846e301408695e44e0ef719f1da9e19f2" 480 + dependencies = [ 481 + "color_quant", 482 + "weezl", 483 + ] 484 + 485 + [[package]] 486 + name = "gio" 487 + version = "0.20.1" 488 + source = "registry+https://github.com/rust-lang/crates.io-index" 489 + checksum = "dcacaa37401cad0a95aadd266bc39c72a131d454fc012f6dfd217f891d76cc52" 490 + dependencies = [ 491 + "futures-channel", 492 + "futures-core", 493 + "futures-io", 494 + "futures-util", 495 + "gio-sys", 496 + "glib", 497 + "libc", 498 + "pin-project-lite", 499 + "smallvec", 500 + ] 501 + 502 + [[package]] 503 + name = "gio-sys" 504 + version = "0.20.1" 505 + source = "registry+https://github.com/rust-lang/crates.io-index" 506 + checksum = "5237611e97e9b86ab5768adc3eef853ae713ea797aa3835404acdfacffc9fb38" 507 + dependencies = [ 508 + "glib-sys", 509 + "gobject-sys", 510 + "libc", 511 + "system-deps 7.0.2", 512 + "windows-sys", 513 + ] 514 + 515 + [[package]] 516 + name = "glib" 517 + version = "0.20.2" 518 + source = "registry+https://github.com/rust-lang/crates.io-index" 519 + checksum = "9c1ea829497810f8e87f5ee6d05c4879af641704add879e6b6080607cceeefe4" 520 + dependencies = [ 521 + "bitflags 2.6.0", 522 + "futures-channel", 523 + "futures-core", 524 + "futures-executor", 525 + "futures-task", 526 + "futures-util", 527 + "gio-sys", 528 + "glib-macros", 529 + "glib-sys", 530 + "gobject-sys", 531 + "libc", 532 + "memchr", 533 + "smallvec", 534 + ] 535 + 536 + [[package]] 537 + name = "glib-macros" 538 + version = "0.20.2" 539 + source = "registry+https://github.com/rust-lang/crates.io-index" 540 + checksum = "951aa19c5e89555c0ca5e94ee874b24b2594ece8412b387bd84ee3266b8a3ea0" 541 + dependencies = [ 542 + "heck", 543 + "proc-macro-crate", 544 + "proc-macro2", 545 + "quote", 546 + "syn", 547 + ] 548 + 549 + [[package]] 550 + name = "glib-sys" 551 + version = "0.20.2" 552 + source = "registry+https://github.com/rust-lang/crates.io-index" 553 + checksum = "92eee4531c1c9abba945d19378b205031b5890e1f99c319ba0503b6e0c06a163" 554 + dependencies = [ 555 + "libc", 556 + "system-deps 7.0.2", 557 + ] 558 + 559 + [[package]] 560 + name = "gobject-sys" 561 + version = "0.20.1" 562 + source = "registry+https://github.com/rust-lang/crates.io-index" 563 + checksum = "fa3d1dcd8a1eb2e7c22be3d5e792b14b186f3524f79b25631730f9a8c169d49a" 564 + dependencies = [ 565 + "glib-sys", 566 + "libc", 567 + "system-deps 7.0.2", 568 + ] 569 + 570 + [[package]] 571 + name = "half" 572 + version = "2.4.1" 573 + source = "registry+https://github.com/rust-lang/crates.io-index" 574 + checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" 575 + dependencies = [ 576 + "cfg-if", 577 + "crunchy", 578 + ] 579 + 580 + [[package]] 581 + name = "hashbrown" 582 + version = "0.14.5" 583 + source = "registry+https://github.com/rust-lang/crates.io-index" 584 + checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" 585 + 586 + [[package]] 587 + name = "heck" 588 + version = "0.5.0" 589 + source = "registry+https://github.com/rust-lang/crates.io-index" 590 + checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 591 + 592 + [[package]] 593 + name = "idna" 594 + version = "0.5.0" 595 + source = "registry+https://github.com/rust-lang/crates.io-index" 596 + checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" 597 + dependencies = [ 598 + "unicode-bidi", 599 + "unicode-normalization", 600 + ] 601 + 602 + [[package]] 603 + name = "image" 604 + version = "0.25.2" 605 + source = "registry+https://github.com/rust-lang/crates.io-index" 606 + checksum = "99314c8a2152b8ddb211f924cdae532d8c5e4c8bb54728e12fff1b0cd5963a10" 607 + dependencies = [ 608 + "bytemuck", 609 + "byteorder-lite", 610 + "color_quant", 611 + "exr", 612 + "gif", 613 + "image-webp", 614 + "num-traits", 615 + "png", 616 + "qoi", 617 + "ravif", 618 + "rayon", 619 + "rgb", 620 + "tiff", 621 + "zune-core", 622 + "zune-jpeg", 623 + ] 624 + 625 + [[package]] 626 + name = "image-webp" 627 + version = "0.1.3" 628 + source = "registry+https://github.com/rust-lang/crates.io-index" 629 + checksum = "f79afb8cbee2ef20f59ccd477a218c12a93943d075b492015ecb1bb81f8ee904" 630 + dependencies = [ 631 + "byteorder-lite", 632 + "quick-error", 633 + ] 634 + 635 + [[package]] 636 + name = "imgref" 637 + version = "1.10.1" 638 + source = "registry+https://github.com/rust-lang/crates.io-index" 639 + checksum = "44feda355f4159a7c757171a77de25daf6411e217b4cabd03bd6650690468126" 640 + 641 + [[package]] 642 + name = "indexmap" 643 + version = "2.5.0" 644 + source = "registry+https://github.com/rust-lang/crates.io-index" 645 + checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" 646 + dependencies = [ 647 + "equivalent", 648 + "hashbrown", 649 + ] 650 + 651 + [[package]] 652 + name = "interpolate_name" 653 + version = "0.2.4" 654 + source = "registry+https://github.com/rust-lang/crates.io-index" 655 + checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60" 656 + dependencies = [ 657 + "proc-macro2", 658 + "quote", 659 + "syn", 660 + ] 661 + 662 + [[package]] 663 + name = "is_terminal_polyfill" 664 + version = "1.70.1" 665 + source = "registry+https://github.com/rust-lang/crates.io-index" 666 + checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" 667 + 668 + [[package]] 669 + name = "itertools" 670 + version = "0.12.1" 671 + source = "registry+https://github.com/rust-lang/crates.io-index" 672 + checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" 673 + dependencies = [ 674 + "either", 675 + ] 676 + 677 + [[package]] 678 + name = "jobserver" 679 + version = "0.1.32" 680 + source = "registry+https://github.com/rust-lang/crates.io-index" 681 + checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" 682 + dependencies = [ 683 + "libc", 684 + ] 685 + 686 + [[package]] 687 + name = "jpeg-decoder" 688 + version = "0.3.1" 689 + source = "registry+https://github.com/rust-lang/crates.io-index" 690 + checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0" 691 + 692 + [[package]] 693 + name = "lebe" 694 + version = "0.5.2" 695 + source = "registry+https://github.com/rust-lang/crates.io-index" 696 + checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8" 697 + 698 + [[package]] 699 + name = "libc" 700 + version = "0.2.158" 701 + source = "registry+https://github.com/rust-lang/crates.io-index" 702 + checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" 703 + 704 + [[package]] 705 + name = "libfuzzer-sys" 706 + version = "0.4.7" 707 + source = "registry+https://github.com/rust-lang/crates.io-index" 708 + checksum = "a96cfd5557eb82f2b83fed4955246c988d331975a002961b07c81584d107e7f7" 709 + dependencies = [ 710 + "arbitrary", 711 + "cc", 712 + "once_cell", 713 + ] 714 + 715 + [[package]] 716 + name = "lock_api" 717 + version = "0.4.12" 718 + source = "registry+https://github.com/rust-lang/crates.io-index" 719 + checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" 720 + dependencies = [ 721 + "autocfg", 722 + "scopeguard", 723 + ] 724 + 725 + [[package]] 726 + name = "log" 727 + version = "0.4.22" 728 + source = "registry+https://github.com/rust-lang/crates.io-index" 729 + checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" 730 + 731 + [[package]] 732 + name = "loop9" 733 + version = "0.1.5" 734 + source = "registry+https://github.com/rust-lang/crates.io-index" 735 + checksum = "0fae87c125b03c1d2c0150c90365d7d6bcc53fb73a9acaef207d2d065860f062" 736 + dependencies = [ 737 + "imgref", 738 + ] 739 + 740 + [[package]] 741 + name = "maybe-rayon" 742 + version = "0.1.1" 743 + source = "registry+https://github.com/rust-lang/crates.io-index" 744 + checksum = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519" 745 + dependencies = [ 746 + "cfg-if", 747 + ] 748 + 749 + [[package]] 750 + name = "memchr" 751 + version = "2.7.4" 752 + source = "registry+https://github.com/rust-lang/crates.io-index" 753 + checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 754 + 755 + [[package]] 756 + name = "minimal-lexical" 757 + version = "0.2.1" 758 + source = "registry+https://github.com/rust-lang/crates.io-index" 759 + checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" 760 + 761 + [[package]] 762 + name = "miniz_oxide" 763 + version = "0.7.4" 764 + source = "registry+https://github.com/rust-lang/crates.io-index" 765 + checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" 766 + dependencies = [ 767 + "adler", 768 + "simd-adler32", 769 + ] 770 + 771 + [[package]] 772 + name = "miniz_oxide" 773 + version = "0.8.0" 774 + source = "registry+https://github.com/rust-lang/crates.io-index" 775 + checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" 776 + dependencies = [ 777 + "adler2", 778 + ] 779 + 780 + [[package]] 781 + name = "new_debug_unreachable" 782 + version = "1.0.6" 783 + source = "registry+https://github.com/rust-lang/crates.io-index" 784 + checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" 785 + 786 + [[package]] 787 + name = "nom" 788 + version = "7.1.3" 789 + source = "registry+https://github.com/rust-lang/crates.io-index" 790 + checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" 791 + dependencies = [ 792 + "memchr", 793 + "minimal-lexical", 794 + ] 795 + 796 + [[package]] 797 + name = "noop_proc_macro" 798 + version = "0.3.0" 799 + source = "registry+https://github.com/rust-lang/crates.io-index" 800 + checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8" 801 + 802 + [[package]] 803 + name = "num-bigint" 804 + version = "0.4.6" 805 + source = "registry+https://github.com/rust-lang/crates.io-index" 806 + checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" 807 + dependencies = [ 808 + "num-integer", 809 + "num-traits", 810 + ] 811 + 812 + [[package]] 813 + name = "num-derive" 814 + version = "0.4.2" 815 + source = "registry+https://github.com/rust-lang/crates.io-index" 816 + checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" 817 + dependencies = [ 818 + "proc-macro2", 819 + "quote", 820 + "syn", 821 + ] 822 + 823 + [[package]] 824 + name = "num-integer" 825 + version = "0.1.46" 826 + source = "registry+https://github.com/rust-lang/crates.io-index" 827 + checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" 828 + dependencies = [ 829 + "num-traits", 830 + ] 831 + 832 + [[package]] 833 + name = "num-rational" 834 + version = "0.4.2" 835 + source = "registry+https://github.com/rust-lang/crates.io-index" 836 + checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" 837 + dependencies = [ 838 + "num-bigint", 839 + "num-integer", 840 + "num-traits", 841 + ] 842 + 843 + [[package]] 844 + name = "num-traits" 845 + version = "0.2.19" 846 + source = "registry+https://github.com/rust-lang/crates.io-index" 847 + checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" 848 + dependencies = [ 849 + "autocfg", 850 + ] 851 + 852 + [[package]] 853 + name = "once_cell" 854 + version = "1.19.0" 855 + source = "registry+https://github.com/rust-lang/crates.io-index" 856 + checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" 857 + 858 + [[package]] 859 + name = "paste" 860 + version = "1.0.15" 861 + source = "registry+https://github.com/rust-lang/crates.io-index" 862 + checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" 863 + 864 + [[package]] 865 + name = "percent-encoding" 866 + version = "2.3.1" 867 + source = "registry+https://github.com/rust-lang/crates.io-index" 868 + checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 869 + 870 + [[package]] 871 + name = "pin-project-lite" 872 + version = "0.2.14" 873 + source = "registry+https://github.com/rust-lang/crates.io-index" 874 + checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" 875 + 876 + [[package]] 877 + name = "pin-utils" 878 + version = "0.1.0" 879 + source = "registry+https://github.com/rust-lang/crates.io-index" 880 + checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 881 + 882 + [[package]] 883 + name = "pkg-config" 884 + version = "0.3.30" 885 + source = "registry+https://github.com/rust-lang/crates.io-index" 886 + checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" 887 + 888 + [[package]] 889 + name = "png" 890 + version = "0.17.13" 891 + source = "registry+https://github.com/rust-lang/crates.io-index" 892 + checksum = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1" 893 + dependencies = [ 894 + "bitflags 1.3.2", 895 + "crc32fast", 896 + "fdeflate", 897 + "flate2", 898 + "miniz_oxide 0.7.4", 899 + ] 900 + 901 + [[package]] 902 + name = "poppler-rs" 903 + version = "0.1.0" 904 + dependencies = [ 905 + "cairo-rs", 906 + "clap", 907 + "image", 908 + "poppler-rs 0.24.1", 909 + "url", 910 + ] 911 + 912 + [[package]] 913 + name = "poppler-rs" 914 + version = "0.24.1" 915 + source = "registry+https://github.com/rust-lang/crates.io-index" 916 + checksum = "45b1f21ffe55c78cbe3b301950cf15a143c8ff2a0f05a2b9e8e9c80605347206" 917 + dependencies = [ 918 + "cairo-rs", 919 + "gio", 920 + "glib", 921 + "libc", 922 + "poppler-sys-rs", 923 + ] 924 + 925 + [[package]] 926 + name = "poppler-sys-rs" 927 + version = "0.24.0" 928 + source = "registry+https://github.com/rust-lang/crates.io-index" 929 + checksum = "e970afd57f25a79b8e526c257bf9c8cd5a6a68973331b6da341c422a6db47755" 930 + dependencies = [ 931 + "cairo-sys-rs", 932 + "gio-sys", 933 + "glib-sys", 934 + "gobject-sys", 935 + "libc", 936 + "system-deps 7.0.2", 937 + ] 938 + 939 + [[package]] 940 + name = "ppv-lite86" 941 + version = "0.2.20" 942 + source = "registry+https://github.com/rust-lang/crates.io-index" 943 + checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" 944 + dependencies = [ 945 + "zerocopy", 946 + ] 947 + 948 + [[package]] 949 + name = "proc-macro-crate" 950 + version = "3.2.0" 951 + source = "registry+https://github.com/rust-lang/crates.io-index" 952 + checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" 953 + dependencies = [ 954 + "toml_edit", 955 + ] 956 + 957 + [[package]] 958 + name = "proc-macro2" 959 + version = "1.0.86" 960 + source = "registry+https://github.com/rust-lang/crates.io-index" 961 + checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" 962 + dependencies = [ 963 + "unicode-ident", 964 + ] 965 + 966 + [[package]] 967 + name = "profiling" 968 + version = "1.0.15" 969 + source = "registry+https://github.com/rust-lang/crates.io-index" 970 + checksum = "43d84d1d7a6ac92673717f9f6d1518374ef257669c24ebc5ac25d5033828be58" 971 + dependencies = [ 972 + "profiling-procmacros", 973 + ] 974 + 975 + [[package]] 976 + name = "profiling-procmacros" 977 + version = "1.0.15" 978 + source = "registry+https://github.com/rust-lang/crates.io-index" 979 + checksum = "8021cf59c8ec9c432cfc2526ac6b8aa508ecaf29cd415f271b8406c1b851c3fd" 980 + dependencies = [ 981 + "quote", 982 + "syn", 983 + ] 984 + 985 + [[package]] 986 + name = "qoi" 987 + version = "0.4.1" 988 + source = "registry+https://github.com/rust-lang/crates.io-index" 989 + checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001" 990 + dependencies = [ 991 + "bytemuck", 992 + ] 993 + 994 + [[package]] 995 + name = "quick-error" 996 + version = "2.0.1" 997 + source = "registry+https://github.com/rust-lang/crates.io-index" 998 + checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" 999 + 1000 + [[package]] 1001 + name = "quote" 1002 + version = "1.0.37" 1003 + source = "registry+https://github.com/rust-lang/crates.io-index" 1004 + checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" 1005 + dependencies = [ 1006 + "proc-macro2", 1007 + ] 1008 + 1009 + [[package]] 1010 + name = "rand" 1011 + version = "0.8.5" 1012 + source = "registry+https://github.com/rust-lang/crates.io-index" 1013 + checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 1014 + dependencies = [ 1015 + "libc", 1016 + "rand_chacha", 1017 + "rand_core", 1018 + ] 1019 + 1020 + [[package]] 1021 + name = "rand_chacha" 1022 + version = "0.3.1" 1023 + source = "registry+https://github.com/rust-lang/crates.io-index" 1024 + checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 1025 + dependencies = [ 1026 + "ppv-lite86", 1027 + "rand_core", 1028 + ] 1029 + 1030 + [[package]] 1031 + name = "rand_core" 1032 + version = "0.6.4" 1033 + source = "registry+https://github.com/rust-lang/crates.io-index" 1034 + checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 1035 + dependencies = [ 1036 + "getrandom", 1037 + ] 1038 + 1039 + [[package]] 1040 + name = "rav1e" 1041 + version = "0.7.1" 1042 + source = "registry+https://github.com/rust-lang/crates.io-index" 1043 + checksum = "cd87ce80a7665b1cce111f8a16c1f3929f6547ce91ade6addf4ec86a8dda5ce9" 1044 + dependencies = [ 1045 + "arbitrary", 1046 + "arg_enum_proc_macro", 1047 + "arrayvec", 1048 + "av1-grain", 1049 + "bitstream-io", 1050 + "built", 1051 + "cfg-if", 1052 + "interpolate_name", 1053 + "itertools", 1054 + "libc", 1055 + "libfuzzer-sys", 1056 + "log", 1057 + "maybe-rayon", 1058 + "new_debug_unreachable", 1059 + "noop_proc_macro", 1060 + "num-derive", 1061 + "num-traits", 1062 + "once_cell", 1063 + "paste", 1064 + "profiling", 1065 + "rand", 1066 + "rand_chacha", 1067 + "simd_helpers", 1068 + "system-deps 6.2.2", 1069 + "thiserror", 1070 + "v_frame", 1071 + "wasm-bindgen", 1072 + ] 1073 + 1074 + [[package]] 1075 + name = "ravif" 1076 + version = "0.11.10" 1077 + source = "registry+https://github.com/rust-lang/crates.io-index" 1078 + checksum = "a8f0bfd976333248de2078d350bfdf182ff96e168a24d23d2436cef320dd4bdd" 1079 + dependencies = [ 1080 + "avif-serialize", 1081 + "imgref", 1082 + "loop9", 1083 + "quick-error", 1084 + "rav1e", 1085 + "rgb", 1086 + ] 1087 + 1088 + [[package]] 1089 + name = "rayon" 1090 + version = "1.10.0" 1091 + source = "registry+https://github.com/rust-lang/crates.io-index" 1092 + checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" 1093 + dependencies = [ 1094 + "either", 1095 + "rayon-core", 1096 + ] 1097 + 1098 + [[package]] 1099 + name = "rayon-core" 1100 + version = "1.12.1" 1101 + source = "registry+https://github.com/rust-lang/crates.io-index" 1102 + checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" 1103 + dependencies = [ 1104 + "crossbeam-deque", 1105 + "crossbeam-utils", 1106 + ] 1107 + 1108 + [[package]] 1109 + name = "rgb" 1110 + version = "0.8.50" 1111 + source = "registry+https://github.com/rust-lang/crates.io-index" 1112 + checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a" 1113 + dependencies = [ 1114 + "bytemuck", 1115 + ] 1116 + 1117 + [[package]] 1118 + name = "scopeguard" 1119 + version = "1.2.0" 1120 + source = "registry+https://github.com/rust-lang/crates.io-index" 1121 + checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 1122 + 1123 + [[package]] 1124 + name = "serde" 1125 + version = "1.0.209" 1126 + source = "registry+https://github.com/rust-lang/crates.io-index" 1127 + checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" 1128 + dependencies = [ 1129 + "serde_derive", 1130 + ] 1131 + 1132 + [[package]] 1133 + name = "serde_derive" 1134 + version = "1.0.209" 1135 + source = "registry+https://github.com/rust-lang/crates.io-index" 1136 + checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" 1137 + dependencies = [ 1138 + "proc-macro2", 1139 + "quote", 1140 + "syn", 1141 + ] 1142 + 1143 + [[package]] 1144 + name = "serde_spanned" 1145 + version = "0.6.7" 1146 + source = "registry+https://github.com/rust-lang/crates.io-index" 1147 + checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" 1148 + dependencies = [ 1149 + "serde", 1150 + ] 1151 + 1152 + [[package]] 1153 + name = "shlex" 1154 + version = "1.3.0" 1155 + source = "registry+https://github.com/rust-lang/crates.io-index" 1156 + checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 1157 + 1158 + [[package]] 1159 + name = "simd-adler32" 1160 + version = "0.3.7" 1161 + source = "registry+https://github.com/rust-lang/crates.io-index" 1162 + checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" 1163 + 1164 + [[package]] 1165 + name = "simd_helpers" 1166 + version = "0.1.0" 1167 + source = "registry+https://github.com/rust-lang/crates.io-index" 1168 + checksum = "95890f873bec569a0362c235787f3aca6e1e887302ba4840839bcc6459c42da6" 1169 + dependencies = [ 1170 + "quote", 1171 + ] 1172 + 1173 + [[package]] 1174 + name = "slab" 1175 + version = "0.4.9" 1176 + source = "registry+https://github.com/rust-lang/crates.io-index" 1177 + checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 1178 + dependencies = [ 1179 + "autocfg", 1180 + ] 1181 + 1182 + [[package]] 1183 + name = "smallvec" 1184 + version = "1.13.2" 1185 + source = "registry+https://github.com/rust-lang/crates.io-index" 1186 + checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" 1187 + 1188 + [[package]] 1189 + name = "spin" 1190 + version = "0.9.8" 1191 + source = "registry+https://github.com/rust-lang/crates.io-index" 1192 + checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" 1193 + dependencies = [ 1194 + "lock_api", 1195 + ] 1196 + 1197 + [[package]] 1198 + name = "strsim" 1199 + version = "0.11.1" 1200 + source = "registry+https://github.com/rust-lang/crates.io-index" 1201 + checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" 1202 + 1203 + [[package]] 1204 + name = "syn" 1205 + version = "2.0.77" 1206 + source = "registry+https://github.com/rust-lang/crates.io-index" 1207 + checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" 1208 + dependencies = [ 1209 + "proc-macro2", 1210 + "quote", 1211 + "unicode-ident", 1212 + ] 1213 + 1214 + [[package]] 1215 + name = "system-deps" 1216 + version = "6.2.2" 1217 + source = "registry+https://github.com/rust-lang/crates.io-index" 1218 + checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349" 1219 + dependencies = [ 1220 + "cfg-expr 0.15.8", 1221 + "heck", 1222 + "pkg-config", 1223 + "toml", 1224 + "version-compare", 1225 + ] 1226 + 1227 + [[package]] 1228 + name = "system-deps" 1229 + version = "7.0.2" 1230 + source = "registry+https://github.com/rust-lang/crates.io-index" 1231 + checksum = "070a0a5e7da2d24be457809c4b3baa57a835fd2829ad8b86f9a049052fe71031" 1232 + dependencies = [ 1233 + "cfg-expr 0.16.0", 1234 + "heck", 1235 + "pkg-config", 1236 + "toml", 1237 + "version-compare", 1238 + ] 1239 + 1240 + [[package]] 1241 + name = "target-lexicon" 1242 + version = "0.12.16" 1243 + source = "registry+https://github.com/rust-lang/crates.io-index" 1244 + checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" 1245 + 1246 + [[package]] 1247 + name = "thiserror" 1248 + version = "1.0.63" 1249 + source = "registry+https://github.com/rust-lang/crates.io-index" 1250 + checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" 1251 + dependencies = [ 1252 + "thiserror-impl", 1253 + ] 1254 + 1255 + [[package]] 1256 + name = "thiserror-impl" 1257 + version = "1.0.63" 1258 + source = "registry+https://github.com/rust-lang/crates.io-index" 1259 + checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" 1260 + dependencies = [ 1261 + "proc-macro2", 1262 + "quote", 1263 + "syn", 1264 + ] 1265 + 1266 + [[package]] 1267 + name = "tiff" 1268 + version = "0.9.1" 1269 + source = "registry+https://github.com/rust-lang/crates.io-index" 1270 + checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e" 1271 + dependencies = [ 1272 + "flate2", 1273 + "jpeg-decoder", 1274 + "weezl", 1275 + ] 1276 + 1277 + [[package]] 1278 + name = "tinyvec" 1279 + version = "1.8.0" 1280 + source = "registry+https://github.com/rust-lang/crates.io-index" 1281 + checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" 1282 + dependencies = [ 1283 + "tinyvec_macros", 1284 + ] 1285 + 1286 + [[package]] 1287 + name = "tinyvec_macros" 1288 + version = "0.1.1" 1289 + source = "registry+https://github.com/rust-lang/crates.io-index" 1290 + checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 1291 + 1292 + [[package]] 1293 + name = "toml" 1294 + version = "0.8.19" 1295 + source = "registry+https://github.com/rust-lang/crates.io-index" 1296 + checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" 1297 + dependencies = [ 1298 + "serde", 1299 + "serde_spanned", 1300 + "toml_datetime", 1301 + "toml_edit", 1302 + ] 1303 + 1304 + [[package]] 1305 + name = "toml_datetime" 1306 + version = "0.6.8" 1307 + source = "registry+https://github.com/rust-lang/crates.io-index" 1308 + checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" 1309 + dependencies = [ 1310 + "serde", 1311 + ] 1312 + 1313 + [[package]] 1314 + name = "toml_edit" 1315 + version = "0.22.20" 1316 + source = "registry+https://github.com/rust-lang/crates.io-index" 1317 + checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" 1318 + dependencies = [ 1319 + "indexmap", 1320 + "serde", 1321 + "serde_spanned", 1322 + "toml_datetime", 1323 + "winnow", 1324 + ] 1325 + 1326 + [[package]] 1327 + name = "unicode-bidi" 1328 + version = "0.3.15" 1329 + source = "registry+https://github.com/rust-lang/crates.io-index" 1330 + checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" 1331 + 1332 + [[package]] 1333 + name = "unicode-ident" 1334 + version = "1.0.12" 1335 + source = "registry+https://github.com/rust-lang/crates.io-index" 1336 + checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 1337 + 1338 + [[package]] 1339 + name = "unicode-normalization" 1340 + version = "0.1.23" 1341 + source = "registry+https://github.com/rust-lang/crates.io-index" 1342 + checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" 1343 + dependencies = [ 1344 + "tinyvec", 1345 + ] 1346 + 1347 + [[package]] 1348 + name = "url" 1349 + version = "2.5.2" 1350 + source = "registry+https://github.com/rust-lang/crates.io-index" 1351 + checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" 1352 + dependencies = [ 1353 + "form_urlencoded", 1354 + "idna", 1355 + "percent-encoding", 1356 + ] 1357 + 1358 + [[package]] 1359 + name = "utf8parse" 1360 + version = "0.2.2" 1361 + source = "registry+https://github.com/rust-lang/crates.io-index" 1362 + checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" 1363 + 1364 + [[package]] 1365 + name = "v_frame" 1366 + version = "0.3.8" 1367 + source = "registry+https://github.com/rust-lang/crates.io-index" 1368 + checksum = "d6f32aaa24bacd11e488aa9ba66369c7cd514885742c9fe08cfe85884db3e92b" 1369 + dependencies = [ 1370 + "aligned-vec", 1371 + "num-traits", 1372 + "wasm-bindgen", 1373 + ] 1374 + 1375 + [[package]] 1376 + name = "version-compare" 1377 + version = "0.2.0" 1378 + source = "registry+https://github.com/rust-lang/crates.io-index" 1379 + checksum = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b" 1380 + 1381 + [[package]] 1382 + name = "wasi" 1383 + version = "0.11.0+wasi-snapshot-preview1" 1384 + source = "registry+https://github.com/rust-lang/crates.io-index" 1385 + checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 1386 + 1387 + [[package]] 1388 + name = "wasm-bindgen" 1389 + version = "0.2.93" 1390 + source = "registry+https://github.com/rust-lang/crates.io-index" 1391 + checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" 1392 + dependencies = [ 1393 + "cfg-if", 1394 + "once_cell", 1395 + "wasm-bindgen-macro", 1396 + ] 1397 + 1398 + [[package]] 1399 + name = "wasm-bindgen-backend" 1400 + version = "0.2.93" 1401 + source = "registry+https://github.com/rust-lang/crates.io-index" 1402 + checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" 1403 + dependencies = [ 1404 + "bumpalo", 1405 + "log", 1406 + "once_cell", 1407 + "proc-macro2", 1408 + "quote", 1409 + "syn", 1410 + "wasm-bindgen-shared", 1411 + ] 1412 + 1413 + [[package]] 1414 + name = "wasm-bindgen-macro" 1415 + version = "0.2.93" 1416 + source = "registry+https://github.com/rust-lang/crates.io-index" 1417 + checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" 1418 + dependencies = [ 1419 + "quote", 1420 + "wasm-bindgen-macro-support", 1421 + ] 1422 + 1423 + [[package]] 1424 + name = "wasm-bindgen-macro-support" 1425 + version = "0.2.93" 1426 + source = "registry+https://github.com/rust-lang/crates.io-index" 1427 + checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" 1428 + dependencies = [ 1429 + "proc-macro2", 1430 + "quote", 1431 + "syn", 1432 + "wasm-bindgen-backend", 1433 + "wasm-bindgen-shared", 1434 + ] 1435 + 1436 + [[package]] 1437 + name = "wasm-bindgen-shared" 1438 + version = "0.2.93" 1439 + source = "registry+https://github.com/rust-lang/crates.io-index" 1440 + checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" 1441 + 1442 + [[package]] 1443 + name = "weezl" 1444 + version = "0.1.8" 1445 + source = "registry+https://github.com/rust-lang/crates.io-index" 1446 + checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" 1447 + 1448 + [[package]] 1449 + name = "windows-sys" 1450 + version = "0.52.0" 1451 + source = "registry+https://github.com/rust-lang/crates.io-index" 1452 + checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 1453 + dependencies = [ 1454 + "windows-targets", 1455 + ] 1456 + 1457 + [[package]] 1458 + name = "windows-targets" 1459 + version = "0.52.6" 1460 + source = "registry+https://github.com/rust-lang/crates.io-index" 1461 + checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 1462 + dependencies = [ 1463 + "windows_aarch64_gnullvm", 1464 + "windows_aarch64_msvc", 1465 + "windows_i686_gnu", 1466 + "windows_i686_gnullvm", 1467 + "windows_i686_msvc", 1468 + "windows_x86_64_gnu", 1469 + "windows_x86_64_gnullvm", 1470 + "windows_x86_64_msvc", 1471 + ] 1472 + 1473 + [[package]] 1474 + name = "windows_aarch64_gnullvm" 1475 + version = "0.52.6" 1476 + source = "registry+https://github.com/rust-lang/crates.io-index" 1477 + checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 1478 + 1479 + [[package]] 1480 + name = "windows_aarch64_msvc" 1481 + version = "0.52.6" 1482 + source = "registry+https://github.com/rust-lang/crates.io-index" 1483 + checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 1484 + 1485 + [[package]] 1486 + name = "windows_i686_gnu" 1487 + version = "0.52.6" 1488 + source = "registry+https://github.com/rust-lang/crates.io-index" 1489 + checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 1490 + 1491 + [[package]] 1492 + name = "windows_i686_gnullvm" 1493 + version = "0.52.6" 1494 + source = "registry+https://github.com/rust-lang/crates.io-index" 1495 + checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 1496 + 1497 + [[package]] 1498 + name = "windows_i686_msvc" 1499 + version = "0.52.6" 1500 + source = "registry+https://github.com/rust-lang/crates.io-index" 1501 + checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 1502 + 1503 + [[package]] 1504 + name = "windows_x86_64_gnu" 1505 + version = "0.52.6" 1506 + source = "registry+https://github.com/rust-lang/crates.io-index" 1507 + checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 1508 + 1509 + [[package]] 1510 + name = "windows_x86_64_gnullvm" 1511 + version = "0.52.6" 1512 + source = "registry+https://github.com/rust-lang/crates.io-index" 1513 + checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 1514 + 1515 + [[package]] 1516 + name = "windows_x86_64_msvc" 1517 + version = "0.52.6" 1518 + source = "registry+https://github.com/rust-lang/crates.io-index" 1519 + checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 1520 + 1521 + [[package]] 1522 + name = "winnow" 1523 + version = "0.6.18" 1524 + source = "registry+https://github.com/rust-lang/crates.io-index" 1525 + checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" 1526 + dependencies = [ 1527 + "memchr", 1528 + ] 1529 + 1530 + [[package]] 1531 + name = "zerocopy" 1532 + version = "0.7.35" 1533 + source = "registry+https://github.com/rust-lang/crates.io-index" 1534 + checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" 1535 + dependencies = [ 1536 + "byteorder", 1537 + "zerocopy-derive", 1538 + ] 1539 + 1540 + [[package]] 1541 + name = "zerocopy-derive" 1542 + version = "0.7.35" 1543 + source = "registry+https://github.com/rust-lang/crates.io-index" 1544 + checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" 1545 + dependencies = [ 1546 + "proc-macro2", 1547 + "quote", 1548 + "syn", 1549 + ] 1550 + 1551 + [[package]] 1552 + name = "zune-core" 1553 + version = "0.4.12" 1554 + source = "registry+https://github.com/rust-lang/crates.io-index" 1555 + checksum = "3f423a2c17029964870cfaabb1f13dfab7d092a62a29a89264f4d36990ca414a" 1556 + 1557 + [[package]] 1558 + name = "zune-inflate" 1559 + version = "0.2.54" 1560 + source = "registry+https://github.com/rust-lang/crates.io-index" 1561 + checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02" 1562 + dependencies = [ 1563 + "simd-adler32", 1564 + ] 1565 + 1566 + [[package]] 1567 + name = "zune-jpeg" 1568 + version = "0.4.13" 1569 + source = "registry+https://github.com/rust-lang/crates.io-index" 1570 + checksum = "16099418600b4d8f028622f73ff6e3deaabdff330fb9a2a131dea781ee8b0768" 1571 + dependencies = [ 1572 + "zune-core", 1573 + ]
+11
poppler-rs/Cargo.toml
··· 1 + [package] 2 + edition = "2021" 3 + name = "poppler-rs" 4 + version = "0.1.0" 5 + 6 + [dependencies] 7 + cairo-rs = {version = "0.20.1"} 8 + clap = {version = "4.5.16", features = ["derive", "env"]} 9 + image = "0.25.2" 10 + poppler-rs = "0.24.1" 11 + url = "2.5.2"
+55
poppler-rs/src/main.rs
··· 1 + use cairo::{Context, Format, ImageSurface}; 2 + use clap::Parser; 3 + use image::codecs::webp::WebPEncoder; 4 + use image::ExtendedColorType; 5 + use poppler::Document; 6 + use std::fs; 7 + use std::fs::File; 8 + use url::Url; 9 + 10 + #[derive(Parser, Debug)] 11 + #[command(version)] 12 + struct Args { 13 + #[arg(short, long, env, default_value = "target/note/note.pdf", value_parser = canonicalize)] 14 + input: String, 15 + 16 + #[arg(short, long, env, default_value = "target/output")] 17 + output: String, 18 + } 19 + 20 + fn canonicalize(arg: &str) -> Result<String, std::io::Error> { 21 + let path = fs::canonicalize(arg)?.to_string_lossy().into_owned(); 22 + Ok(path) 23 + } 24 + 25 + fn main() { 26 + let args = Args::parse(); 27 + let input = args.input; 28 + let output = args.output; 29 + let input_uri = Url::parse(format!("file://{input}").as_str()) 30 + .unwrap() 31 + .to_string(); 32 + 33 + let document = Document::from_file(&input_uri, None).unwrap(); 34 + 35 + for i in 0..document.n_pages() { 36 + let page = document.page(i).unwrap(); 37 + let (width, height) = page.size(); 38 + let output_file = File::create(format!("{output}-{i}.webp")).unwrap(); 39 + let surface = ImageSurface::create(Format::Rgb24, width as i32, height as i32).unwrap(); 40 + let context = Context::new(&surface).unwrap(); 41 + 42 + context.set_source_rgb(1., 1., 1.); 43 + context.paint().unwrap(); 44 + page.render(&context); 45 + 46 + drop(context); 47 + 48 + let data = surface.take_data().unwrap(); 49 + let encoder = WebPEncoder::new_lossless(output_file); 50 + 51 + encoder 52 + .encode(&data, width as u32, height as u32, ExtendedColorType::Rgba8) 53 + .unwrap(); 54 + } 55 + }