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
44
/// lovepack library for managing different distributions of LOVE

// for interfacing
#[cfg(feature = "cli")]
extern crate clap;

// lovepack tooling
extern crate love;
extern crate lpsettings;
extern crate platform_lp;
extern crate version_lp;
extern crate archive_lp;
extern crate download_lp;

// for retrieveing release information and saving it
extern crate reqwest;
extern crate serde_json;
extern crate regex;
extern crate toml;
#[macro_use] extern crate serde_derive;
extern crate serde;

#[cfg(feature = "cli")]
extern crate prettytable;

#[macro_use] extern crate smart_hash;
#[macro_use] extern crate smart_hash_derive;

// for creating good functions
#[macro_use] extern crate log;
#[macro_use] extern crate failure;

// the public interface for CLI apps (if feature is enabled)
#[cfg(feature = "cli")]
pub mod interface;

mod core;
mod binary;
mod repo;
mod structs;

// the public interface for the library
pub use core::run as run;
pub use binary::install as install;