aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorMariot Tsitoara <[email protected]>2021-01-02 01:23:38 +0100
committerMariot Tsitoara <[email protected]>2021-01-02 01:23:38 +0100
commit08befaa686eff4d3e7cd23c7070cc37a15c346f7 (patch)
tree34e7b1a42b94a696060877a8a06e4926d453a71d /Cargo.toml
parentUpgrade reqwest version (diff)
downloadchan-downloader-08befaa686eff4d3e7cd23c7070cc37a15c346f7.tar.xz
chan-downloader-08befaa686eff4d3e7cd23c7070cc37a15c346f7.zip
Separate tool into lib and bin
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 46cebff..6442ae7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,6 +11,14 @@ repository = "https://github.com/mariot/chan-downloader"
keywords = ["cli", "4chan", "download", "downloader", "crawler"]
categories = ["command-line-utilities"]
+[lib]
+name = "chandownloader"
+path = "src/lib.rs"
+
+[[bin]]
+name = "chan-downloader"
+path = "src/bin.rs"
+
[dependencies]
clap = {version = "2.33.3", features = ["yaml"]}
indicatif = "0.15.0"