cargo-insta: 0.16.0 -> 1.7.1 (#122321)

authored by

Stéphan Kochen and committed by
GitHub
f3dd40e9 a157a78d

+6 -799
-780
pkgs/development/tools/rust/cargo-insta/cargo-lock.patch
··· 1 - --- a/Cargo.lock 2 - +++ b/Cargo.lock 3 - @@ -0,0 +1,777 @@ 4 - +# This file is automatically @generated by Cargo. 5 - +# It is not intended for manual editing. 6 - +[[package]] 7 - +name = "addr2line" 8 - +version = "0.12.1" 9 - +source = "registry+https://github.com/rust-lang/crates.io-index" 10 - +checksum = "a49806b9dadc843c61e7c97e72490ad7f7220ae249012fbda9ad0609457c0543" 11 - +dependencies = [ 12 - + "gimli", 13 - +] 14 - + 15 - +[[package]] 16 - +name = "adler32" 17 - +version = "1.1.0" 18 - +source = "registry+https://github.com/rust-lang/crates.io-index" 19 - +checksum = "567b077b825e468cc974f0020d4082ee6e03132512f207ef1a02fd5d00d1f32d" 20 - + 21 - +[[package]] 22 - +name = "aho-corasick" 23 - +version = "0.7.10" 24 - +source = "registry+https://github.com/rust-lang/crates.io-index" 25 - +checksum = "8716408b8bc624ed7f65d223ddb9ac2d044c0547b6fa4b0d554f3a9540496ada" 26 - +dependencies = [ 27 - + "memchr", 28 - +] 29 - + 30 - +[[package]] 31 - +name = "ansi_term" 32 - +version = "0.11.0" 33 - +source = "registry+https://github.com/rust-lang/crates.io-index" 34 - +checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" 35 - +dependencies = [ 36 - + "winapi", 37 - +] 38 - + 39 - +[[package]] 40 - +name = "atty" 41 - +version = "0.2.14" 42 - +source = "registry+https://github.com/rust-lang/crates.io-index" 43 - +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 44 - +dependencies = [ 45 - + "hermit-abi", 46 - + "libc", 47 - + "winapi", 48 - +] 49 - + 50 - +[[package]] 51 - +name = "autocfg" 52 - +version = "1.0.0" 53 - +source = "registry+https://github.com/rust-lang/crates.io-index" 54 - +checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" 55 - + 56 - +[[package]] 57 - +name = "backtrace" 58 - +version = "0.3.49" 59 - +source = "registry+https://github.com/rust-lang/crates.io-index" 60 - +checksum = "05100821de9e028f12ae3d189176b41ee198341eb8f369956407fea2f5cc666c" 61 - +dependencies = [ 62 - + "addr2line", 63 - + "cfg-if", 64 - + "libc", 65 - + "miniz_oxide", 66 - + "object", 67 - + "rustc-demangle", 68 - +] 69 - + 70 - +[[package]] 71 - +name = "base64" 72 - +version = "0.10.1" 73 - +source = "registry+https://github.com/rust-lang/crates.io-index" 74 - +checksum = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e" 75 - +dependencies = [ 76 - + "byteorder", 77 - +] 78 - + 79 - +[[package]] 80 - +name = "bitflags" 81 - +version = "1.2.1" 82 - +source = "registry+https://github.com/rust-lang/crates.io-index" 83 - +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" 84 - + 85 - +[[package]] 86 - +name = "block-buffer" 87 - +version = "0.7.3" 88 - +source = "registry+https://github.com/rust-lang/crates.io-index" 89 - +checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" 90 - +dependencies = [ 91 - + "block-padding", 92 - + "byte-tools", 93 - + "byteorder", 94 - + "generic-array", 95 - +] 96 - + 97 - +[[package]] 98 - +name = "block-padding" 99 - +version = "0.1.5" 100 - +source = "registry+https://github.com/rust-lang/crates.io-index" 101 - +checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" 102 - +dependencies = [ 103 - + "byte-tools", 104 - +] 105 - + 106 - +[[package]] 107 - +name = "bstr" 108 - +version = "0.2.13" 109 - +source = "registry+https://github.com/rust-lang/crates.io-index" 110 - +checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931" 111 - +dependencies = [ 112 - + "memchr", 113 - +] 114 - + 115 - +[[package]] 116 - +name = "byte-tools" 117 - +version = "0.3.1" 118 - +source = "registry+https://github.com/rust-lang/crates.io-index" 119 - +checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" 120 - + 121 - +[[package]] 122 - +name = "byteorder" 123 - +version = "1.3.4" 124 - +source = "registry+https://github.com/rust-lang/crates.io-index" 125 - +checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" 126 - + 127 - +[[package]] 128 - +name = "cargo-insta" 129 - +version = "0.16.0" 130 - +dependencies = [ 131 - + "clap", 132 - + "console", 133 - + "difference", 134 - + "glob", 135 - + "insta", 136 - + "proc-macro2", 137 - + "serde", 138 - + "serde_json", 139 - + "structopt", 140 - + "syn", 141 - + "walkdir", 142 - +] 143 - + 144 - +[[package]] 145 - +name = "cfg-if" 146 - +version = "0.1.10" 147 - +source = "registry+https://github.com/rust-lang/crates.io-index" 148 - +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" 149 - + 150 - +[[package]] 151 - +name = "clap" 152 - +version = "2.33.1" 153 - +source = "registry+https://github.com/rust-lang/crates.io-index" 154 - +checksum = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129" 155 - +dependencies = [ 156 - + "ansi_term", 157 - + "atty", 158 - + "bitflags", 159 - + "strsim", 160 - + "textwrap", 161 - + "unicode-width", 162 - + "vec_map", 163 - +] 164 - + 165 - +[[package]] 166 - +name = "clicolors-control" 167 - +version = "1.0.1" 168 - +source = "registry+https://github.com/rust-lang/crates.io-index" 169 - +checksum = "90082ee5dcdd64dc4e9e0d37fbf3ee325419e39c0092191e0393df65518f741e" 170 - +dependencies = [ 171 - + "atty", 172 - + "lazy_static", 173 - + "libc", 174 - + "winapi", 175 - +] 176 - + 177 - +[[package]] 178 - +name = "console" 179 - +version = "0.10.3" 180 - +source = "registry+https://github.com/rust-lang/crates.io-index" 181 - +checksum = "2586208b33573b7f76ccfbe5adb076394c88deaf81b84d7213969805b0a952a7" 182 - +dependencies = [ 183 - + "clicolors-control", 184 - + "encode_unicode", 185 - + "lazy_static", 186 - + "libc", 187 - + "regex", 188 - + "terminal_size", 189 - + "termios", 190 - + "unicode-width", 191 - + "winapi", 192 - +] 193 - + 194 - +[[package]] 195 - +name = "crossbeam-utils" 196 - +version = "0.7.2" 197 - +source = "registry+https://github.com/rust-lang/crates.io-index" 198 - +checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" 199 - +dependencies = [ 200 - + "autocfg", 201 - + "cfg-if", 202 - + "lazy_static", 203 - +] 204 - + 205 - +[[package]] 206 - +name = "difference" 207 - +version = "2.0.0" 208 - +source = "registry+https://github.com/rust-lang/crates.io-index" 209 - +checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" 210 - + 211 - +[[package]] 212 - +name = "digest" 213 - +version = "0.8.1" 214 - +source = "registry+https://github.com/rust-lang/crates.io-index" 215 - +checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" 216 - +dependencies = [ 217 - + "generic-array", 218 - +] 219 - + 220 - +[[package]] 221 - +name = "dtoa" 222 - +version = "0.4.6" 223 - +source = "registry+https://github.com/rust-lang/crates.io-index" 224 - +checksum = "134951f4028bdadb9b84baf4232681efbf277da25144b9b0ad65df75946c422b" 225 - + 226 - +[[package]] 227 - +name = "encode_unicode" 228 - +version = "0.3.6" 229 - +source = "registry+https://github.com/rust-lang/crates.io-index" 230 - +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" 231 - + 232 - +[[package]] 233 - +name = "fake-simd" 234 - +version = "0.1.2" 235 - +source = "registry+https://github.com/rust-lang/crates.io-index" 236 - +checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" 237 - + 238 - +[[package]] 239 - +name = "fnv" 240 - +version = "1.0.7" 241 - +source = "registry+https://github.com/rust-lang/crates.io-index" 242 - +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 243 - + 244 - +[[package]] 245 - +name = "generic-array" 246 - +version = "0.12.3" 247 - +source = "registry+https://github.com/rust-lang/crates.io-index" 248 - +checksum = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec" 249 - +dependencies = [ 250 - + "typenum", 251 - +] 252 - + 253 - +[[package]] 254 - +name = "gimli" 255 - +version = "0.21.0" 256 - +source = "registry+https://github.com/rust-lang/crates.io-index" 257 - +checksum = "bcc8e0c9bce37868955864dbecd2b1ab2bdf967e6f28066d65aaac620444b65c" 258 - + 259 - +[[package]] 260 - +name = "glob" 261 - +version = "0.3.0" 262 - +source = "registry+https://github.com/rust-lang/crates.io-index" 263 - +checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" 264 - + 265 - +[[package]] 266 - +name = "globset" 267 - +version = "0.4.5" 268 - +source = "registry+https://github.com/rust-lang/crates.io-index" 269 - +checksum = "7ad1da430bd7281dde2576f44c84cc3f0f7b475e7202cd503042dff01a8c8120" 270 - +dependencies = [ 271 - + "aho-corasick", 272 - + "bstr", 273 - + "fnv", 274 - + "log", 275 - + "regex", 276 - +] 277 - + 278 - +[[package]] 279 - +name = "globwalk" 280 - +version = "0.8.0" 281 - +source = "registry+https://github.com/rust-lang/crates.io-index" 282 - +checksum = "178270263374052c40502e9f607134947de75302c1348d1a0e31db67c1691446" 283 - +dependencies = [ 284 - + "bitflags", 285 - + "ignore", 286 - + "walkdir", 287 - +] 288 - + 289 - +[[package]] 290 - +name = "heck" 291 - +version = "0.3.1" 292 - +source = "registry+https://github.com/rust-lang/crates.io-index" 293 - +checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" 294 - +dependencies = [ 295 - + "unicode-segmentation", 296 - +] 297 - + 298 - +[[package]] 299 - +name = "hermit-abi" 300 - +version = "0.1.14" 301 - +source = "registry+https://github.com/rust-lang/crates.io-index" 302 - +checksum = "b9586eedd4ce6b3c498bc3b4dd92fc9f11166aa908a914071953768066c67909" 303 - +dependencies = [ 304 - + "libc", 305 - +] 306 - + 307 - +[[package]] 308 - +name = "ignore" 309 - +version = "0.4.16" 310 - +source = "registry+https://github.com/rust-lang/crates.io-index" 311 - +checksum = "22dcbf2a4a289528dbef21686354904e1c694ac642610a9bff9e7df730d9ec72" 312 - +dependencies = [ 313 - + "crossbeam-utils", 314 - + "globset", 315 - + "lazy_static", 316 - + "log", 317 - + "memchr", 318 - + "regex", 319 - + "same-file", 320 - + "thread_local", 321 - + "walkdir", 322 - + "winapi-util", 323 - +] 324 - + 325 - +[[package]] 326 - +name = "insta" 327 - +version = "0.16.0" 328 - +dependencies = [ 329 - + "backtrace", 330 - + "console", 331 - + "difference", 332 - + "globwalk", 333 - + "lazy_static", 334 - + "pest", 335 - + "pest_derive", 336 - + "ron", 337 - + "serde", 338 - + "serde_json", 339 - + "serde_yaml", 340 - +] 341 - + 342 - +[[package]] 343 - +name = "itoa" 344 - +version = "0.4.6" 345 - +source = "registry+https://github.com/rust-lang/crates.io-index" 346 - +checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" 347 - + 348 - +[[package]] 349 - +name = "lazy_static" 350 - +version = "1.4.0" 351 - +source = "registry+https://github.com/rust-lang/crates.io-index" 352 - +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 353 - + 354 - +[[package]] 355 - +name = "libc" 356 - +version = "0.2.71" 357 - +source = "registry+https://github.com/rust-lang/crates.io-index" 358 - +checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49" 359 - + 360 - +[[package]] 361 - +name = "linked-hash-map" 362 - +version = "0.5.3" 363 - +source = "registry+https://github.com/rust-lang/crates.io-index" 364 - +checksum = "8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a" 365 - + 366 - +[[package]] 367 - +name = "log" 368 - +version = "0.4.8" 369 - +source = "registry+https://github.com/rust-lang/crates.io-index" 370 - +checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" 371 - +dependencies = [ 372 - + "cfg-if", 373 - +] 374 - + 375 - +[[package]] 376 - +name = "maplit" 377 - +version = "1.0.2" 378 - +source = "registry+https://github.com/rust-lang/crates.io-index" 379 - +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" 380 - + 381 - +[[package]] 382 - +name = "memchr" 383 - +version = "2.3.3" 384 - +source = "registry+https://github.com/rust-lang/crates.io-index" 385 - +checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" 386 - + 387 - +[[package]] 388 - +name = "miniz_oxide" 389 - +version = "0.3.7" 390 - +source = "registry+https://github.com/rust-lang/crates.io-index" 391 - +checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435" 392 - +dependencies = [ 393 - + "adler32", 394 - +] 395 - + 396 - +[[package]] 397 - +name = "object" 398 - +version = "0.20.0" 399 - +source = "registry+https://github.com/rust-lang/crates.io-index" 400 - +checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5" 401 - + 402 - +[[package]] 403 - +name = "opaque-debug" 404 - +version = "0.2.3" 405 - +source = "registry+https://github.com/rust-lang/crates.io-index" 406 - +checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" 407 - + 408 - +[[package]] 409 - +name = "pest" 410 - +version = "2.1.3" 411 - +source = "registry+https://github.com/rust-lang/crates.io-index" 412 - +checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" 413 - +dependencies = [ 414 - + "ucd-trie", 415 - +] 416 - + 417 - +[[package]] 418 - +name = "pest_derive" 419 - +version = "2.1.0" 420 - +source = "registry+https://github.com/rust-lang/crates.io-index" 421 - +checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0" 422 - +dependencies = [ 423 - + "pest", 424 - + "pest_generator", 425 - +] 426 - + 427 - +[[package]] 428 - +name = "pest_generator" 429 - +version = "2.1.3" 430 - +source = "registry+https://github.com/rust-lang/crates.io-index" 431 - +checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55" 432 - +dependencies = [ 433 - + "pest", 434 - + "pest_meta", 435 - + "proc-macro2", 436 - + "quote", 437 - + "syn", 438 - +] 439 - + 440 - +[[package]] 441 - +name = "pest_meta" 442 - +version = "2.1.3" 443 - +source = "registry+https://github.com/rust-lang/crates.io-index" 444 - +checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d" 445 - +dependencies = [ 446 - + "maplit", 447 - + "pest", 448 - + "sha-1", 449 - +] 450 - + 451 - +[[package]] 452 - +name = "proc-macro-error" 453 - +version = "1.0.2" 454 - +source = "registry+https://github.com/rust-lang/crates.io-index" 455 - +checksum = "98e9e4b82e0ef281812565ea4751049f1bdcdfccda7d3f459f2e138a40c08678" 456 - +dependencies = [ 457 - + "proc-macro-error-attr", 458 - + "proc-macro2", 459 - + "quote", 460 - + "syn", 461 - + "version_check", 462 - +] 463 - + 464 - +[[package]] 465 - +name = "proc-macro-error-attr" 466 - +version = "1.0.2" 467 - +source = "registry+https://github.com/rust-lang/crates.io-index" 468 - +checksum = "4f5444ead4e9935abd7f27dc51f7e852a0569ac888096d5ec2499470794e2e53" 469 - +dependencies = [ 470 - + "proc-macro2", 471 - + "quote", 472 - + "syn", 473 - + "syn-mid", 474 - + "version_check", 475 - +] 476 - + 477 - +[[package]] 478 - +name = "proc-macro2" 479 - +version = "1.0.18" 480 - +source = "registry+https://github.com/rust-lang/crates.io-index" 481 - +checksum = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa" 482 - +dependencies = [ 483 - + "unicode-xid", 484 - +] 485 - + 486 - +[[package]] 487 - +name = "quote" 488 - +version = "1.0.7" 489 - +source = "registry+https://github.com/rust-lang/crates.io-index" 490 - +checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" 491 - +dependencies = [ 492 - + "proc-macro2", 493 - +] 494 - + 495 - +[[package]] 496 - +name = "regex" 497 - +version = "1.3.9" 498 - +source = "registry+https://github.com/rust-lang/crates.io-index" 499 - +checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6" 500 - +dependencies = [ 501 - + "aho-corasick", 502 - + "memchr", 503 - + "regex-syntax", 504 - + "thread_local", 505 - +] 506 - + 507 - +[[package]] 508 - +name = "regex-syntax" 509 - +version = "0.6.18" 510 - +source = "registry+https://github.com/rust-lang/crates.io-index" 511 - +checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8" 512 - + 513 - +[[package]] 514 - +name = "ron" 515 - +version = "0.5.1" 516 - +source = "registry+https://github.com/rust-lang/crates.io-index" 517 - +checksum = "2ece421e0c4129b90e4a35b6f625e472e96c552136f5093a2f4fa2bbb75a62d5" 518 - +dependencies = [ 519 - + "base64", 520 - + "bitflags", 521 - + "serde", 522 - +] 523 - + 524 - +[[package]] 525 - +name = "rustc-demangle" 526 - +version = "0.1.16" 527 - +source = "registry+https://github.com/rust-lang/crates.io-index" 528 - +checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" 529 - + 530 - +[[package]] 531 - +name = "ryu" 532 - +version = "1.0.5" 533 - +source = "registry+https://github.com/rust-lang/crates.io-index" 534 - +checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" 535 - + 536 - +[[package]] 537 - +name = "same-file" 538 - +version = "1.0.6" 539 - +source = "registry+https://github.com/rust-lang/crates.io-index" 540 - +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 541 - +dependencies = [ 542 - + "winapi-util", 543 - +] 544 - + 545 - +[[package]] 546 - +name = "serde" 547 - +version = "1.0.112" 548 - +source = "registry+https://github.com/rust-lang/crates.io-index" 549 - +checksum = "736aac72d1eafe8e5962d1d1c3d99b0df526015ba40915cb3c49d042e92ec243" 550 - +dependencies = [ 551 - + "serde_derive", 552 - +] 553 - + 554 - +[[package]] 555 - +name = "serde_derive" 556 - +version = "1.0.112" 557 - +source = "registry+https://github.com/rust-lang/crates.io-index" 558 - +checksum = "bf0343ce212ac0d3d6afd9391ac8e9c9efe06b533c8d33f660f6390cc4093f57" 559 - +dependencies = [ 560 - + "proc-macro2", 561 - + "quote", 562 - + "syn", 563 - +] 564 - + 565 - +[[package]] 566 - +name = "serde_json" 567 - +version = "1.0.55" 568 - +source = "registry+https://github.com/rust-lang/crates.io-index" 569 - +checksum = "ec2c5d7e739bc07a3e73381a39d61fdb5f671c60c1df26a130690665803d8226" 570 - +dependencies = [ 571 - + "itoa", 572 - + "ryu", 573 - + "serde", 574 - +] 575 - + 576 - +[[package]] 577 - +name = "serde_yaml" 578 - +version = "0.8.13" 579 - +source = "registry+https://github.com/rust-lang/crates.io-index" 580 - +checksum = "ae3e2dd40a7cdc18ca80db804b7f461a39bb721160a85c9a1fa30134bf3c02a5" 581 - +dependencies = [ 582 - + "dtoa", 583 - + "linked-hash-map", 584 - + "serde", 585 - + "yaml-rust", 586 - +] 587 - + 588 - +[[package]] 589 - +name = "sha-1" 590 - +version = "0.8.2" 591 - +source = "registry+https://github.com/rust-lang/crates.io-index" 592 - +checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df" 593 - +dependencies = [ 594 - + "block-buffer", 595 - + "digest", 596 - + "fake-simd", 597 - + "opaque-debug", 598 - +] 599 - + 600 - +[[package]] 601 - +name = "strsim" 602 - +version = "0.8.0" 603 - +source = "registry+https://github.com/rust-lang/crates.io-index" 604 - +checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 605 - + 606 - +[[package]] 607 - +name = "structopt" 608 - +version = "0.3.15" 609 - +source = "registry+https://github.com/rust-lang/crates.io-index" 610 - +checksum = "de2f5e239ee807089b62adce73e48c625e0ed80df02c7ab3f068f5db5281065c" 611 - +dependencies = [ 612 - + "clap", 613 - + "lazy_static", 614 - + "structopt-derive", 615 - +] 616 - + 617 - +[[package]] 618 - +name = "structopt-derive" 619 - +version = "0.4.8" 620 - +source = "registry+https://github.com/rust-lang/crates.io-index" 621 - +checksum = "510413f9de616762a4fbeab62509bf15c729603b72d7cd71280fbca431b1c118" 622 - +dependencies = [ 623 - + "heck", 624 - + "proc-macro-error", 625 - + "proc-macro2", 626 - + "quote", 627 - + "syn", 628 - +] 629 - + 630 - +[[package]] 631 - +name = "syn" 632 - +version = "1.0.31" 633 - +source = "registry+https://github.com/rust-lang/crates.io-index" 634 - +checksum = "b5304cfdf27365b7585c25d4af91b35016ed21ef88f17ced89c7093b43dba8b6" 635 - +dependencies = [ 636 - + "proc-macro2", 637 - + "quote", 638 - + "unicode-xid", 639 - +] 640 - + 641 - +[[package]] 642 - +name = "syn-mid" 643 - +version = "0.5.0" 644 - +source = "registry+https://github.com/rust-lang/crates.io-index" 645 - +checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a" 646 - +dependencies = [ 647 - + "proc-macro2", 648 - + "quote", 649 - + "syn", 650 - +] 651 - + 652 - +[[package]] 653 - +name = "terminal_size" 654 - +version = "0.1.12" 655 - +source = "registry+https://github.com/rust-lang/crates.io-index" 656 - +checksum = "8038f95fc7a6f351163f4b964af631bd26c9e828f7db085f2a84aca56f70d13b" 657 - +dependencies = [ 658 - + "libc", 659 - + "winapi", 660 - +] 661 - + 662 - +[[package]] 663 - +name = "termios" 664 - +version = "0.3.2" 665 - +source = "registry+https://github.com/rust-lang/crates.io-index" 666 - +checksum = "6f0fcee7b24a25675de40d5bb4de6e41b0df07bc9856295e7e2b3a3600c400c2" 667 - +dependencies = [ 668 - + "libc", 669 - +] 670 - + 671 - +[[package]] 672 - +name = "textwrap" 673 - +version = "0.11.0" 674 - +source = "registry+https://github.com/rust-lang/crates.io-index" 675 - +checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 676 - +dependencies = [ 677 - + "unicode-width", 678 - +] 679 - + 680 - +[[package]] 681 - +name = "thread_local" 682 - +version = "1.0.1" 683 - +source = "registry+https://github.com/rust-lang/crates.io-index" 684 - +checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14" 685 - +dependencies = [ 686 - + "lazy_static", 687 - +] 688 - + 689 - +[[package]] 690 - +name = "typenum" 691 - +version = "1.12.0" 692 - +source = "registry+https://github.com/rust-lang/crates.io-index" 693 - +checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" 694 - + 695 - +[[package]] 696 - +name = "ucd-trie" 697 - +version = "0.1.3" 698 - +source = "registry+https://github.com/rust-lang/crates.io-index" 699 - +checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" 700 - + 701 - +[[package]] 702 - +name = "unicode-segmentation" 703 - +version = "1.6.0" 704 - +source = "registry+https://github.com/rust-lang/crates.io-index" 705 - +checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" 706 - + 707 - +[[package]] 708 - +name = "unicode-width" 709 - +version = "0.1.7" 710 - +source = "registry+https://github.com/rust-lang/crates.io-index" 711 - +checksum = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479" 712 - + 713 - +[[package]] 714 - +name = "unicode-xid" 715 - +version = "0.2.0" 716 - +source = "registry+https://github.com/rust-lang/crates.io-index" 717 - +checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" 718 - + 719 - +[[package]] 720 - +name = "vec_map" 721 - +version = "0.8.2" 722 - +source = "registry+https://github.com/rust-lang/crates.io-index" 723 - +checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 724 - + 725 - +[[package]] 726 - +name = "version_check" 727 - +version = "0.9.2" 728 - +source = "registry+https://github.com/rust-lang/crates.io-index" 729 - +checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" 730 - + 731 - +[[package]] 732 - +name = "walkdir" 733 - +version = "2.3.1" 734 - +source = "registry+https://github.com/rust-lang/crates.io-index" 735 - +checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d" 736 - +dependencies = [ 737 - + "same-file", 738 - + "winapi", 739 - + "winapi-util", 740 - +] 741 - + 742 - +[[package]] 743 - +name = "winapi" 744 - +version = "0.3.8" 745 - +source = "registry+https://github.com/rust-lang/crates.io-index" 746 - +checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" 747 - +dependencies = [ 748 - + "winapi-i686-pc-windows-gnu", 749 - + "winapi-x86_64-pc-windows-gnu", 750 - +] 751 - + 752 - +[[package]] 753 - +name = "winapi-i686-pc-windows-gnu" 754 - +version = "0.4.0" 755 - +source = "registry+https://github.com/rust-lang/crates.io-index" 756 - +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 757 - + 758 - +[[package]] 759 - +name = "winapi-util" 760 - +version = "0.1.5" 761 - +source = "registry+https://github.com/rust-lang/crates.io-index" 762 - +checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 763 - +dependencies = [ 764 - + "winapi", 765 - +] 766 - + 767 - +[[package]] 768 - +name = "winapi-x86_64-pc-windows-gnu" 769 - +version = "0.4.0" 770 - +source = "registry+https://github.com/rust-lang/crates.io-index" 771 - +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 772 - + 773 - +[[package]] 774 - +name = "yaml-rust" 775 - +version = "0.4.4" 776 - +source = "registry+https://github.com/rust-lang/crates.io-index" 777 - +checksum = "39f0c922f1a334134dc2f7a8b67dc5d25f0735263feec974345ff706bcf20b0d" 778 - +dependencies = [ 779 - + "linked-hash-map", 780 - +]
···
+6 -9
pkgs/development/tools/rust/cargo-insta/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-insta"; 5 - version = "0.16.0"; 6 7 src = fetchFromGitHub { 8 owner = "mitsuhiko"; 9 repo = "insta"; 10 rev = version; 11 - sha256 = "1lcbdzh139lhmpz3pyik8nbgrbfc42z9ydz2hkg2lzjdpfdsz3ag"; 12 }; 13 14 - cargoPatches = [ ./cargo-lock.patch ]; 15 - cargoSha256 = "0qjzbcaznnmb0p0r23s82jjbfs5mhhkacg26lf8fq4vvlkr1hsqf"; 16 - 17 - patches = [ ./ignore-rustfmt-test.patch ]; 18 - 19 - cargoBuildFlags = [ "-p cargo-insta" ]; 20 21 meta = with lib; { 22 description = "A Cargo subcommand for snapshot testing";
··· 1 + { lib, rustPlatform, fetchFromGitHub, libiconv, stdenv }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-insta"; 5 + version = "1.7.1"; 6 7 src = fetchFromGitHub { 8 owner = "mitsuhiko"; 9 repo = "insta"; 10 rev = version; 11 + sha256 = "1qzzkhailxjqwp3rmdcpp112wn3x0gfi788vwj77pfdyclhpj0a7"; 12 }; 13 14 + sourceRoot = "source/cargo-insta"; 15 + cargoSha256 = "01fj2j7ibrk5dyrfkmc610lh1p6f6bgzbgivq3dsd64vslhqmabw"; 16 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; 17 18 meta = with lib; { 19 description = "A Cargo subcommand for snapshot testing";
-10
pkgs/development/tools/rust/cargo-insta/ignore-rustfmt-test.patch
··· 1 - --- a/src/runtime.rs 2 - +++ b/src/runtime.rs 3 - @@ -85,6 +85,7 @@ fn format_rust_expression(value: &str) -> Cow<'_, str> { 4 - } 5 - 6 - #[test] 7 - +#[ignore] 8 - fn test_format_rust_expression() { 9 - use crate::assert_snapshot; 10 - assert_snapshot!(format_rust_expression("vec![1,2,3]"), @"vec![1, 2, 3]");
···