Move files to make cargo publish happy

This commit is contained in:
Tiffany Bennett 2020-07-18 02:20:39 -07:00
parent 828d2d4a79
commit 8bcd316068
4 changed files with 3 additions and 3 deletions

View file

@ -111,12 +111,12 @@ fn load_btc() -> Option<Result<ast::Defs, String>> {
}
#[cfg(feature = "gpl")]
static DEFAULT_FILE: Option<&'static str> = Some(include_str!("../../definitions.units"));
static DEFAULT_FILE: Option<&'static str> = Some(include_str!("../definitions.units"));
#[cfg(not(feature = "gpl"))]
static DEFAULT_FILE: Option<&'static str> = None;
static DATES_FILE: &str = include_str!("../../datepatterns.txt");
static CURRENCY_FILE: &str = include_str!("../../currency.units");
static DATES_FILE: &str = include_str!("../datepatterns.txt");
static CURRENCY_FILE: &str = include_str!("../currency.units");
/// Creates a context by searching standard directories for definitions.units.
pub fn load() -> Result<Context, String> {