comparison rust/Cargo.lock @ 48492:d3ec82016104

rust: Upgrade to format-bytes 0.3 This removes use of the proc-macro-hack crate, which is possible now that we don’t support Rust 1.41 to 1.44 anymore. This in turn fixes spurious errors reported by rust-analyser: https://github.com/rust-analyzer/rust-analyzer/issues/9606#issuecomment-919240134 Differential Revision: https://phab.mercurial-scm.org/D11938
author Simon Sapin <simon.sapin@octobus.net>
date Fri, 17 Dec 2021 11:46:30 +0100
parents b56858d85a7b
children 99a0b5422cf5
comparison
equal deleted inserted replaced
48491:08af0adc235c 48492:d3ec82016104
312 "miniz_oxide", 312 "miniz_oxide",
313 ] 313 ]
314 314
315 [[package]] 315 [[package]]
316 name = "format-bytes" 316 name = "format-bytes"
317 version = "0.2.2" 317 version = "0.3.0"
318 source = "registry+https://github.com/rust-lang/crates.io-index" 318 source = "registry+https://github.com/rust-lang/crates.io-index"
319 checksum = "1c4e89040c7fd7b4e6ba2820ac705a45def8a0c098ec78d170ae88f1ef1d5762" 319 checksum = "48942366ef93975da38e175ac9e10068c6fc08ca9e85930d4f098f4d5b14c2fd"
320 dependencies = [ 320 dependencies = [
321 "format-bytes-macros", 321 "format-bytes-macros",
322 "proc-macro-hack",
323 ] 322 ]
324 323
325 [[package]] 324 [[package]]
326 name = "format-bytes-macros" 325 name = "format-bytes-macros"
327 version = "0.3.0" 326 version = "0.4.0"
328 source = "registry+https://github.com/rust-lang/crates.io-index" 327 source = "registry+https://github.com/rust-lang/crates.io-index"
329 checksum = "b05089e341a0460449e2210c3bf7b61597860b07f0deae58da38dbed0a4c6b6d" 328 checksum = "203aadebefcc73d12038296c228eabf830f99cba991b0032adf20e9fa6ce7e4f"
330 dependencies = [ 329 dependencies = [
331 "proc-macro-hack",
332 "proc-macro2", 330 "proc-macro2",
333 "quote", 331 "quote",
334 "syn", 332 "syn",
335 ] 333 ]
336 334
635 "difference", 633 "difference",
636 "output_vt100", 634 "output_vt100",
637 ] 635 ]
638 636
639 [[package]] 637 [[package]]
640 name = "proc-macro-hack"
641 version = "0.5.19"
642 source = "registry+https://github.com/rust-lang/crates.io-index"
643 checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
644
645 [[package]]
646 name = "proc-macro2" 638 name = "proc-macro2"
647 version = "1.0.24" 639 version = "1.0.24"
648 source = "registry+https://github.com/rust-lang/crates.io-index" 640 source = "registry+https://github.com/rust-lang/crates.io-index"
649 checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" 641 checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
650 dependencies = [ 642 dependencies = [