Skip to content

Commit 607492c

Browse files
committed
Move all code into cli
Signed-off-by: ElXreno <[email protected]>
1 parent 30af0f4 commit 607492c

File tree

11 files changed

+26
-22
lines changed

11 files changed

+26
-22
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/.idea
2-
/target
2+
target

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-20
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,10 @@
1-
[package]
2-
name = "flathub-stats"
3-
version = "0.2.1"
4-
authors = ["ElXreno <[email protected]>"]
5-
license = "MPL-2.0"
6-
edition = "2018"
1+
[workspace]
2+
members = [
3+
"cli",
4+
]
75

86
# Profiles
97
[profile.release]
108
lto = true
119
panic = "abort"
1210
codegen-units = 1
13-
14-
[dependencies]
15-
futures = { version = "0.3.8", features = ["thread-pool"] }
16-
reqwest = { version = "0.10.10", features = ["blocking", "json"] }
17-
tokio = { version = "0.3.6", features = ["full"] }
18-
19-
chrono = "0.4.19"
20-
clap = "2.33.3"
21-
directories = "3.0.1"
22-
lazy_static = "1.4.0"
23-
log = "0.4.11"
24-
rusqlite = "0.24.2"
25-
serde = { version="1.0.118", features = ["derive"] }
26-
serde_json = "1.0.60"

cli/Cargo.toml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[package]
2+
name = "flathub-stats-cli"
3+
version = "0.2.1"
4+
authors = ["ElXreno <[email protected]>"]
5+
license = "MPL-2.0"
6+
edition = "2018"
7+
8+
[dependencies]
9+
futures = { version = "0.3.8", features = ["thread-pool"] }
10+
reqwest = { version = "0.10.10", features = ["blocking", "json"] }
11+
tokio = { version = "0.3.6", features = ["full"] }
12+
13+
chrono = "0.4.19"
14+
clap = "2.33.3"
15+
directories = "3.0.1"
16+
lazy_static = "1.4.0"
17+
log = "0.4.11"
18+
rusqlite = "0.24.2"
19+
serde = { version="1.0.118", features = ["derive"] }
20+
serde_json = "1.0.60"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/main.rs cli/src/main.rs

File renamed without changes.

0 commit comments

Comments
 (0)