-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathCargo.toml
More file actions
89 lines (81 loc) · 2.53 KB
/
Copy pathCargo.toml
File metadata and controls
89 lines (81 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[package]
name = "git-internal"
version = "0.8.7"
edition = "2024"
authors = ["Eli Ma <genedna@gmail.com>"]
description = "High-performance Rust library for Git internal objects, Pack files, and AI-assisted development objects (Intent, Plan, Task, Run, Evidence, Decision) with delta compression, streaming I/O, and smart protocol support."
keywords = ["git", "pack", "delta", "ai-objects", "monorepo"]
categories = ["development-tools", "encoding", "parser-implementations"]
documentation = "https://libra.tools/docs/internal"
readme = "README.md"
homepage = "https://libra.tools"
repository = "https://github.com/libra-tools/git-internal"
license = "MIT"
exclude = ["tests", ".github", ".claude", ".devcontainer", "examples"]
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
bstr = "1.13.1"
hex = "0.4.3"
thiserror = "2.0.20"
tracing = "0.1.44"
tracing-subscriber = "0.3.23"
sha1 = "0.11.0"
colored = "3.1.1"
threadpool = "1.8.1"
num_cpus = "1.17.0"
dashmap = "6.2.1"
lru-mem = "0.3.0"
byteorder = "1.5.0"
futures-util = "0.3.33"
bytes = "1.12.1"
memchr = "2.8.3"
encoding_rs = "0.8.35"
rayon = "1.12.0"
ahash = "0.8.12"
diffs = "0.5.1"
libc = "0.2.189"
async-trait = "0.1.92"
futures = "0.3.33"
tokio-stream = "0.1.19"
tempfile = "3.27.0"
path-absolutize = "4.0.1"
similar = "3.1.2"
sha2 = "0.11.0"
crc32fast = "1.5.0"
serde_json = "1.0.151"
zstd-sys = { version = "2.0.16", features = ["experimental"] }
flate2 = { version = "1.1.9", default-features = false, features = ["zlib-rs"] }
serde = { version = "1.0.229", features = ["derive"] }
chrono = { version = "0.4.45", features = ["serde"] }
uuid = { version = "1.24.0", features = ["serde", "v4", "v7"] }
tokio = { version = "1.53.1", features = ["fs", "io-util"] }
rkyv = { version = "0.8.18", features = ["bytecheck"] }
axum = { version = "0.8.9", features = ["macros", "json"] }
blake3 = "1.8"
[dev-dependencies]
tokio = { version = "1.53.1", features = ["full"] }
tokio-util = { version = "0.7.19", features = ["io"] }
quickcheck = "1.1.0"
rand = "0.10.2"
chacha20 = "0.10.1"
ureq = "3.4.0"
[features]
default = ["diff_rabin"]
diff_mydrs = []
diff_rabin = []
# Match extension implementation variants (only one should be active at a time;
# default is word-at-a-time, the fastest in benchmarks)
delta-stats = []
extend-indexed = []
extend-sliced-iter = []
extend-sliced-index = []
extend-ptr = []
extend-word = []
# Hash bucket scan optimizations
bucket-precheck = []
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)'] }
[profile.release]
lto = "fat"
codegen-units = 1