Skip to content

Commit c8c56ae

Browse files
committed
fix: re-export gix_validate as it's now part of the public API.
This allows calling `State::from_tree()`.
1 parent afc6e25 commit c8c56ae

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

gix-index/src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ use bstr::{BStr, ByteSlice};
1010
use std::{ops::Range, path::PathBuf};
1111

1212
use filetime::FileTime;
13+
/// `gix_hash` is made available as it's part of the public API in various places.
1314
pub use gix_hash as hash;
15+
/// A re-export to allow calling [`State::from_tree()`].
16+
pub use gix_validate as validate;
1417

1518
///
1619
#[allow(clippy::empty_docs)]

gix/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ pub use gix_features::{
110110
progress::{Count, DynNestedProgress, NestedProgress, Progress},
111111
threading,
112112
};
113-
pub use gix_validate as validate;
114113
pub use gix_fs as fs;
115114
pub use gix_glob as glob;
116115
pub use gix_hash as hash;
@@ -141,6 +140,7 @@ pub use gix_url as url;
141140
#[doc(inline)]
142141
pub use gix_url::Url;
143142
pub use gix_utils as utils;
143+
pub use gix_validate as validate;
144144
pub use hash::{oid, ObjectId};
145145

146146
pub mod interrupt;

0 commit comments

Comments
 (0)