Skip to content

Commit 6b25653

Browse files
committed
fix: re-export crates whose types are used in the API.
That way it's easier to use them without adding own dependnecies.
1 parent b8cba96 commit 6b25653

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gix-worktree/src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@
1010
#![cfg_attr(all(doc, feature = "document-features"), feature(doc_cfg, doc_auto_cfg))]
1111
#![deny(missing_docs, rust_2018_idioms, unsafe_code)]
1212
use bstr::BString;
13+
/// Provides types needed for using [`stack::Platform::matching_attributes()`].
14+
#[cfg(feature = "attributes")]
15+
pub use gix_attributes as attributes;
1316
/// A way to access the [`Case`](glob::pattern::Case) enum which used throughout this API.
1417
pub use gix_glob as glob;
18+
/// Provides types needed for using [`stack::Platform::excluded_kind()`].
19+
pub use gix_ignore as ignore;
20+
/// Provides types needed for using [`Stack::at_path()`] and [`Stack::at_entry()`].
21+
pub use gix_object as object;
1522

1623
/// A cache for efficiently executing operations on directories and files which are encountered in sorted order.
1724
/// That way, these operations can be re-used for subsequent invocations in the same directory.

0 commit comments

Comments
 (0)