mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-10 05:34:14 +00:00
Move files to make cargo publish happy
This commit is contained in:
parent
828d2d4a79
commit
8bcd316068
4 changed files with 3 additions and 3 deletions
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue