An over engineered cargo wrapper :3
0
fork

Configure Feed

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

[Feat] Got dependency management and a readme goin

restedwicked.xyz 3fca02fe c8b57268

verified
+71 -806
+2 -805
Cargo.lock
··· 18 18 checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" 19 19 20 20 [[package]] 21 - name = "aho-corasick" 22 - version = "1.1.3" 23 - source = "registry+https://github.com/rust-lang/crates.io-index" 24 - checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" 25 - dependencies = [ 26 - "memchr", 27 - ] 28 - 29 - [[package]] 30 21 name = "anstream" 31 22 version = "0.6.20" 32 23 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 62 53 source = "registry+https://github.com/rust-lang/crates.io-index" 63 54 checksum = "9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2" 64 55 dependencies = [ 65 - "windows-sys 0.60.2", 56 + "windows-sys", 66 57 ] 67 58 68 59 [[package]] ··· 73 64 dependencies = [ 74 65 "anstyle", 75 66 "once_cell_polyfill", 76 - "windows-sys 0.60.2", 67 + "windows-sys", 77 68 ] 78 69 79 70 [[package]] 80 - name = "anyhow" 81 - version = "1.0.99" 82 - source = "registry+https://github.com/rust-lang/crates.io-index" 83 - checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" 84 - 85 - [[package]] 86 - name = "autocfg" 87 - version = "1.5.0" 88 - source = "registry+https://github.com/rust-lang/crates.io-index" 89 - checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" 90 - 91 - [[package]] 92 71 name = "backtrace" 93 72 version = "0.3.75" 94 73 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 104 83 ] 105 84 106 85 [[package]] 107 - name = "bitflags" 108 - version = "2.9.1" 109 - source = "registry+https://github.com/rust-lang/crates.io-index" 110 - checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" 111 - 112 - [[package]] 113 - name = "bumpalo" 114 - version = "3.19.0" 115 - source = "registry+https://github.com/rust-lang/crates.io-index" 116 - checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" 117 - 118 - [[package]] 119 - name = "bytes" 120 - version = "1.10.1" 121 - source = "registry+https://github.com/rust-lang/crates.io-index" 122 - checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 123 - 124 - [[package]] 125 86 name = "cfg-if" 126 87 version = "1.0.1" 127 88 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 199 160 version = "1.0.4" 200 161 source = "registry+https://github.com/rust-lang/crates.io-index" 201 162 checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" 202 - 203 - [[package]] 204 - name = "colored" 205 - version = "2.2.0" 206 - source = "registry+https://github.com/rust-lang/crates.io-index" 207 - checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" 208 - dependencies = [ 209 - "lazy_static", 210 - "windows-sys 0.59.0", 211 - ] 212 - 213 - [[package]] 214 - name = "deranged" 215 - version = "0.4.0" 216 - source = "registry+https://github.com/rust-lang/crates.io-index" 217 - checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" 218 - dependencies = [ 219 - "powerfmt", 220 - ] 221 - 222 - [[package]] 223 - name = "env_filter" 224 - version = "0.1.3" 225 - source = "registry+https://github.com/rust-lang/crates.io-index" 226 - checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0" 227 - dependencies = [ 228 - "log", 229 - "regex", 230 - ] 231 - 232 - [[package]] 233 - name = "env_logger" 234 - version = "0.11.8" 235 - source = "registry+https://github.com/rust-lang/crates.io-index" 236 - checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" 237 - dependencies = [ 238 - "anstream", 239 - "anstyle", 240 - "env_filter", 241 - "jiff", 242 - "log", 243 - ] 244 - 245 - [[package]] 246 - name = "equivalent" 247 - version = "1.0.2" 248 - source = "registry+https://github.com/rust-lang/crates.io-index" 249 - checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 250 - 251 - [[package]] 252 - name = "errno" 253 - version = "0.3.13" 254 - source = "registry+https://github.com/rust-lang/crates.io-index" 255 - checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" 256 - dependencies = [ 257 - "libc", 258 - "windows-sys 0.60.2", 259 - ] 260 163 261 164 [[package]] 262 165 name = "eyre" ··· 269 172 ] 270 173 271 174 [[package]] 272 - name = "fastrand" 273 - version = "2.3.0" 274 - source = "registry+https://github.com/rust-lang/crates.io-index" 275 - checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" 276 - 277 - [[package]] 278 - name = "frontmatter-gen" 279 - version = "0.0.5" 280 - source = "registry+https://github.com/rust-lang/crates.io-index" 281 - checksum = "73ffa823be6d8f1edb3785ddf46d97558f51ea470874a04eb51c3bf37c7c73f5" 282 - dependencies = [ 283 - "anyhow", 284 - "env_logger", 285 - "log", 286 - "serde", 287 - "serde_json", 288 - "serde_yml", 289 - "simple_logger", 290 - "tempfile", 291 - "thiserror", 292 - "time", 293 - "tokio", 294 - "toml", 295 - "uuid", 296 - "version_check", 297 - ] 298 - 299 - [[package]] 300 - name = "getrandom" 301 - version = "0.3.3" 302 - source = "registry+https://github.com/rust-lang/crates.io-index" 303 - checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" 304 - dependencies = [ 305 - "cfg-if", 306 - "libc", 307 - "r-efi", 308 - "wasi 0.14.2+wasi-0.2.4", 309 - ] 310 - 311 - [[package]] 312 175 name = "gimli" 313 176 version = "0.31.1" 314 177 source = "registry+https://github.com/rust-lang/crates.io-index" 315 178 checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" 316 179 317 180 [[package]] 318 - name = "hashbrown" 319 - version = "0.15.5" 320 - source = "registry+https://github.com/rust-lang/crates.io-index" 321 - checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" 322 - 323 - [[package]] 324 181 name = "heck" 325 182 version = "0.5.0" 326 183 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 333 190 checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5" 334 191 335 192 [[package]] 336 - name = "indexmap" 337 - version = "2.10.0" 338 - source = "registry+https://github.com/rust-lang/crates.io-index" 339 - checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661" 340 - dependencies = [ 341 - "equivalent", 342 - "hashbrown", 343 - ] 344 - 345 - [[package]] 346 - name = "io-uring" 347 - version = "0.7.9" 348 - source = "registry+https://github.com/rust-lang/crates.io-index" 349 - checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4" 350 - dependencies = [ 351 - "bitflags", 352 - "cfg-if", 353 - "libc", 354 - ] 355 - 356 - [[package]] 357 193 name = "is_terminal_polyfill" 358 194 version = "1.70.1" 359 195 source = "registry+https://github.com/rust-lang/crates.io-index" 360 196 checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" 361 197 362 198 [[package]] 363 - name = "itoa" 364 - version = "1.0.15" 365 - source = "registry+https://github.com/rust-lang/crates.io-index" 366 - checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 367 - 368 - [[package]] 369 - name = "jiff" 370 - version = "0.2.15" 371 - source = "registry+https://github.com/rust-lang/crates.io-index" 372 - checksum = "be1f93b8b1eb69c77f24bbb0afdf66f54b632ee39af40ca21c4365a1d7347e49" 373 - dependencies = [ 374 - "jiff-static", 375 - "log", 376 - "portable-atomic", 377 - "portable-atomic-util", 378 - "serde", 379 - ] 380 - 381 - [[package]] 382 - name = "jiff-static" 383 - version = "0.2.15" 384 - source = "registry+https://github.com/rust-lang/crates.io-index" 385 - checksum = "03343451ff899767262ec32146f6d559dd759fdadf42ff0e227c7c48f72594b4" 386 - dependencies = [ 387 - "proc-macro2", 388 - "quote", 389 - "syn", 390 - ] 391 - 392 - [[package]] 393 - name = "js-sys" 394 - version = "0.3.77" 395 - source = "registry+https://github.com/rust-lang/crates.io-index" 396 - checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" 397 - dependencies = [ 398 - "once_cell", 399 - "wasm-bindgen", 400 - ] 401 - 402 - [[package]] 403 199 name = "lazy_static" 404 200 version = "1.5.0" 405 201 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 412 208 checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" 413 209 414 210 [[package]] 415 - name = "libyml" 416 - version = "0.0.5" 417 - source = "registry+https://github.com/rust-lang/crates.io-index" 418 - checksum = "3302702afa434ffa30847a83305f0a69d6abd74293b6554c18ec85c7ef30c980" 419 - dependencies = [ 420 - "anyhow", 421 - "version_check", 422 - ] 423 - 424 - [[package]] 425 - name = "linux-raw-sys" 426 - version = "0.9.4" 427 - source = "registry+https://github.com/rust-lang/crates.io-index" 428 - checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" 429 - 430 - [[package]] 431 - name = "lock_api" 432 - version = "0.4.13" 433 - source = "registry+https://github.com/rust-lang/crates.io-index" 434 - checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765" 435 - dependencies = [ 436 - "autocfg", 437 - "scopeguard", 438 - ] 439 - 440 - [[package]] 441 - name = "log" 442 - version = "0.4.27" 443 - source = "registry+https://github.com/rust-lang/crates.io-index" 444 - checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" 445 - 446 - [[package]] 447 211 name = "memchr" 448 212 version = "2.7.5" 449 213 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 459 223 ] 460 224 461 225 [[package]] 462 - name = "mio" 463 - version = "1.0.4" 464 - source = "registry+https://github.com/rust-lang/crates.io-index" 465 - checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c" 466 - dependencies = [ 467 - "libc", 468 - "wasi 0.11.1+wasi-snapshot-preview1", 469 - "windows-sys 0.59.0", 470 - ] 471 - 472 - [[package]] 473 - name = "num-conv" 474 - version = "0.1.0" 475 - source = "registry+https://github.com/rust-lang/crates.io-index" 476 - checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 477 - 478 - [[package]] 479 - name = "num_threads" 480 - version = "0.1.7" 481 - source = "registry+https://github.com/rust-lang/crates.io-index" 482 - checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" 483 - dependencies = [ 484 - "libc", 485 - ] 486 - 487 - [[package]] 488 226 name = "object" 489 227 version = "0.36.7" 490 228 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 512 250 checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e" 513 251 514 252 [[package]] 515 - name = "parking_lot" 516 - version = "0.12.4" 517 - source = "registry+https://github.com/rust-lang/crates.io-index" 518 - checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13" 519 - dependencies = [ 520 - "lock_api", 521 - "parking_lot_core", 522 - ] 523 - 524 - [[package]] 525 - name = "parking_lot_core" 526 - version = "0.9.11" 527 - source = "registry+https://github.com/rust-lang/crates.io-index" 528 - checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5" 529 - dependencies = [ 530 - "cfg-if", 531 - "libc", 532 - "redox_syscall", 533 - "smallvec", 534 - "windows-targets 0.52.6", 535 - ] 536 - 537 - [[package]] 538 253 name = "pin-project-lite" 539 254 version = "0.2.16" 540 255 source = "registry+https://github.com/rust-lang/crates.io-index" 541 256 checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" 542 257 543 258 [[package]] 544 - name = "portable-atomic" 545 - version = "1.11.1" 546 - source = "registry+https://github.com/rust-lang/crates.io-index" 547 - checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" 548 - 549 - [[package]] 550 - name = "portable-atomic-util" 551 - version = "0.2.4" 552 - source = "registry+https://github.com/rust-lang/crates.io-index" 553 - checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" 554 - dependencies = [ 555 - "portable-atomic", 556 - ] 557 - 558 - [[package]] 559 - name = "powerfmt" 560 - version = "0.2.0" 561 - source = "registry+https://github.com/rust-lang/crates.io-index" 562 - checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 563 - 564 - [[package]] 565 259 name = "proc-macro2" 566 260 version = "1.0.97" 567 261 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 578 272 dependencies = [ 579 273 "proc-macro2", 580 274 ] 581 - 582 - [[package]] 583 - name = "r-efi" 584 - version = "5.3.0" 585 - source = "registry+https://github.com/rust-lang/crates.io-index" 586 - checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" 587 - 588 - [[package]] 589 - name = "redox_syscall" 590 - version = "0.5.17" 591 - source = "registry+https://github.com/rust-lang/crates.io-index" 592 - checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" 593 - dependencies = [ 594 - "bitflags", 595 - ] 596 - 597 - [[package]] 598 - name = "regex" 599 - version = "1.11.1" 600 - source = "registry+https://github.com/rust-lang/crates.io-index" 601 - checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" 602 - dependencies = [ 603 - "aho-corasick", 604 - "memchr", 605 - "regex-automata", 606 - "regex-syntax", 607 - ] 608 - 609 - [[package]] 610 - name = "regex-automata" 611 - version = "0.4.9" 612 - source = "registry+https://github.com/rust-lang/crates.io-index" 613 - checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" 614 - dependencies = [ 615 - "aho-corasick", 616 - "memchr", 617 - "regex-syntax", 618 - ] 619 - 620 - [[package]] 621 - name = "regex-syntax" 622 - version = "0.8.5" 623 - source = "registry+https://github.com/rust-lang/crates.io-index" 624 - checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" 625 275 626 276 [[package]] 627 277 name = "rustc-demangle" ··· 630 280 checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" 631 281 632 282 [[package]] 633 - name = "rustix" 634 - version = "1.0.8" 635 - source = "registry+https://github.com/rust-lang/crates.io-index" 636 - checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8" 637 - dependencies = [ 638 - "bitflags", 639 - "errno", 640 - "libc", 641 - "linux-raw-sys", 642 - "windows-sys 0.60.2", 643 - ] 644 - 645 - [[package]] 646 - name = "rustversion" 647 - version = "1.0.22" 648 - source = "registry+https://github.com/rust-lang/crates.io-index" 649 - checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" 650 - 651 - [[package]] 652 - name = "ryu" 653 - version = "1.0.20" 654 - source = "registry+https://github.com/rust-lang/crates.io-index" 655 - checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 656 - 657 - [[package]] 658 - name = "scopeguard" 659 - version = "1.2.0" 660 - source = "registry+https://github.com/rust-lang/crates.io-index" 661 - checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 662 - 663 - [[package]] 664 283 name = "script-rs" 665 284 version = "0.1.0" 666 285 dependencies = [ 667 286 "clap", 668 287 "color-eyre", 669 - "frontmatter-gen", 670 - ] 671 - 672 - [[package]] 673 - name = "serde" 674 - version = "1.0.219" 675 - source = "registry+https://github.com/rust-lang/crates.io-index" 676 - checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" 677 - dependencies = [ 678 - "serde_derive", 679 - ] 680 - 681 - [[package]] 682 - name = "serde_derive" 683 - version = "1.0.219" 684 - source = "registry+https://github.com/rust-lang/crates.io-index" 685 - checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" 686 - dependencies = [ 687 - "proc-macro2", 688 - "quote", 689 - "syn", 690 - ] 691 - 692 - [[package]] 693 - name = "serde_json" 694 - version = "1.0.142" 695 - source = "registry+https://github.com/rust-lang/crates.io-index" 696 - checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7" 697 - dependencies = [ 698 - "itoa", 699 - "memchr", 700 - "ryu", 701 - "serde", 702 - ] 703 - 704 - [[package]] 705 - name = "serde_spanned" 706 - version = "0.6.9" 707 - source = "registry+https://github.com/rust-lang/crates.io-index" 708 - checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" 709 - dependencies = [ 710 - "serde", 711 - ] 712 - 713 - [[package]] 714 - name = "serde_yml" 715 - version = "0.0.12" 716 - source = "registry+https://github.com/rust-lang/crates.io-index" 717 - checksum = "59e2dd588bf1597a252c3b920e0143eb99b0f76e4e082f4c92ce34fbc9e71ddd" 718 - dependencies = [ 719 - "indexmap", 720 - "itoa", 721 - "libyml", 722 - "memchr", 723 - "ryu", 724 - "serde", 725 - "version_check", 726 288 ] 727 289 728 290 [[package]] ··· 735 297 ] 736 298 737 299 [[package]] 738 - name = "signal-hook-registry" 739 - version = "1.4.6" 740 - source = "registry+https://github.com/rust-lang/crates.io-index" 741 - checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" 742 - dependencies = [ 743 - "libc", 744 - ] 745 - 746 - [[package]] 747 - name = "simple_logger" 748 - version = "5.0.0" 749 - source = "registry+https://github.com/rust-lang/crates.io-index" 750 - checksum = "e8c5dfa5e08767553704aa0ffd9d9794d527103c736aba9854773851fd7497eb" 751 - dependencies = [ 752 - "colored", 753 - "log", 754 - "time", 755 - "windows-sys 0.48.0", 756 - ] 757 - 758 - [[package]] 759 - name = "slab" 760 - version = "0.4.11" 761 - source = "registry+https://github.com/rust-lang/crates.io-index" 762 - checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" 763 - 764 - [[package]] 765 - name = "smallvec" 766 - version = "1.15.1" 767 - source = "registry+https://github.com/rust-lang/crates.io-index" 768 - checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" 769 - 770 - [[package]] 771 - name = "socket2" 772 - version = "0.6.0" 773 - source = "registry+https://github.com/rust-lang/crates.io-index" 774 - checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" 775 - dependencies = [ 776 - "libc", 777 - "windows-sys 0.59.0", 778 - ] 779 - 780 - [[package]] 781 300 name = "strsim" 782 301 version = "0.11.1" 783 302 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 795 314 ] 796 315 797 316 [[package]] 798 - name = "tempfile" 799 - version = "3.20.0" 800 - source = "registry+https://github.com/rust-lang/crates.io-index" 801 - checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1" 802 - dependencies = [ 803 - "fastrand", 804 - "getrandom", 805 - "once_cell", 806 - "rustix", 807 - "windows-sys 0.59.0", 808 - ] 809 - 810 - [[package]] 811 - name = "thiserror" 812 - version = "2.0.14" 813 - source = "registry+https://github.com/rust-lang/crates.io-index" 814 - checksum = "0b0949c3a6c842cbde3f1686d6eea5a010516deb7085f79db747562d4102f41e" 815 - dependencies = [ 816 - "thiserror-impl", 817 - ] 818 - 819 - [[package]] 820 - name = "thiserror-impl" 821 - version = "2.0.14" 822 - source = "registry+https://github.com/rust-lang/crates.io-index" 823 - checksum = "cc5b44b4ab9c2fdd0e0512e6bece8388e214c0749f5862b114cc5b7a25daf227" 824 - dependencies = [ 825 - "proc-macro2", 826 - "quote", 827 - "syn", 828 - ] 829 - 830 - [[package]] 831 317 name = "thread_local" 832 318 version = "1.1.9" 833 319 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 837 323 ] 838 324 839 325 [[package]] 840 - name = "time" 841 - version = "0.3.41" 842 - source = "registry+https://github.com/rust-lang/crates.io-index" 843 - checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" 844 - dependencies = [ 845 - "deranged", 846 - "itoa", 847 - "libc", 848 - "num-conv", 849 - "num_threads", 850 - "powerfmt", 851 - "serde", 852 - "time-core", 853 - "time-macros", 854 - ] 855 - 856 - [[package]] 857 - name = "time-core" 858 - version = "0.1.4" 859 - source = "registry+https://github.com/rust-lang/crates.io-index" 860 - checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" 861 - 862 - [[package]] 863 - name = "time-macros" 864 - version = "0.2.22" 865 - source = "registry+https://github.com/rust-lang/crates.io-index" 866 - checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" 867 - dependencies = [ 868 - "num-conv", 869 - "time-core", 870 - ] 871 - 872 - [[package]] 873 - name = "tokio" 874 - version = "1.47.1" 875 - source = "registry+https://github.com/rust-lang/crates.io-index" 876 - checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" 877 - dependencies = [ 878 - "backtrace", 879 - "bytes", 880 - "io-uring", 881 - "libc", 882 - "mio", 883 - "parking_lot", 884 - "pin-project-lite", 885 - "signal-hook-registry", 886 - "slab", 887 - "socket2", 888 - "tokio-macros", 889 - "windows-sys 0.59.0", 890 - ] 891 - 892 - [[package]] 893 - name = "tokio-macros" 894 - version = "2.5.0" 895 - source = "registry+https://github.com/rust-lang/crates.io-index" 896 - checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" 897 - dependencies = [ 898 - "proc-macro2", 899 - "quote", 900 - "syn", 901 - ] 902 - 903 - [[package]] 904 - name = "toml" 905 - version = "0.8.23" 906 - source = "registry+https://github.com/rust-lang/crates.io-index" 907 - checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" 908 - dependencies = [ 909 - "serde", 910 - "serde_spanned", 911 - "toml_datetime", 912 - "toml_edit", 913 - ] 914 - 915 - [[package]] 916 - name = "toml_datetime" 917 - version = "0.6.11" 918 - source = "registry+https://github.com/rust-lang/crates.io-index" 919 - checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c" 920 - dependencies = [ 921 - "serde", 922 - ] 923 - 924 - [[package]] 925 - name = "toml_edit" 926 - version = "0.22.27" 927 - source = "registry+https://github.com/rust-lang/crates.io-index" 928 - checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" 929 - dependencies = [ 930 - "indexmap", 931 - "serde", 932 - "serde_spanned", 933 - "toml_datetime", 934 - "toml_write", 935 - "winnow", 936 - ] 937 - 938 - [[package]] 939 - name = "toml_write" 940 - version = "0.1.2" 941 - source = "registry+https://github.com/rust-lang/crates.io-index" 942 - checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" 943 - 944 - [[package]] 945 326 name = "tracing" 946 327 version = "0.1.41" 947 328 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 995 376 checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" 996 377 997 378 [[package]] 998 - name = "uuid" 999 - version = "1.18.0" 1000 - source = "registry+https://github.com/rust-lang/crates.io-index" 1001 - checksum = "f33196643e165781c20a5ead5582283a7dacbb87855d867fbc2df3f81eddc1be" 1002 - dependencies = [ 1003 - "getrandom", 1004 - "js-sys", 1005 - "serde", 1006 - "wasm-bindgen", 1007 - ] 1008 - 1009 - [[package]] 1010 379 name = "valuable" 1011 380 version = "0.1.1" 1012 381 source = "registry+https://github.com/rust-lang/crates.io-index" 1013 382 checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" 1014 383 1015 384 [[package]] 1016 - name = "version_check" 1017 - version = "0.9.5" 1018 - source = "registry+https://github.com/rust-lang/crates.io-index" 1019 - checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 1020 - 1021 - [[package]] 1022 - name = "wasi" 1023 - version = "0.11.1+wasi-snapshot-preview1" 1024 - source = "registry+https://github.com/rust-lang/crates.io-index" 1025 - checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" 1026 - 1027 - [[package]] 1028 - name = "wasi" 1029 - version = "0.14.2+wasi-0.2.4" 1030 - source = "registry+https://github.com/rust-lang/crates.io-index" 1031 - checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" 1032 - dependencies = [ 1033 - "wit-bindgen-rt", 1034 - ] 1035 - 1036 - [[package]] 1037 - name = "wasm-bindgen" 1038 - version = "0.2.100" 1039 - source = "registry+https://github.com/rust-lang/crates.io-index" 1040 - checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" 1041 - dependencies = [ 1042 - "cfg-if", 1043 - "once_cell", 1044 - "rustversion", 1045 - "wasm-bindgen-macro", 1046 - ] 1047 - 1048 - [[package]] 1049 - name = "wasm-bindgen-backend" 1050 - version = "0.2.100" 1051 - source = "registry+https://github.com/rust-lang/crates.io-index" 1052 - checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" 1053 - dependencies = [ 1054 - "bumpalo", 1055 - "log", 1056 - "proc-macro2", 1057 - "quote", 1058 - "syn", 1059 - "wasm-bindgen-shared", 1060 - ] 1061 - 1062 - [[package]] 1063 - name = "wasm-bindgen-macro" 1064 - version = "0.2.100" 1065 - source = "registry+https://github.com/rust-lang/crates.io-index" 1066 - checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" 1067 - dependencies = [ 1068 - "quote", 1069 - "wasm-bindgen-macro-support", 1070 - ] 1071 - 1072 - [[package]] 1073 - name = "wasm-bindgen-macro-support" 1074 - version = "0.2.100" 1075 - source = "registry+https://github.com/rust-lang/crates.io-index" 1076 - checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" 1077 - dependencies = [ 1078 - "proc-macro2", 1079 - "quote", 1080 - "syn", 1081 - "wasm-bindgen-backend", 1082 - "wasm-bindgen-shared", 1083 - ] 1084 - 1085 - [[package]] 1086 - name = "wasm-bindgen-shared" 1087 - version = "0.2.100" 1088 - source = "registry+https://github.com/rust-lang/crates.io-index" 1089 - checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" 1090 - dependencies = [ 1091 - "unicode-ident", 1092 - ] 1093 - 1094 - [[package]] 1095 385 name = "windows-link" 1096 386 version = "0.1.3" 1097 387 source = "registry+https://github.com/rust-lang/crates.io-index" 1098 388 checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" 1099 - 1100 - [[package]] 1101 - name = "windows-sys" 1102 - version = "0.48.0" 1103 - source = "registry+https://github.com/rust-lang/crates.io-index" 1104 - checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 1105 - dependencies = [ 1106 - "windows-targets 0.48.5", 1107 - ] 1108 - 1109 - [[package]] 1110 - name = "windows-sys" 1111 - version = "0.59.0" 1112 - source = "registry+https://github.com/rust-lang/crates.io-index" 1113 - checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 1114 - dependencies = [ 1115 - "windows-targets 0.52.6", 1116 - ] 1117 389 1118 390 [[package]] 1119 391 name = "windows-sys" ··· 1126 398 1127 399 [[package]] 1128 400 name = "windows-targets" 1129 - version = "0.48.5" 1130 - source = "registry+https://github.com/rust-lang/crates.io-index" 1131 - checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 1132 - dependencies = [ 1133 - "windows_aarch64_gnullvm 0.48.5", 1134 - "windows_aarch64_msvc 0.48.5", 1135 - "windows_i686_gnu 0.48.5", 1136 - "windows_i686_msvc 0.48.5", 1137 - "windows_x86_64_gnu 0.48.5", 1138 - "windows_x86_64_gnullvm 0.48.5", 1139 - "windows_x86_64_msvc 0.48.5", 1140 - ] 1141 - 1142 - [[package]] 1143 - name = "windows-targets" 1144 401 version = "0.52.6" 1145 402 source = "registry+https://github.com/rust-lang/crates.io-index" 1146 403 checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" ··· 1174 431 1175 432 [[package]] 1176 433 name = "windows_aarch64_gnullvm" 1177 - version = "0.48.5" 1178 - source = "registry+https://github.com/rust-lang/crates.io-index" 1179 - checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 1180 - 1181 - [[package]] 1182 - name = "windows_aarch64_gnullvm" 1183 434 version = "0.52.6" 1184 435 source = "registry+https://github.com/rust-lang/crates.io-index" 1185 436 checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" ··· 1192 443 1193 444 [[package]] 1194 445 name = "windows_aarch64_msvc" 1195 - version = "0.48.5" 1196 - source = "registry+https://github.com/rust-lang/crates.io-index" 1197 - checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 1198 - 1199 - [[package]] 1200 - name = "windows_aarch64_msvc" 1201 446 version = "0.52.6" 1202 447 source = "registry+https://github.com/rust-lang/crates.io-index" 1203 448 checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" ··· 1207 452 version = "0.53.0" 1208 453 source = "registry+https://github.com/rust-lang/crates.io-index" 1209 454 checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" 1210 - 1211 - [[package]] 1212 - name = "windows_i686_gnu" 1213 - version = "0.48.5" 1214 - source = "registry+https://github.com/rust-lang/crates.io-index" 1215 - checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 1216 455 1217 456 [[package]] 1218 457 name = "windows_i686_gnu" ··· 1240 479 1241 480 [[package]] 1242 481 name = "windows_i686_msvc" 1243 - version = "0.48.5" 1244 - source = "registry+https://github.com/rust-lang/crates.io-index" 1245 - checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 1246 - 1247 - [[package]] 1248 - name = "windows_i686_msvc" 1249 482 version = "0.52.6" 1250 483 source = "registry+https://github.com/rust-lang/crates.io-index" 1251 484 checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" ··· 1258 491 1259 492 [[package]] 1260 493 name = "windows_x86_64_gnu" 1261 - version = "0.48.5" 1262 - source = "registry+https://github.com/rust-lang/crates.io-index" 1263 - checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 1264 - 1265 - [[package]] 1266 - name = "windows_x86_64_gnu" 1267 494 version = "0.52.6" 1268 495 source = "registry+https://github.com/rust-lang/crates.io-index" 1269 496 checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" ··· 1276 503 1277 504 [[package]] 1278 505 name = "windows_x86_64_gnullvm" 1279 - version = "0.48.5" 1280 - source = "registry+https://github.com/rust-lang/crates.io-index" 1281 - checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 1282 - 1283 - [[package]] 1284 - name = "windows_x86_64_gnullvm" 1285 506 version = "0.52.6" 1286 507 source = "registry+https://github.com/rust-lang/crates.io-index" 1287 508 checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" ··· 1291 512 version = "0.53.0" 1292 513 source = "registry+https://github.com/rust-lang/crates.io-index" 1293 514 checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" 1294 - 1295 - [[package]] 1296 - name = "windows_x86_64_msvc" 1297 - version = "0.48.5" 1298 - source = "registry+https://github.com/rust-lang/crates.io-index" 1299 - checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 1300 515 1301 516 [[package]] 1302 517 name = "windows_x86_64_msvc" ··· 1309 524 version = "0.53.0" 1310 525 source = "registry+https://github.com/rust-lang/crates.io-index" 1311 526 checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" 1312 - 1313 - [[package]] 1314 - name = "winnow" 1315 - version = "0.7.12" 1316 - source = "registry+https://github.com/rust-lang/crates.io-index" 1317 - checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95" 1318 - dependencies = [ 1319 - "memchr", 1320 - ] 1321 - 1322 - [[package]] 1323 - name = "wit-bindgen-rt" 1324 - version = "0.39.0" 1325 - source = "registry+https://github.com/rust-lang/crates.io-index" 1326 - checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" 1327 - dependencies = [ 1328 - "bitflags", 1329 - ]
-1
Cargo.toml
··· 6 6 [dependencies] 7 7 clap = { version = "4.5.45", features = ["derive"] } 8 8 color-eyre = "0.6.5" 9 - frontmatter-gen = "0.0.5"
+39
README.md
··· 1 + # script-rs 2 + The utility to run rust files as a script! 3 + Currently only works on Linux and maybe MacOS. 4 + 5 + ## Installation 6 + You can simply install this tool with this command! 7 + ```sh 8 + cargo install --git https://tangled.sh/@restedwicked.xyz/script-rs 9 + ``` 10 + 11 + ## Usage 12 + ### Initialization 13 + You can create a template file by running 14 + ```sh 15 + script-rs init <FILE> 16 + ``` 17 + The script-rs template file is setup to remove the annoying edition warning, and 18 + so you can run the file standalone if you make it an executable. 19 + ### Running 20 + You can run a script with 21 + ```sh 22 + script-rs run <FILE> 23 + ``` 24 + ### Dependencies 25 + You can manage dependencies with the following commands. 26 + ```sh 27 + script-rs add <FILE> [CARGO_ARGS] 28 + script-rs remove <FILE> [CARGO_ARGS] 29 + ``` 30 + You can simply use the same arguments you would use in a normal crate. 31 + 32 + #### Examples 33 + ```sh 34 + # Adding clap 35 + script-rs add clap.rs clap --features derive 36 + 37 + # removing clap 38 + script-rs remove clap.rs clap 39 + ```
+30
src/main.rs
··· 16 16 Run { file: Box<str> }, 17 17 /// Initialize file to run as a script 18 18 Init { file: Box<str> }, 19 + /// Add dependency to script file 20 + Add { 21 + file: Box<str>, 22 + 23 + #[arg(allow_hyphen_values = true)] 24 + cargo_args: Vec<String>, 25 + }, 26 + /// Remove dependency to script file 27 + Remove { 28 + file: Box<str>, 29 + 30 + #[arg(allow_hyphen_values = true)] 31 + cargo_args: Vec<String>, 32 + }, 19 33 } 20 34 21 35 fn main() -> color_eyre::Result<()> { ··· 32 46 let template = include_str!("../scripts/hello.rs"); 33 47 let mut file = File::create(file.as_ref())?; 34 48 file.write_all(template.as_bytes())?; 49 + } 50 + SubCommands::Add { file, cargo_args } => { 51 + Command::new("cargo") 52 + .args(["+nightly", "add"]) 53 + .args(&cargo_args) 54 + .args(["-Zscript", "--manifest-path", &file]) 55 + .status() 56 + .expect("Fucky wucky when adding dependency"); 57 + } 58 + SubCommands::Remove { file, cargo_args } => { 59 + Command::new("cargo") 60 + .args(["+nightly", "remove"]) 61 + .args(&cargo_args) 62 + .args(["-Zscript", "--manifest-path", &file]) 63 + .status() 64 + .expect("Fucky wucky when adding dependency"); 35 65 } 36 66 } 37 67