-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
48 lines (44 loc) · 1016 Bytes
/
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
46
47
48
[package]
edition = "2021"
name = "spider-rs_spider-rs"
version = "0.0.0"
description = "The fastest web crawler written in Rust ported to nodejs."
repository = "https://github.com/spider-rs/spider-nodejs"
authors = ["j-mendez <[email protected]>"]
[lib]
crate-type = ["cdylib"]
[dependencies]
indexmap = "2"
napi = { version = "2", default-features = false, features = ["napi4", "async", "tokio_rt", "serde-json"] }
napi-derive = "2"
num_cpus = "1"
serde = "1"
serde_json = "1"
spider = { version = "2", default-features = false, features = [
"cron",
"regex",
"cookies",
"socks",
"chrome",
"control",
"chrome_intercept",
"cache",
"openai",
"serde",
"real_browser",
"headers",
"reqwest_rustls_tls",
"io_uring",
"sync",
"disk",
"cookies",
"ua_generator",
"encoding",
"string_interner_buffer_backend",
"balance"
] }
spider_scraper = "0.1"
[build-dependencies]
napi-build = "2"
[profile.release]
lto = true