| 1 |
[package] |
| 2 |
name = "hg-core" |
| 3 |
version = "0.1.0" |
| 4 |
authors = ["Georges Racinet <[email protected]>"] |
| 5 |
description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)" |
| 6 |
edition = "2024" |
| 7 |
|
| 8 |
[lints] |
| 9 |
workspace = true |
| 10 |
|
| 11 |
[lib] |
| 12 |
name = "hg" |
| 13 |
|
| 14 |
[features] |
| 15 |
full-tracing = [] |
| 16 |
|
| 17 |
[dependencies] |
| 18 |
imara-diff = "0.2.0" |
| 19 |
bitflags = "2.9.0" |
| 20 |
bytes-cast = "0.3.0" |
| 21 |
byteorder = "1.5.0" |
| 22 |
ctrlc = "3.4" |
| 23 |
derive_more = { version = "2.0.1", features = ["display", "from"] } |
| 24 |
hashbrown = { version = "0.15.3", features = ["rayon"] } |
| 25 |
home = "0.5.11" |
| 26 |
im-rc = "15.1.0" |
| 27 |
indicatif = "0.18.0" |
| 28 |
itertools = "0.14.0" |
| 29 |
lazy_static = "1.5.0" |
| 30 |
libc = "0.2.172" |
| 31 |
memchr = "2" |
| 32 |
rand = "0.9.1" |
| 33 |
rand_pcg = "0.9.0" |
| 34 |
rand_distr = "0.5.1" |
| 35 |
rayon = "1.10.0" |
| 36 |
regex = "1.11.1" |
| 37 |
self_cell = "1.2" |
| 38 |
serde = { version = "1.0", features = ["derive"] } |
| 39 |
sha-1 = "0.10.1" |
| 40 |
twox-hash = "2.1.0" |
| 41 |
shellexpand = { version = "3.1", features = ["full"]} |
| 42 |
same-file = "1.0.6" |
| 43 |
tempfile = "3.19.1" |
| 44 |
toml = "0.9" |
| 45 |
thread_local = "1.1.8" |
| 46 |
crossbeam-channel = "0.5.15" |
| 47 |
memmap2 = { version = "0.9.5", features = ["stable_deref_trait"] } |
| 48 |
zstd = "0.13" |
| 49 |
format-bytes = "0.3.0" |
| 50 |
once_cell = "1.21.3" |
| 51 |
bitvec = "1.0.1" |
| 52 |
chrono = "0.4.41" |
| 53 |
schnellru = "0.2.4" |
| 54 |
dyn-clone = "1.0.19" |
| 55 |
filetime = "0.2.25" |
| 56 |
uuid = { version = "1.16", features = ["v4"] } |
| 57 |
regex-automata = "0.4.9" |
| 58 |
regex-syntax = "0.8.5" |
| 59 |
unicode-width = "0.2.0" |
| 60 |
bit-set = "0.8.0" |
| 61 |
static_assertions_next = "1.1.2" |
| 62 |
tracing = { version = "0.1.41", features = ["attributes", "log"] } |
| 63 |
indexmap = "2.9.0" |
| 64 |
sha2 = "0.10.9" |
| 65 |
|
| 66 |
# We don't use the `miniz-oxide` backend to not change rhg benchmarks and until |
| 67 |
# we have a clearer view of which backend is the fastest. |
| 68 |
[dependencies.flate2] |
| 69 |
version = "1.1.1" |
| 70 |
features = ["zlib"] |
| 71 |
default-features = false |
| 72 |
|
| 73 |
[build-dependencies] |
| 74 |
cc = "1.2" |
| 75 |
|
| 76 |
[dev-dependencies] |
| 77 |
clap = { version = "4", features = ["derive"] } |
| 78 |
pretty_assertions = "1.4.1" |