generated from napi-rs/package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
33 lines (27 loc) · 794 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
[package]
authors = ["LongYinan <lynweklm@gmail.com>"]
edition = "2021"
name = "api"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
napi = "2"
napi-derive = "2"
easy-http-request = "0.2.13"
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.11.6", features = ["json", "stream"] }
hyper = { version = "0.14", features = ["full"] }
once_cell = "1.8"
hyper-tls = "0.5.0"
async-recursion = "1.0.0"
futures = "0.3.17"
anyhow = "1.0.45"
futures-util = "0.3.17"
[target.'cfg(all(any(windows, unix), target_arch = "x86_64", not(target_env = "musl")))'.dependencies]
mimalloc = {version = "0.1"}
[build-dependencies]
napi-build = "1"
[profile.release]
lto = true