Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ gitoxide-core-tools-archive = ["gitoxide-core/archive"]
## A sub-command to clean the worktree from untracked and ignored files.
gitoxide-core-tools-clean = ["gitoxide-core/clean"]

## A sub-command to create a pack with delta compression.
## NOTE: This is an experimental feature and may change in the future.
gitoxide-core-tools-delta-create = ["gitoxide-core/experimental-delta-create"]

#! ### Building Blocks for mutually exclusive networking
#! Blocking and async features are mutually exclusive and cause a compile-time error. This also means that `cargo … --all-features` will fail.
#! Within each section, features can be combined.
Expand Down
6 changes: 6 additions & 0 deletions gitoxide-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ async-client = ["gix/async-network-client-async-std", "gix-transport-configurati
## Data structures implement `serde::Serialize` and `serde::Deserialize`.
serde = ["gix/serde", "dep:serde_json", "dep:serde", "bytesize/serde"]

## The experimental ability to create a pack with delta compression.
experimental-delta-create = ["gix-features", "dep:parking_lot"]

[dependencies]
# deselect everything else (like "performance") as this should be controllable by the parent application.
gix = { version = "^0.83.0", path = "../gix", default-features = false, features = ["merge", "blob-diff", "blame", "revision", "mailmap", "excludes", "attributes", "worktree-mutation", "credentials", "interrupt", "status", "dirwalk"] }
Expand Down Expand Up @@ -94,6 +97,9 @@ tracing = { version = "0.1.43", optional = true }
layout-rs = "0.1.3"
open = "5.0.0"

# for experimental delta create
gix-features = { version = "^0.48.0", path = "../gix-features", default-features = false, features = ["crc32", "progress", "zlib"], optional = true }

document-features = { version = "0.2.0", optional = true }

[dev-dependencies]
Expand Down
Loading
Loading