diff --git a/gix-index/src/lib.rs b/gix-index/src/lib.rs index 1e157bdc0d5..86261c3539f 100644 --- a/gix-index/src/lib.rs +++ b/gix-index/src/lib.rs @@ -10,7 +10,10 @@ use bstr::{BStr, ByteSlice}; use std::{ops::Range, path::PathBuf}; use filetime::FileTime; +/// `gix_hash` is made available as it's part of the public API in various places. pub use gix_hash as hash; +/// A re-export to allow calling [`State::from_tree()`]. +pub use gix_validate as validate; /// #[allow(clippy::empty_docs)] diff --git a/gix/src/lib.rs b/gix/src/lib.rs index f193ecd74aa..e34fea34387 100644 --- a/gix/src/lib.rs +++ b/gix/src/lib.rs @@ -140,6 +140,7 @@ pub use gix_url as url; #[doc(inline)] pub use gix_url::Url; pub use gix_utils as utils; +pub use gix_validate as validate; pub use hash::{oid, ObjectId}; pub mod interrupt;