#![doc(html_logo_url = "https://github.com/jnqnfe/gong/raw/master/logo.png",
html_favicon_url = "https://github.com/jnqnfe/gong/raw/master/favicon.ico")]
pub mod docs;
#[macro_use]
mod macros; pub mod analysis;
mod engine;
pub mod options;
#[deprecated(since = "1.1.0", note = "access from the `analysis` mod")]
pub use analysis::{ItemClass, Item, ItemE, ItemW, DataLocation};
#[deprecated(since = "1.1.0", note = "access from the `options` mod")]
pub use options::{OptionsMode};
#[deprecated(since = "1.1.0", note = "now called `analysis::Analysis`")]
pub type Results<'a> = analysis::Analysis<'a>;
#[deprecated(since = "1.1.0", note = "moved to `options::OptionSetEx`")]
pub type Options<'a> = options::OptionSetEx<'a>;
#[deprecated(since = "1.1.0", note = "moved to `options::LongOption`")]
pub type LongOption<'a> = options::LongOption<'a>;
#[deprecated(since = "1.1.0", note = "moved to `options::ShortOption`")]
pub type ShortOption = options::ShortOption;
#[deprecated(since = "1.2.0", note = "use the method on the option set object instead")]
pub fn process<'o, 'a, A>(args: &'a [A], options: &'o options::OptionSetEx<'a>) -> analysis::Analysis<'a>
where A: 'a + std::convert::AsRef<str>,
'a: 'o
{
engine::process(args, &options.as_fixed())
}