Skip to content

Commit a42a978

Browse files
authored
feat: Add comprehensive Git integration with proper gix API implementation and user documentation (#50)
1 parent c88187d commit a42a978

11 files changed

Lines changed: 3785 additions & 1 deletion

Cargo.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,31 @@ serde_json = "1.0.117"
2525
arrow = "54.2.1"
2626
schemars = "0.8"
2727
parquet = { version = "54.0.0", features = ["arrow"] }
28+
gix = { version = "0.66", features = ["blocking-network-client"], optional = true }
29+
clap = { version = "4.0", features = ["derive"], optional = true }
30+
lru = { version = "0.12", optional = true }
31+
hex = { version = "0.4", optional = true }
32+
chrono = { version = "0.4", optional = true }
2833

2934
[dev-dependencies]
3035
bytes = "1.10.1"
3136
tracing = "0.1.37"
3237
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
3338
criterion = "0.5"
39+
tempfile = "3.0"
3440

3541
[features]
36-
default = ["digest_base64", "prolly_balance_max_nodes"]
42+
default = ["digest_base64", "prolly_balance_max_nodes", "git"]
3743
tracing = ["dep:tracing"]
3844
digest_base64 = ["dep:base64"]
3945
prolly_balance_max_nodes = []
4046
prolly_balance_rolling_hash = []
47+
git = ["dep:gix", "dep:clap", "dep:lru", "dep:hex", "dep:chrono"]
48+
49+
[[bin]]
50+
name = "git-prolly"
51+
path = "src/bin/git-prolly.rs"
52+
required-features = ["git"]
4153

4254
[[bench]]
4355
name = "prollytree_bench"

0 commit comments

Comments
 (0)