diff rust/hg-core/src/lib.rs @ 52303:22d24f6d6411

rust-lib: remove exports for not too common pattern-related types This only muddies the lib and makes the imports more confusing.
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 04 Nov 2024 11:26:41 +0100
parents f33b87b46135
children 1866119cbad7
line wrap: on
line diff
--- a/rust/hg-core/src/lib.rs	Mon Nov 04 11:21:43 2024 +0100
+++ b/rust/hg-core/src/lib.rs	Mon Nov 04 11:26:41 2024 +0100
@@ -41,11 +41,6 @@
 pub mod update;
 pub mod utils;
 pub mod vfs;
-
-pub use filepatterns::{
-    parse_pattern_syntax_kind, read_pattern_file, IgnorePattern,
-    PatternFileWarning, PatternSyntax,
-};
 use std::{collections::HashMap, sync::atomic::AtomicBool};
 use twox_hash::RandomXxHashBuilder64;