gdritter repos palladio / master
update to newest version Getty Ritter 2 years ago
5 changed file(s) with 505 addition(s) and 211 deletion(s). Collapse all Expand all
2727 source = "registry+https://github.com/rust-lang/crates.io-index"
2828 checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
2929 dependencies = [
30 "winapi 0.3.9",
30 "winapi",
31 ]
32
33 [[package]]
34 name = "anyhow"
35 version = "1.0.44"
36 source = "registry+https://github.com/rust-lang/crates.io-index"
37 checksum = "61604a8f862e1d5c3229fdd78f8b02c68dcf73a4c4b05fd636d12240aaa242c1"
38
39 [[package]]
40 name = "atk"
41 version = "0.14.0"
42 source = "registry+https://github.com/rust-lang/crates.io-index"
43 checksum = "a83b21d2aa75e464db56225e1bda2dd5993311ba1095acaa8fa03d1ae67026ba"
44 dependencies = [
45 "atk-sys",
46 "bitflags",
47 "glib",
48 "libc",
3149 ]
3250
3351 [[package]]
3452 name = "atk-sys"
35 version = "0.4.0"
36 source = "registry+https://github.com/rust-lang/crates.io-index"
37 checksum = "c69658a4e18d5c9575f716e24559645d08a4044d6946c30c2e0025952c84d842"
38 dependencies = [
39 "bitflags 0.9.1",
53 version = "0.14.0"
54 source = "registry+https://github.com/rust-lang/crates.io-index"
55 checksum = "badcf670157c84bb8b1cf6b5f70b650fed78da2033c9eed84c4e49b11cbe83ea"
56 dependencies = [
4057 "glib-sys",
4158 "gobject-sys",
4259 "libc",
43 "pkg-config",
60 "system-deps",
4461 ]
4562
4663 [[package]]
5168 dependencies = [
5269 "hermit-abi",
5370 "libc",
54 "winapi 0.3.9",
71 "winapi",
5572 ]
5673
5774 [[package]]
7794
7895 [[package]]
7996 name = "bitflags"
80 version = "0.9.1"
81 source = "registry+https://github.com/rust-lang/crates.io-index"
82 checksum = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5"
83
84 [[package]]
85 name = "bitflags"
8697 version = "1.3.2"
8798 source = "registry+https://github.com/rust-lang/crates.io-index"
8899 checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
115126 ]
116127
117128 [[package]]
118 name = "c_vec"
119 version = "1.2.1"
120 source = "registry+https://github.com/rust-lang/crates.io-index"
121 checksum = "6237ac5a4b1e81c213c24c6437964c61e646df910a914b4ab1487b46df20bd13"
122
123 [[package]]
124129 name = "cairo-rs"
125 version = "0.2.0"
126 source = "registry+https://github.com/rust-lang/crates.io-index"
127 checksum = "a9d336f1b2ff46c17475a14360de7f456707008da475c54824887e52e453ab00"
128 dependencies = [
129 "c_vec",
130 version = "0.14.9"
131 source = "registry+https://github.com/rust-lang/crates.io-index"
132 checksum = "33b5725979db0c586d98abad2193cdb612dd40ef95cd26bd99851bf93b3cb482"
133 dependencies = [
134 "bitflags",
130135 "cairo-sys-rs",
131136 "glib",
137 "libc",
138 "thiserror",
139 ]
140
141 [[package]]
142 name = "cairo-sys-rs"
143 version = "0.14.9"
144 source = "registry+https://github.com/rust-lang/crates.io-index"
145 checksum = "b448b876970834fda82ba3aeaccadbd760206b75388fc5c1b02f1e343b697570"
146 dependencies = [
132147 "glib-sys",
133148 "libc",
134 "winapi 0.2.8",
135 ]
136
137 [[package]]
138 name = "cairo-sys-rs"
139 version = "0.4.0"
140 source = "registry+https://github.com/rust-lang/crates.io-index"
141 checksum = "9e8a1e2a76ac09b959788c2c30a355d693ce6f7f7d7268f6d1dd5d8c3359c521"
142 dependencies = [
143 "libc",
144 "pkg-config",
145 "winapi 0.2.8",
149 "system-deps",
146150 ]
147151
148152 [[package]]
152156 checksum = "79c2681d6594606957bbb8631c4b90a7fcaaa72cdb714743a437b156d6a7eedd"
153157
154158 [[package]]
159 name = "cfg-expr"
160 version = "0.8.1"
161 source = "registry+https://github.com/rust-lang/crates.io-index"
162 checksum = "b412e83326147c2bb881f8b40edfbf9905b9b8abaebd0e47ca190ba62fda8f0e"
163 dependencies = [
164 "smallvec",
165 ]
166
167 [[package]]
155168 name = "cfg-if"
156169 version = "1.0.0"
157170 source = "registry+https://github.com/rust-lang/crates.io-index"
165178 dependencies = [
166179 "ansi_term",
167180 "atty",
168 "bitflags 1.3.2",
181 "bitflags",
169182 "strsim",
170183 "textwrap",
171184 "unicode-width",
216229 dependencies = [
217230 "cfg-if",
218231 "crossbeam-utils",
219 "lazy_static 1.4.0",
232 "lazy_static",
220233 "memoffset",
221234 "scopeguard",
222235 ]
228241 checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
229242 dependencies = [
230243 "cfg-if",
231 "lazy_static 1.4.0",
244 "lazy_static",
232245 ]
233246
234247 [[package]]
270283 ]
271284
272285 [[package]]
286 name = "field-offset"
287 version = "0.3.4"
288 source = "registry+https://github.com/rust-lang/crates.io-index"
289 checksum = "1e1c54951450cbd39f3dbcf1005ac413b49487dabf18a720ad2383eccfeffb92"
290 dependencies = [
291 "memoffset",
292 "rustc_version",
293 ]
294
295 [[package]]
273296 name = "flate2"
274297 version = "1.0.22"
275298 source = "registry+https://github.com/rust-lang/crates.io-index"
288311 checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
289312
290313 [[package]]
314 name = "futures-channel"
315 version = "0.3.17"
316 source = "registry+https://github.com/rust-lang/crates.io-index"
317 checksum = "5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888"
318 dependencies = [
319 "futures-core",
320 ]
321
322 [[package]]
323 name = "futures-core"
324 version = "0.3.17"
325 source = "registry+https://github.com/rust-lang/crates.io-index"
326 checksum = "88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d"
327
328 [[package]]
329 name = "futures-executor"
330 version = "0.3.17"
331 source = "registry+https://github.com/rust-lang/crates.io-index"
332 checksum = "45025be030969d763025784f7f355043dc6bc74093e4ecc5000ca4dc50d8745c"
333 dependencies = [
334 "futures-core",
335 "futures-task",
336 "futures-util",
337 ]
338
339 [[package]]
340 name = "futures-io"
341 version = "0.3.17"
342 source = "registry+https://github.com/rust-lang/crates.io-index"
343 checksum = "522de2a0fe3e380f1bc577ba0474108faf3f6b18321dbf60b3b9c39a75073377"
344
345 [[package]]
346 name = "futures-task"
347 version = "0.3.17"
348 source = "registry+https://github.com/rust-lang/crates.io-index"
349 checksum = "1d3d00f4eddb73e498a54394f228cd55853bdf059259e8e7bc6e69d408892e99"
350
351 [[package]]
352 name = "futures-util"
353 version = "0.3.17"
354 source = "registry+https://github.com/rust-lang/crates.io-index"
355 checksum = "36568465210a3a6ee45e1f165136d68671471a501e632e9a98d96872222b5481"
356 dependencies = [
357 "autocfg",
358 "futures-core",
359 "futures-task",
360 "pin-project-lite",
361 "pin-utils",
362 "slab",
363 ]
364
365 [[package]]
291366 name = "gdk"
292 version = "0.6.0"
293 source = "registry+https://github.com/rust-lang/crates.io-index"
294 checksum = "f30018ecbbb1e6f1d59c4024ec08675850744b799abc5420be0629ac9ba0abd2"
295 dependencies = [
296 "bitflags 0.9.1",
367 version = "0.14.3"
368 source = "registry+https://github.com/rust-lang/crates.io-index"
369 checksum = "b9d749dcfc00d8de0d7c3a289e04a04293eb5ba3d8a4e64d64911d481fa9933b"
370 dependencies = [
371 "bitflags",
297372 "cairo-rs",
298 "cairo-sys-rs",
299373 "gdk-pixbuf",
300374 "gdk-sys",
301375 "gio",
302376 "glib",
303 "glib-sys",
304 "gobject-sys",
305377 "libc",
306378 "pango",
307379 ]
308380
309381 [[package]]
310382 name = "gdk-pixbuf"
311 version = "0.2.0"
312 source = "registry+https://github.com/rust-lang/crates.io-index"
313 checksum = "caf05dab73febcc6e90abaff8f24cfe1cf1bd2222cd648ddfe337bf3b994489f"
383 version = "0.14.0"
384 source = "registry+https://github.com/rust-lang/crates.io-index"
385 checksum = "534192cb8f01daeb8fab2c8d4baa8f9aae5b7a39130525779f5c2608e235b10f"
314386 dependencies = [
315387 "gdk-pixbuf-sys",
388 "gio",
316389 "glib",
317 "glib-sys",
318 "gobject-sys",
319390 "libc",
320391 ]
321392
322393 [[package]]
323394 name = "gdk-pixbuf-sys"
324 version = "0.4.0"
325 source = "registry+https://github.com/rust-lang/crates.io-index"
326 checksum = "85eb441420653b33e5a29d13227ea34995383e65bf4f33b16492ec95e44a8996"
327 dependencies = [
328 "bitflags 0.9.1",
395 version = "0.14.0"
396 source = "registry+https://github.com/rust-lang/crates.io-index"
397 checksum = "f097c0704201fbc8f69c1762dc58c6947c8bb188b8ed0bc7e65259f1894fe590"
398 dependencies = [
329399 "gio-sys",
330400 "glib-sys",
331401 "gobject-sys",
332402 "libc",
333 "pkg-config",
403 "system-deps",
334404 ]
335405
336406 [[package]]
337407 name = "gdk-sys"
338 version = "0.4.0"
339 source = "registry+https://github.com/rust-lang/crates.io-index"
340 checksum = "679d86da2a4522a623e3ce4b67f2126a12e057a1f7269eee7028199f78b5a854"
341 dependencies = [
342 "bitflags 0.9.1",
408 version = "0.14.0"
409 source = "registry+https://github.com/rust-lang/crates.io-index"
410 checksum = "0e091b3d3d6696949ac3b3fb3c62090e5bfd7bd6850bef5c3c5ea701de1b1f1e"
411 dependencies = [
343412 "cairo-sys-rs",
344413 "gdk-pixbuf-sys",
345414 "gio-sys",
348417 "libc",
349418 "pango-sys",
350419 "pkg-config",
420 "system-deps",
351421 ]
352422
353423 [[package]]
368438
369439 [[package]]
370440 name = "gio"
371 version = "0.2.0"
372 source = "registry+https://github.com/rust-lang/crates.io-index"
373 checksum = "b7bc3126c94109e65871e4228b990d1ea2953259483d5b06eb96e8b36a7bf196"
374 dependencies = [
375 "bitflags 0.9.1",
441 version = "0.14.8"
442 source = "registry+https://github.com/rust-lang/crates.io-index"
443 checksum = "711c3632b3ebd095578a9c091418d10fed492da9443f58ebc8f45efbeb215cb0"
444 dependencies = [
445 "bitflags",
446 "futures-channel",
447 "futures-core",
448 "futures-io",
376449 "gio-sys",
377450 "glib",
451 "libc",
452 "once_cell",
453 "thiserror",
454 ]
455
456 [[package]]
457 name = "gio-sys"
458 version = "0.14.0"
459 source = "registry+https://github.com/rust-lang/crates.io-index"
460 checksum = "c0a41df66e57fcc287c4bcf74fc26b884f31901ea9792ec75607289b456f48fa"
461 dependencies = [
378462 "glib-sys",
379463 "gobject-sys",
380464 "libc",
381 ]
382
383 [[package]]
384 name = "gio-sys"
385 version = "0.4.0"
386 source = "registry+https://github.com/rust-lang/crates.io-index"
387 checksum = "189969f8189604c371d42b613d928c9d17fcfbf6e175d6b0ce9475a950f76dc6"
388 dependencies = [
389 "bitflags 0.9.1",
465 "system-deps",
466 "winapi",
467 ]
468
469 [[package]]
470 name = "glib"
471 version = "0.14.8"
472 source = "registry+https://github.com/rust-lang/crates.io-index"
473 checksum = "7c515f1e62bf151ef6635f528d05b02c11506de986e43b34a5c920ef0b3796a4"
474 dependencies = [
475 "bitflags",
476 "futures-channel",
477 "futures-core",
478 "futures-executor",
479 "futures-task",
480 "glib-macros",
390481 "glib-sys",
391482 "gobject-sys",
392483 "libc",
393 "pkg-config",
394 ]
395
396 [[package]]
397 name = "glib"
398 version = "0.3.1"
399 source = "registry+https://github.com/rust-lang/crates.io-index"
400 checksum = "d4da1d7f4bdc5c708d8ce4df1ac440dcb2f9d97d937c989032185a48aeef1d10"
401 dependencies = [
402 "bitflags 0.9.1",
484 "once_cell",
485 "smallvec",
486 ]
487
488 [[package]]
489 name = "glib-macros"
490 version = "0.14.1"
491 source = "registry+https://github.com/rust-lang/crates.io-index"
492 checksum = "2aad66361f66796bfc73f530c51ef123970eb895ffba991a234fcf7bea89e518"
493 dependencies = [
494 "anyhow",
495 "heck",
496 "proc-macro-crate",
497 "proc-macro-error",
498 "proc-macro2 1.0.32",
499 "quote 1.0.10",
500 "syn 1.0.81",
501 ]
502
503 [[package]]
504 name = "glib-sys"
505 version = "0.14.0"
506 source = "registry+https://github.com/rust-lang/crates.io-index"
507 checksum = "1c1d60554a212445e2a858e42a0e48cece1bd57b311a19a9468f70376cf554ae"
508 dependencies = [
509 "libc",
510 "system-deps",
511 ]
512
513 [[package]]
514 name = "gobject-sys"
515 version = "0.14.0"
516 source = "registry+https://github.com/rust-lang/crates.io-index"
517 checksum = "aa92cae29759dae34ab5921d73fff5ad54b3d794ab842c117e36cafc7994c3f5"
518 dependencies = [
403519 "glib-sys",
404 "gobject-sys",
405 "lazy_static 0.2.11",
406 "libc",
407 ]
408
409 [[package]]
410 name = "glib-sys"
411 version = "0.4.0"
412 source = "registry+https://github.com/rust-lang/crates.io-index"
413 checksum = "cdd7d911c5dc610aabe37caae7d3b9d2cfe6d8f4c85ff4c062f3d6f490e75067"
414 dependencies = [
415 "bitflags 0.9.1",
416 "libc",
417 "pkg-config",
418 ]
419
420 [[package]]
421 name = "gobject-sys"
422 version = "0.4.0"
423 source = "registry+https://github.com/rust-lang/crates.io-index"
424 checksum = "edc95561e538381576425264a4ddd08c65d5da218f10b2a47b4479dd147775da"
425 dependencies = [
426 "bitflags 0.9.1",
427 "glib-sys",
428 "libc",
429 "pkg-config",
520 "libc",
521 "system-deps",
430522 ]
431523
432524 [[package]]
433525 name = "gtk"
434 version = "0.2.0"
435 source = "registry+https://github.com/rust-lang/crates.io-index"
436 checksum = "ce17f98e7dcdc9d06b3a5f7621d796a24937c04953481205b1be267c5a02697a"
437 dependencies = [
438 "bitflags 0.9.1",
526 version = "0.14.3"
527 source = "registry+https://github.com/rust-lang/crates.io-index"
528 checksum = "2eb51122dd3317e9327ec1e4faa151d1fa0d95664cd8fb8dcfacf4d4d29ac70c"
529 dependencies = [
530 "atk",
531 "bitflags",
439532 "cairo-rs",
440 "cairo-sys-rs",
533 "field-offset",
534 "futures-channel",
441535 "gdk",
442536 "gdk-pixbuf",
443 "gdk-pixbuf-sys",
444 "gdk-sys",
445537 "gio",
446 "gio-sys",
447538 "glib",
448 "glib-sys",
449 "gobject-sys",
450539 "gtk-sys",
451 "libc",
540 "gtk3-macros",
541 "libc",
542 "once_cell",
452543 "pango",
544 "pkg-config",
453545 ]
454546
455547 [[package]]
456548 name = "gtk-sys"
457 version = "0.4.0"
458 source = "registry+https://github.com/rust-lang/crates.io-index"
459 checksum = "854b56ce6d6b05945f7735651482835c5ac1f8582142ce67306726259a3dafb0"
549 version = "0.14.0"
550 source = "registry+https://github.com/rust-lang/crates.io-index"
551 checksum = "8c14c8d3da0545785a7c5a120345b3abb534010fb8ae0f2ef3f47c027fba303e"
460552 dependencies = [
461553 "atk-sys",
462 "bitflags 0.9.1",
463554 "cairo-sys-rs",
464555 "gdk-pixbuf-sys",
465556 "gdk-sys",
468559 "gobject-sys",
469560 "libc",
470561 "pango-sys",
471 "pkg-config",
562 "system-deps",
563 ]
564
565 [[package]]
566 name = "gtk3-macros"
567 version = "0.14.0"
568 source = "registry+https://github.com/rust-lang/crates.io-index"
569 checksum = "21de1da96dc117443fb03c2e270b2d34b7de98d0a79a19bbb689476173745b79"
570 dependencies = [
571 "anyhow",
572 "heck",
573 "proc-macro-crate",
574 "proc-macro-error",
575 "proc-macro2 1.0.32",
576 "quote 1.0.10",
577 "syn 1.0.81",
578 ]
579
580 [[package]]
581 name = "heck"
582 version = "0.3.3"
583 source = "registry+https://github.com/rust-lang/crates.io-index"
584 checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
585 dependencies = [
586 "unicode-segmentation",
472587 ]
473588
474589 [[package]]
508623 ]
509624
510625 [[package]]
626 name = "itertools"
627 version = "0.10.1"
628 source = "registry+https://github.com/rust-lang/crates.io-index"
629 checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf"
630 dependencies = [
631 "either",
632 ]
633
634 [[package]]
511635 name = "itoa"
512636 version = "0.4.8"
513637 source = "registry+https://github.com/rust-lang/crates.io-index"
524648
525649 [[package]]
526650 name = "lazy_static"
527 version = "0.2.11"
528 source = "registry+https://github.com/rust-lang/crates.io-index"
529 checksum = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
530
531 [[package]]
532 name = "lazy_static"
533651 version = "1.4.0"
534652 source = "registry+https://github.com/rust-lang/crates.io-index"
535653 checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
578696 checksum = "aad9dfe950c057b1bfe9c1f2aa51583a8468ef2a5baba2ebbe06d775efeb7729"
579697 dependencies = [
580698 "time",
581 "winapi 0.3.9",
699 "winapi",
582700 ]
583701
584702 [[package]]
650768 dependencies = [
651769 "memchr",
652770 ]
771
772 [[package]]
773 name = "once_cell"
774 version = "1.8.0"
775 source = "registry+https://github.com/rust-lang/crates.io-index"
776 checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56"
653777
654778 [[package]]
655779 name = "palladio"
670794
671795 [[package]]
672796 name = "pango"
673 version = "0.2.0"
674 source = "registry+https://github.com/rust-lang/crates.io-index"
675 checksum = "5afa4b4c5380315b12075e7767d9bdd62d53beeb6087d9287ef6990e57a6b643"
676 dependencies = [
677 "bitflags 0.9.1",
797 version = "0.14.8"
798 source = "registry+https://github.com/rust-lang/crates.io-index"
799 checksum = "546fd59801e5ca735af82839007edd226fe7d3bb06433ec48072be4439c28581"
800 dependencies = [
801 "bitflags",
678802 "glib",
803 "libc",
804 "once_cell",
805 "pango-sys",
806 ]
807
808 [[package]]
809 name = "pango-sys"
810 version = "0.14.0"
811 source = "registry+https://github.com/rust-lang/crates.io-index"
812 checksum = "2367099ca5e761546ba1d501955079f097caa186bb53ce0f718dca99ac1942fe"
813 dependencies = [
679814 "glib-sys",
680815 "gobject-sys",
681816 "libc",
682 "pango-sys",
683 ]
684
685 [[package]]
686 name = "pango-sys"
687 version = "0.4.0"
688 source = "registry+https://github.com/rust-lang/crates.io-index"
689 checksum = "e6ec8d90306b5ff43f5836f4363267ea95be02b3df71d2b31ba8fbb1680bdee1"
690 dependencies = [
691 "bitflags 0.9.1",
692 "glib-sys",
693 "gobject-sys",
694 "libc",
695 "pkg-config",
696 ]
817 "system-deps",
818 ]
819
820 [[package]]
821 name = "pest"
822 version = "2.1.3"
823 source = "registry+https://github.com/rust-lang/crates.io-index"
824 checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"
825 dependencies = [
826 "ucd-trie",
827 ]
828
829 [[package]]
830 name = "pin-project-lite"
831 version = "0.2.7"
832 source = "registry+https://github.com/rust-lang/crates.io-index"
833 checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443"
834
835 [[package]]
836 name = "pin-utils"
837 version = "0.1.0"
838 source = "registry+https://github.com/rust-lang/crates.io-index"
839 checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
697840
698841 [[package]]
699842 name = "pkg-config"
707850 source = "registry+https://github.com/rust-lang/crates.io-index"
708851 checksum = "f54b9600d584d3b8a739e1662a595fab051329eff43f20e7d8cc22872962145b"
709852 dependencies = [
710 "bitflags 1.3.2",
853 "bitflags",
711854 "deflate",
712855 "inflate",
713856 "num-iter",
720863 checksum = "b18befed8bc2b61abc79a457295e7e838417326da1586050b919414073977f19"
721864
722865 [[package]]
866 name = "proc-macro-crate"
867 version = "1.1.0"
868 source = "registry+https://github.com/rust-lang/crates.io-index"
869 checksum = "1ebace6889caf889b4d3f76becee12e90353f2b8c7d875534a71e5742f8f6f83"
870 dependencies = [
871 "thiserror",
872 "toml",
873 ]
874
875 [[package]]
876 name = "proc-macro-error"
877 version = "1.0.4"
878 source = "registry+https://github.com/rust-lang/crates.io-index"
879 checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
880 dependencies = [
881 "proc-macro-error-attr",
882 "proc-macro2 1.0.32",
883 "quote 1.0.10",
884 "syn 1.0.81",
885 "version_check",
886 ]
887
888 [[package]]
889 name = "proc-macro-error-attr"
890 version = "1.0.4"
891 source = "registry+https://github.com/rust-lang/crates.io-index"
892 checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
893 dependencies = [
894 "proc-macro2 1.0.32",
895 "quote 1.0.10",
896 "version_check",
897 ]
898
899 [[package]]
723900 name = "proc-macro2"
724901 version = "0.4.30"
725902 source = "registry+https://github.com/rust-lang/crates.io-index"
765942 "libc",
766943 "rand_core 0.3.1",
767944 "rdrand",
768 "winapi 0.3.9",
945 "winapi",
769946 ]
770947
771948 [[package]]
804981 "crossbeam-channel",
805982 "crossbeam-deque",
806983 "crossbeam-utils",
807 "lazy_static 1.4.0",
984 "lazy_static",
808985 "num_cpus",
809986 ]
810987
8241001 checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
8251002
8261003 [[package]]
1004 name = "rustc_version"
1005 version = "0.3.3"
1006 source = "registry+https://github.com/rust-lang/crates.io-index"
1007 checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee"
1008 dependencies = [
1009 "semver",
1010 ]
1011
1012 [[package]]
8271013 name = "ryu"
8281014 version = "1.0.5"
8291015 source = "registry+https://github.com/rust-lang/crates.io-index"
8401026 version = "1.1.0"
8411027 source = "registry+https://github.com/rust-lang/crates.io-index"
8421028 checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
1029
1030 [[package]]
1031 name = "semver"
1032 version = "0.11.0"
1033 source = "registry+https://github.com/rust-lang/crates.io-index"
1034 checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6"
1035 dependencies = [
1036 "semver-parser",
1037 ]
1038
1039 [[package]]
1040 name = "semver-parser"
1041 version = "0.10.2"
1042 source = "registry+https://github.com/rust-lang/crates.io-index"
1043 checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7"
1044 dependencies = [
1045 "pest",
1046 ]
8431047
8441048 [[package]]
8451049 name = "serde"
8701074 ]
8711075
8721076 [[package]]
1077 name = "slab"
1078 version = "0.4.5"
1079 source = "registry+https://github.com/rust-lang/crates.io-index"
1080 checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5"
1081
1082 [[package]]
1083 name = "smallvec"
1084 version = "1.7.0"
1085 source = "registry+https://github.com/rust-lang/crates.io-index"
1086 checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309"
1087
1088 [[package]]
8731089 name = "strsim"
8741090 version = "0.8.0"
8751091 source = "registry+https://github.com/rust-lang/crates.io-index"
8761092 checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
1093
1094 [[package]]
1095 name = "strum"
1096 version = "0.21.0"
1097 source = "registry+https://github.com/rust-lang/crates.io-index"
1098 checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2"
1099
1100 [[package]]
1101 name = "strum_macros"
1102 version = "0.21.1"
1103 source = "registry+https://github.com/rust-lang/crates.io-index"
1104 checksum = "d06aaeeee809dbc59eb4556183dd927df67db1540de5be8d3ec0b6636358a5ec"
1105 dependencies = [
1106 "heck",
1107 "proc-macro2 1.0.32",
1108 "quote 1.0.10",
1109 "syn 1.0.81",
1110 ]
8771111
8781112 [[package]]
8791113 name = "syn"
9101144 ]
9111145
9121146 [[package]]
1147 name = "system-deps"
1148 version = "3.2.0"
1149 source = "registry+https://github.com/rust-lang/crates.io-index"
1150 checksum = "480c269f870722b3b08d2f13053ce0c2ab722839f472863c3e2d61ff3a1c2fa6"
1151 dependencies = [
1152 "anyhow",
1153 "cfg-expr",
1154 "heck",
1155 "itertools",
1156 "pkg-config",
1157 "strum",
1158 "strum_macros",
1159 "thiserror",
1160 "toml",
1161 "version-compare",
1162 ]
1163
1164 [[package]]
9131165 name = "textwrap"
9141166 version = "0.11.0"
9151167 source = "registry+https://github.com/rust-lang/crates.io-index"
9191171 ]
9201172
9211173 [[package]]
1174 name = "thiserror"
1175 version = "1.0.30"
1176 source = "registry+https://github.com/rust-lang/crates.io-index"
1177 checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417"
1178 dependencies = [
1179 "thiserror-impl",
1180 ]
1181
1182 [[package]]
1183 name = "thiserror-impl"
1184 version = "1.0.30"
1185 source = "registry+https://github.com/rust-lang/crates.io-index"
1186 checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b"
1187 dependencies = [
1188 "proc-macro2 1.0.32",
1189 "quote 1.0.10",
1190 "syn 1.0.81",
1191 ]
1192
1193 [[package]]
9221194 name = "time"
9231195 version = "0.1.44"
9241196 source = "registry+https://github.com/rust-lang/crates.io-index"
9261198 dependencies = [
9271199 "libc",
9281200 "wasi",
929 "winapi 0.3.9",
930 ]
1201 "winapi",
1202 ]
1203
1204 [[package]]
1205 name = "toml"
1206 version = "0.5.8"
1207 source = "registry+https://github.com/rust-lang/crates.io-index"
1208 checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa"
1209 dependencies = [
1210 "serde",
1211 ]
1212
1213 [[package]]
1214 name = "ucd-trie"
1215 version = "0.1.3"
1216 source = "registry+https://github.com/rust-lang/crates.io-index"
1217 checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"
1218
1219 [[package]]
1220 name = "unicode-segmentation"
1221 version = "1.8.0"
1222 source = "registry+https://github.com/rust-lang/crates.io-index"
1223 checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b"
9311224
9321225 [[package]]
9331226 name = "unicode-width"
9541247 checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
9551248
9561249 [[package]]
1250 name = "version-compare"
1251 version = "0.0.11"
1252 source = "registry+https://github.com/rust-lang/crates.io-index"
1253 checksum = "1c18c859eead79d8b95d09e4678566e8d70105c4e7b251f707a03df32442661b"
1254
1255 [[package]]
1256 name = "version_check"
1257 version = "0.9.3"
1258 source = "registry+https://github.com/rust-lang/crates.io-index"
1259 checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
1260
1261 [[package]]
9571262 name = "wasi"
9581263 version = "0.10.0+wasi-snapshot-preview1"
9591264 source = "registry+https://github.com/rust-lang/crates.io-index"
9601265 checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
961
962 [[package]]
963 name = "winapi"
964 version = "0.2.8"
965 source = "registry+https://github.com/rust-lang/crates.io-index"
966 checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
9671266
9681267 [[package]]
9691268 name = "winapi"
1515 path = "src/run.rs"
1616
1717 [dependencies]
18 gtk = { version = "0.2", features = ["v3_22"] }
19 gdk = "0.6"
18 gtk = { version = "0.14", features = ["v3_22"] }
19 gdk = "*"
2020 rand = "0.4.2"
2121 failure = "0.1.1"
2222 serde = "1.0.43"
2424 serde_derive = "1.0.43"
2525 zip = "0.3"
2626 image = "0.19"
27 cairo-rs = "0.2.0"
27 cairo-rs = "*"
2828 clap = "*"
11 use gdk;
2 use gtk::{
3 self,
4 WidgetExt
5 };
2 use gtk::prelude::*;
63 use std::cell::RefCell;
74 use std::rc::Rc;
85
1916 let writer_mouse = mouse_loc.clone();
2017
2118 canvas.connect_draw(move |cv, ctx| {
22 let w = cv.get_allocated_width();
23 let h = cv.get_allocated_height();
19 let w = cv.allocated_width();
20 let h = cv.allocated_height();
2421 ctx.set_source_rgb(1.0, 1.0, 1.0);
2522 ctx.rectangle(0.0, 0.0, w as f64, h as f64);
2623 ctx.fill();
4643 });
4744
4845 canvas.connect_motion_notify_event(move |cv, motion| {
49 let (x, y) = motion.get_position();
46 let (x, y) = motion.position();
5047 *writer_mouse.borrow_mut() = Some((x as i32 / 32, y as i32 / 32));
5148 cv.queue_draw();
5249 gtk::Inhibit(false)
5350 });
5451
55 canvas.add_events(gdk::POINTER_MOTION_MASK.bits() as i32);
52 canvas.add_events(gdk::EventMask::POINTER_MOTION_MASK);
5653
5754 GridCanvas {
5855 canvas,
22 mod picker;
33
44 use gdk;
5 use gtk::{
6 self,
7 BoxExt,
8 EntryExt,
9 ContainerExt,
10 HeaderBarExt,
11 PanedExt,
12 WindowExt,
13 WidgetExt,
14 DialogExt,
15 FileChooserExt,
16 ButtonExt,
17 };
5 use gtk::prelude::*;
6 // use gtk::{
7 // self,
8 // BoxExt,
9 // EntryExt,
10 // ContainerExt,
11 // HeaderBarExt,
12 // PanedExt,
13 // WindowExt,
14 // WidgetExt,
15 // DialogExt,
16 // FileChooserExt,
17 // ButtonExt,
18 // };
1819 use std::process;
1920
2021 use crate::constants;
3940 let header = Header::new();
4041 let canvas = GridCanvas::new();
4142
42 window.add_events(gdk::POINTER_MOTION_MASK.bits() as i32);
43 window.set_titlebar(&header.container);
43 window.add_events(gdk::EventMask::POINTER_MOTION_MASK);
44 window.set_titlebar(Some(&header.container));
4445 window.set_title(constants::PROGRAM_NAME);
4546 window.set_wmclass(
4647 constants::PROGRAM_SLUG,
8889 impl Header {
8990 fn new() -> Header {
9091 let container = gtk::HeaderBar::new();
91 container.set_title(constants::PROGRAM_NAME);
92 container.set_title(Some(constants::PROGRAM_NAME));
9293 container.set_show_close_button(true);
9394
94 let open_btn = gtk::Button::new_with_label(
95 let open_btn = gtk::Button::with_label(
9596 strings::OPEN_BTN
9697 );
97 let save_btn = gtk::Button::new_with_label(
98 let save_btn = gtk::Button::with_label(
9899 strings::SAVE_BTN,
99100 );
100 let save_as_btn = gtk::Button::new_with_label(
101 let save_as_btn = gtk::Button::with_label(
101102 strings::SAVE_AS_BTN,
102103 );
103104
132133 // println!("got {:?}", open_dialog.get_filename());
133134 // }
134135
135 open_dialog.destroy();
136 unsafe { open_dialog.destroy(); }
136137 }
137138
138139 fn do_save(_: &gtk::Button) {
155156 // println!("got {:?}", save_dialog.get_filename());
156157 // }
157158
158 save_dialog.destroy();
159 unsafe { save_dialog.destroy(); }
159160 }
160161 }
161162
175176 let container = gtk::Box::new(gtk::Orientation::Vertical, 5);
176177
177178 let tile_label = gtk::Label::new(
178 strings::TILESET_LABEL,
179 Some(strings::TILESET_LABEL),
179180 );
180181
181182 let tile_width = gtk::Entry::new();
183184 let tile_height = gtk::Entry::new();
184185 tile_height.set_text("16");
185186
186 let load_tileset_btn = gtk::Button::new_with_label(
187 let load_tileset_btn = gtk::Button::with_label(
187188 strings::TILESET_LOAD_BTN,
188189 );
189190
11 use gdk;
2 use gtk::{
3 self,
4 WidgetExt
5 };
2 use gtk::prelude::*;
63 use std::cell::RefCell;
74 use std::rc::Rc;
85
1916 let writer_mouse = mouse_loc.clone();
2017
2118 canvas.connect_draw(move |cv, ctx| {
22 let w = cv.get_allocated_width();
23 let h = cv.get_allocated_height();
19 let w = cv.allocated_width();
20 let h = cv.allocated_height();
2421 ctx.set_source_rgb(1.0, 1.0, 1.0);
2522 ctx.rectangle(0.0, 0.0, w as f64, h as f64);
2623 ctx.fill();
3936 });
4037
4138 canvas.connect_motion_notify_event(move |cv, motion| {
42 let (x, y) = motion.get_position();
39 let (x, y) = motion.position();
4340 *writer_mouse.borrow_mut() =
4441 Some((x as i32 / 32, y as i32 / 32));
4542 cv.queue_draw();
4643 gtk::Inhibit(false)
4744 });
4845
49 canvas.add_events(gdk::POINTER_MOTION_MASK.bits() as i32);
46 canvas.add_events(gdk::EventMask::POINTER_MOTION_MASK);
5047
5148 Picker {
5249 canvas,