aboutsummaryrefslogtreecommitdiff
path: root/mingling_picker/src/lib.rs
blob: 7e48db7ee257364114e44fda096f3a433d96f174 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
mod builtin;

mod picker;
pub use picker::*;

mod pickable;
pub use pickable::*;

mod flag;
pub use flag::*;

mod infos;
pub use infos::*;

pub mod parselib;

pub mod prelude {
    pub use crate::IntoPicker;
}

pub mod macros {
    pub use mingling_picker_macros::*;
}

/// Provides the types necessary for implementing the `Pickable` trait
pub mod pickable_needed {
    pub use crate::{Pickable, PickerArgResult, PickerFlag, PickerFlagAttr, TagPhaseContext};
}

/// Provides the types necessary for implementing the `Matcher` trait
pub mod matcher_needed {
    pub use crate::PickerArgInfo;
    pub use crate::parselib::{MaskedArg, Matcher, ParserStyle};
}

#[cfg(feature = "mingling_support")]
mod corebind;

#[cfg(feature = "mingling_support")]
pub use corebind::*;