Skip to content

Commit

Permalink
feat: unstable mailmap module (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Mar 29, 2022
1 parent b2df941 commit e3bc1b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
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.

3 changes: 2 additions & 1 deletion git-repository/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ max-performance = ["git-features/parallel", "git-features/zlib-ng-compat", "git-
local-time-support = ["git-actor/local-time-support"]
## Re-export stability tier 2 crates for convenience and make `Repository` struct fields with types from these crates publicly accessible.
## Doing so is less stable than the stability tier 1 that `git-repository` is a member of.
unstable = ["git-index", "git-worktree"]
unstable = ["git-index", "git-worktree", "git-mailmap"]
## Print debugging information about usage of object database caches, useful for tuning cache sizes.
cache-efficiency-debug = ["git-features/cache-efficiency-debug"]

Expand All @@ -73,6 +73,7 @@ git-traverse = { version = "^0.12.0", path = "../git-traverse" }
git-protocol = { version = "^0.14.0", path = "../git-protocol", optional = true }
git-transport = { version = "^0.15.0", path = "../git-transport", optional = true }
git-diff = { version = "^0.13.0", path = "../git-diff", optional = true }
git-mailmap = { version = "0.0.0", path = "../git-mailmap", optional = true }
git-features = { version = "^0.19.1", path = "../git-features", features = ["progress"] }

# unstable only
Expand Down
3 changes: 3 additions & 0 deletions git-repository/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
//! * [`bstr`][bstr]
//! * [`index`]
//! * [`worktree`]
//! * [`mailmap`]
//! * [`objs`]
//! * [`odb`]
//! * [`pack`][odb::pack]
Expand Down Expand Up @@ -129,6 +130,8 @@ pub use git_hash as hash;
#[cfg(all(feature = "unstable", feature = "git-index"))]
pub use git_index as index;
pub use git_lock as lock;
#[cfg(all(feature = "unstable", feature = "git-worktree"))]
pub use git_mailmap as mailmap;
pub use git_object as objs;
pub use git_object::bstr;
#[cfg(feature = "unstable")]
Expand Down
Empty file added gitoxide-core/src/mailmap.rs
Empty file.

0 comments on commit e3bc1b4

Please sign in to comment.