-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from lmburns/4plebs
Support for 4plebs
- Loading branch information
Showing
5 changed files
with
447 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[package] | ||
name = "chan-downloader" | ||
description = "CLI to download all images/webms of a 4chan thread" | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
authors = ["Mariot Tsitoara <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://github.com/mariot/chan-downloader" | ||
repository = "https://github.com/mariot/chan-downloader" | ||
keywords = ["cli", "4chan", "download", "downloader", "crawler"] | ||
keywords = ["cli", "4chan", "4plebs", "download", "downloader", "crawler"] | ||
categories = ["command-line-utilities"] | ||
|
||
[lib] | ||
|
@@ -20,12 +20,13 @@ name = "chan-downloader" | |
path = "src/bin.rs" | ||
|
||
[dependencies] | ||
clap = {version = "2.33.3", features = ["yaml"]} | ||
env_logger = "0.8.2" | ||
futures = "0.3" | ||
indicatif = "0.15.0" | ||
lazy_static = "1.4.0" | ||
log = "0.4.11" | ||
regex = "1.4.2" | ||
reqwest = { version = "0.10", features = ["blocking"] } | ||
tokio = { version = "0.2", features = ["full"] } | ||
anyhow = "1.0.62" | ||
clap = {version = "3.2.17", features = ["cargo", "default"]} | ||
env_logger = "0.9.0" | ||
futures = "0.3.23" | ||
indicatif = "0.17.0" | ||
log = "0.4.17" | ||
once_cell = "1.13.1" | ||
regex = "1.6.0" | ||
reqwest = { version = "0.11.11", features = ["blocking"] } | ||
tokio = { version = "1.20", features = ["full"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
edition = "2021" | ||
newline_style = "Unix" | ||
tab_spaces = 4 | ||
hard_tabs = false | ||
unstable_features = true | ||
comment_width = 80 | ||
wrap_comments = true | ||
normalize_comments = true | ||
normalize_doc_attributes = false # #[doc] -> //! | ||
error_on_line_overflow = true # change to fix errors | ||
error_on_unformatted = false | ||
format_code_in_doc_comments = true | ||
format_macro_bodies = true | ||
format_macro_matchers = true # $a: ident -> $a:ident | ||
format_strings = true | ||
imports_granularity = "Crate" | ||
imports_layout = "HorizontalVertical" | ||
# group_imports = "StdExternalCrate" # create 3 groups | ||
reorder_imports = true | ||
reorder_modules = true | ||
reorder_impl_items = true | ||
match_arm_blocks = false | ||
match_block_trailing_comma = true | ||
trailing_semicolon = true # continue, break, return | ||
overflow_delimited_expr = true | ||
use_field_init_shorthand = true # F { x: x } -> F { x } | ||
use_try_shorthand = true # try!() -> ()? | ||
empty_item_single_line = true # fn foo() {} | ||
fn_single_line = false # not fn foo() { println!() } | ||
where_single_line = false | ||
max_width = 106 | ||
struct_field_align_threshold = 20 | ||
struct_lit_width = 30 | ||
struct_variant_width = 60 | ||
combine_control_expr = true # if expr within fn call | ||
condense_wildcard_suffixes = true # (_, _) -> ( .. ) | ||
merge_derives = true | ||
spaces_around_ranges = false # 1 .. 5 -> 1..5 | ||
type_punctuation_density = "Wide" # S: Display+Debug=Foo -> spaces | ||
|
||
color = "Always" | ||
hex_literal_case = "Upper" # "Preserve" | ||
# remove_nested_parens = true | ||
|
||
# report_fixme = "Always" | ||
# report_todo = "Always" |
Oops, something went wrong.