forked from ChainSafe/js-libp2p-quic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
28 lines (24 loc) · 758 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
[package]
edition = "2021"
name = "chainsafe_libp2p-quic"
version = "0.0.0"
[lib]
crate-type = ["cdylib"]
path = "rust/lib.rs"
[dependencies]
libp2p-identity = { version = "0.2.9", features = ["ed25519", "peerid", "rand", "rsa", "secp256k1", "serde"] }
libp2p-tls = "0.5.0"
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.16.10", default-features = false, features = ["napi4", "async"] }
napi-derive = "2.16.12"
oneshot = "0.1.8"
pin-project-lite = "0.2.14"
quinn = "0.11.5"
ring = "0.17.8"
rustls = { version = "0.23.13", features = ["ring"] }
tokio = { version = "1.40.0", features = ["full"] }
[build-dependencies]
napi-build = "2.0.1"
[profile.release]
lto = true
strip = "symbols"