-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (40 loc) · 1.12 KB
/
Cargo.toml
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
45
[package]
name = "ptt-crawler"
version = "0.1.0"
authors = ["cwouyang <[email protected]>"]
edition = "2018"
license = "MIT"
repository = "https://github.com/cwouyang/ptt-crawler/"
readme = "README.md"
description = "A crawler for the web version of PTT, the largest online community in Taiwan"
categories = ["command-line-utilities", "web-programming"]
keywords = ["PTT", "crawler"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "ptt_crawler"
path = "src/lib.rs"
[[bin]]
name = "ptc"
path = "src/main.rs"
[dependencies]
chrono = { version = "0.4.13", features = ["serde"] }
enum-iterator = "0.6.0"
fake-useragent = "0.1.3"
futures = "0.3.5"
lazy_static = "1.4.0"
log = "0.4.11"
pretty_env_logger = "0.4.0"
regex = "1.3.9"
reqwest = { version = "0.10.7", features = ["cookies", "gzip"] }
select = "0.5.0"
serde = "1.0.115"
serde_derive = "1.0.115"
serde_json = "1.0.57"
structopt = "0.3.16"
strum = "0.19.2"
strum_macros = "0.19.2"
tokio = { version = "0.2.22", features = ["macros"] }
url = "2.1.1"
[dev-dependencies]
load_file = "1.0.0"
pretty_assertions = "0.6.1"