aboutsummaryrefslogtreecommitdiff
path: root/arg_picker/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'arg_picker/src/lib.rs')
-rw-r--r--arg_picker/src/lib.rs21
1 files changed, 10 insertions, 11 deletions
diff --git a/arg_picker/src/lib.rs b/arg_picker/src/lib.rs
index 21a0d35..d292826 100644
--- a/arg_picker/src/lib.rs
+++ b/arg_picker/src/lib.rs
@@ -1,4 +1,5 @@
#![doc = include_str!("../README.md")]
+#![deny(missing_docs)]
mod builtin;
@@ -29,13 +30,8 @@ pub mod value;
/// use arg_picker::prelude::*;
/// ```
pub mod prelude {
- pub use crate::macros::arg;
-
- #[cfg(not(feature = "mingling_support"))]
pub use crate::IntoPicker;
-
- #[cfg(feature = "mingling_support")]
- pub use crate::corebind::EntryPicker;
+ pub use crate::macros::arg;
}
/// Re-export of the `arg_picker_macros` crate
@@ -54,9 +50,12 @@ pub mod matcher_needed {
pub use crate::parselib::{MaskedArg, Matcher, ParserStyle};
}
-#[cfg(feature = "mingling_support")]
-mod corebind;
+mod constants;
-#[allow(unused_imports)]
-#[cfg(feature = "mingling_support")]
-pub use corebind::*;
+/// Re-export of constants used by `arg-picker`.
+///
+/// This module provides access to various constants defined internally, such as
+/// default values, configuration limits, and other static parameters.
+pub mod consts {
+ pub use crate::constants::*;
+}