WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit b79edd6

Browse files
committed
Moving download sources into its own module
1 parent 2f4a228 commit b79edd6

File tree

7 files changed

+9
-4
lines changed

7 files changed

+9
-4
lines changed
File renamed without changes.

src/download_sources/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pub mod google_play;
2+
pub mod fdroid;
3+
pub mod apkpure;
4+
pub mod huawei_app_gallery;

src/main.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,11 @@ mod config;
136136
mod consts;
137137
mod util;
138138

139-
mod apkpure;
140-
mod fdroid;
141-
mod google_play;
142-
mod huawei_app_gallery;
139+
mod download_sources;
140+
use download_sources::google_play;
141+
use download_sources::fdroid;
142+
use download_sources::apkpure;
143+
use download_sources::huawei_app_gallery;
143144

144145
type CSVList = Vec<(String, Option<String>)>;
145146
fn fetch_csv_list(csv: &str, field: usize, version_field: Option<usize>) -> Result<CSVList, Box<dyn Error>> {

0 commit comments

Comments
 (0)