comparison rust/hg-core/Cargo.toml @ 46390:0800aa42bb4c

rust: use the bytes-cast crate to parse persistent nodemaps This crate casts pointers to custom structs, with compile-time safety checks, for easy and efficient binary data parsing. See https://crates.io/crates/bytes-cast and https://docs.rs/bytes-cast/0.1.0/bytes_cast/ Differential Revision: https://phab.mercurial-scm.org/D9788
author Simon Sapin <simon.sapin@octobus.net>
date Fri, 15 Jan 2021 16:11:54 +0100
parents 3aec2620554b
children 645ee7225fab
comparison
equal deleted inserted replaced
46389:38b9a63d3a13 46390:0800aa42bb4c
7 7
8 [lib] 8 [lib]
9 name = "hg" 9 name = "hg"
10 10
11 [dependencies] 11 [dependencies]
12 bytes-cast = "0.1"
12 byteorder = "1.3.4" 13 byteorder = "1.3.4"
13 hex = "0.4.2" 14 hex = "0.4.2"
14 im-rc = "15.0.*" 15 im-rc = "15.0.*"
15 lazy_static = "1.4.0" 16 lazy_static = "1.4.0"
16 memchr = "2.3.3" 17 memchr = "2.3.3"