forked from tonstack/adnl-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
38 lines (34 loc) · 943 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
[package]
name = "adnl"
description = "Implementation of Abstract Datagram Network Layer"
repository = "https://github.com/tonstack/adnl-rs"
keywords = ["ton"]
categories = ["network-programming"]
license = "MIT"
version = "1.0.0"
authors = ["Vladimir Lebedev <[email protected]>"]
edition = "2021"
[dependencies]
sha2 = "0.10.2"
ctr = "0.9.1"
aes = "0.8.1"
log = "0.4.14"
rand_core = "0.6.3"
x25519-dalek = { version = "2.0.0-pre.1", optional = true }
curve25519-dalek = { version = "4.0.0-pre.2", optional = true }
tokio = { version = "1.36", features = ["net", "io-util"]}
thiserror = "1"
rand = "0.8.5"
[dev-dependencies]
hex = "0.4.3"
x25519-dalek = "= 2.0.0-pre.1"
curve25519-dalek = "= 4.0.0-pre.2"
tokio = { version = "1.36", features = ["rt-multi-thread", "macros"]}
base64 = "0.13.0"
anyhow = "1"
[features]
default = ["dalek"]
dalek = ["x25519-dalek", "curve25519-dalek"]
[[example]]
name = "time"
required-features = ["dalek"]