-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
53 lines (44 loc) · 1.38 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
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "kuska-handshake"
version = "0.2.0"
authors = ["Dhole <[email protected]>", "Adria Massanet <[email protected]>"]
edition = "2018"
license-file = "LICENSE"
description = "Secure Scuttlebutt handshake + boxstream library"
homepage = "https://github.com/Kuska-ssb"
repository = "https://github.com/Kuska-ssb/handshake"
readme = "README.md"
keywords = ["kuska", "handshake", "boxstream", "ssb", "scuttlebutt"]
categories = ["asynchronous", "cryptography", "authentication", "network-programming"]
[lib]
name = "kuska_handshake"
[dependencies]
sodiumoxide = { version = "0.2.5-0", package = "kuska-sodiumoxide" }
futures = { version = "0.3.17", optional = true }
log = "0.4.8"
tokio = { version = "1.0", default-features = false, features=["net", "io-util"], optional = true }
hex = "0.4.2"
thiserror = "1.0"
[dev-dependencies]
async-std = { version = "1.10", features= ["unstable", "attributes"] }
test_utils = { path = "test_utils" }
crossbeam = "0.7.3"
env_logger = "0.7.1"
base64 = "0.12.1"
[features]
default = []
sync = []
async_std = [ "futures" ]
tokio_compat = [ "async_std", "tokio" ]
[[example]]
name = "handshake-boxstream-bench-sync"
required-features = ["sync"]
[[example]]
name = "handshake-boxstream"
required-features = ["sync"]
[[example]]
name = "handshake"
required-features = ["sync"]
[[example]]
name = "handshake-boxstream-bench-async"
required-features = ["async_std"]