-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
41 lines (35 loc) · 1.04 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
[package]
edition = "2021"
name = "magic-wormhole-napi"
version = "0.0.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
serde = { version = "1.0.120", features = ["rc"] }
serde_json = "1.0.61"
serde_derive = "1.0.120"
log = "0.4.13"
url = { version = "2.2.2", features = ["serde"] }
futures = "0.3.12"
async-std = { version = "1.12.0", features = ["attributes", "unstable"] }
rand = "0.8.3"
# CLI specific dependencies
magic-wormhole = { path = "magic-wormhole.rs", features = ["all"] }
clap = { version = "3.1.5", features = ["cargo", "derive", "wrap_help"] }
clap_complete = "3.1.4"
env_logger = "0.11"
console = "0.15.0"
indicatif = "0.17.0"
dialoguer = "0.11"
color-eyre = "0.6.0"
number_prefix = "0.4.0"
ctrlc = "3.2.1"
qr2term = "0.3.0"
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.12.2", default-features = false, features = ["napi4", "napi6", "async", "tokio_rt"] }
napi-derive = "2.12.2"
[build-dependencies]
napi-build = "2.0.1"
[profile.release]
lto = true
strip = "symbols"