aboutsummaryrefslogtreecommitdiff
path: root/mingling_picker/src/lib.rs
blob: afc7aca0206dc72aaabbca5f3c39b8cd2cd00420 (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
41
42
43
mod builtin;

mod picker;
pub use picker::*;

mod pickable;
pub use pickable::*;

mod arg;
pub use arg::*;

mod infos;
pub use infos::*;

pub mod parselib;

pub mod value;

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, PickerArg, PickerArgAttr, PickerArgResult, 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;

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