2020-04-07 02:28:48 +02:00
|
|
|
pub(crate) use std::{
|
|
|
|
cmp::{Ord, PartialOrd},
|
2020-04-16 13:16:40 +02:00
|
|
|
collections::{BTreeMap, BTreeSet},
|
2020-04-07 02:28:48 +02:00
|
|
|
env,
|
|
|
|
fmt::{self, Display, Formatter},
|
2020-04-16 13:16:40 +02:00
|
|
|
fs::{self, File},
|
2020-04-29 09:20:04 +02:00
|
|
|
io,
|
|
|
|
ops::Deref,
|
2020-04-29 10:24:07 +02:00
|
|
|
path::{Path, PathBuf, StripPrefixError},
|
2020-04-29 09:20:04 +02:00
|
|
|
process::{self, Command, ExitStatus, Stdio},
|
2020-04-16 13:16:40 +02:00
|
|
|
str,
|
2020-04-07 02:28:48 +02:00
|
|
|
};
|
|
|
|
|
2020-04-30 07:56:34 +02:00
|
|
|
pub(crate) use ansi_term::Style;
|
2020-04-16 13:16:40 +02:00
|
|
|
pub(crate) use askama::Template;
|
2020-04-07 02:28:48 +02:00
|
|
|
pub(crate) use cargo_toml::Manifest;
|
|
|
|
pub(crate) use chrono::{DateTime, NaiveDateTime, Utc};
|
2020-04-08 07:21:59 +02:00
|
|
|
pub(crate) use fehler::{throw, throws};
|
2020-04-29 09:20:04 +02:00
|
|
|
pub(crate) use git2::{Commit, Oid, Repository};
|
|
|
|
pub(crate) use libc::EXIT_FAILURE;
|
2020-04-19 04:14:26 +02:00
|
|
|
pub(crate) use log::info;
|
2020-04-16 13:16:40 +02:00
|
|
|
pub(crate) use regex::Regex;
|
2020-04-07 02:28:48 +02:00
|
|
|
pub(crate) use serde::{Deserialize, Serialize};
|
2020-04-29 09:20:04 +02:00
|
|
|
pub(crate) use snafu::{ResultExt, Snafu};
|
|
|
|
pub(crate) use std::string::FromUtf8Error;
|
2020-04-07 02:28:48 +02:00
|
|
|
pub(crate) use structopt::StructOpt;
|
2020-04-08 07:21:59 +02:00
|
|
|
pub(crate) use strum::VariantNames;
|
|
|
|
pub(crate) use strum_macros::{EnumVariantNames, IntoStaticStr};
|
2020-04-07 02:28:48 +02:00
|
|
|
pub(crate) use url::Url;
|
|
|
|
|
2020-04-29 09:20:04 +02:00
|
|
|
// modules
|
|
|
|
pub(crate) use crate::error;
|
|
|
|
|
2020-04-18 07:49:56 +02:00
|
|
|
// traits
|
2020-04-29 09:20:04 +02:00
|
|
|
pub(crate) use crate::{command_ext::CommandExt, row::Row, slug::Slug, template_ext::TemplateExt};
|
2020-04-18 07:49:56 +02:00
|
|
|
|
|
|
|
// structs and enums
|
2020-04-07 02:28:48 +02:00
|
|
|
pub(crate) use crate::{
|
2020-05-01 06:21:20 +02:00
|
|
|
arguments::Arguments, bin::Bin, bin_subcommand::BinSubcommand, changelog::Changelog,
|
|
|
|
config::Config, entry::Entry, error::Error, example::Example, faq::Faq, faq_entry::FaqEntry,
|
|
|
|
introduction::Introduction, kind::Kind, metadata::Metadata, options::Options, package::Package,
|
|
|
|
project::Project, readme::Readme, reference::Reference, reference_section::ReferenceSection,
|
|
|
|
release::Release, subcommand::Subcommand, summary::Summary, table::Table,
|
2020-04-07 02:28:48 +02:00
|
|
|
};
|