-
-
Notifications
You must be signed in to change notification settings - Fork 555
/
Cargo.toml
98 lines (92 loc) · 3.3 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[package]
name = "ockam_channel"
version = "0.42.0"
authors = ["Ockam Developers"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://github.com/ockam-network/ockam"
repository = "https://github.com/ockam-network/ockam/tree/develop/implementations/rust/ockam/ockam_vault"
readme = "README.md"
categories = [
"cryptography",
"asynchronous",
"authentication",
"no-std",
"algorithms",
]
keywords = ["ockam", "crypto", "encryption", "authentication"]
description = """Channel is an abstraction responsible for sending messages (usually over the network)
in encrypted and authenticated way.
"""
publish = true
rust-version = "1.56.0"
[features]
default = ["std"]
software_vault = [
"ockam_vault",
"ockam_vault_sync_core",
"ockam_vault_sync_core/software_vault",
]
noise_xx = ["ockam_key_exchange_xx"]
# Option (enabled by default): "std" enables functionality expected to
# be available on a standard platform.
std = [
"alloc",
"ockam_core/std",
"ockam_macros/std",
"ockam_key_exchange_core/std",
"ockam_key_exchange_xx/std",
"ockam_node/std",
"ockam_vault_sync_core/std",
"ockam_vault/std",
"rand/std",
"rand/std_rng",
]
# Feature: "no_std" enables functionality required for platforms
# without the standard library, requires nightly.
no_std = [
"ockam_core/no_std",
"ockam_macros/no_std",
"ockam_key_exchange_core/no_std",
"ockam_key_exchange_xx/no_std",
"ockam_node/no_std",
"ockam_vault_sync_core/no_std",
"ockam_vault/no_std",
"rand_pcg",
]
# Feature: "alloc" enables support for heap allocation (implied by `feature = "std"`)
alloc = [
"ockam_core/alloc",
"ockam_key_exchange_core/alloc",
"ockam_key_exchange_xx/alloc",
"ockam_node/alloc",
"ockam_vault_sync_core/alloc",
"ockam_vault/alloc",
"serde/alloc",
]
[dependencies]
ockam_core = { path = "../ockam_core", version = "^0.47.0", default_features = false }
ockam_macros = { path = "../ockam_macros", version = "^0.8.0", default_features = false }
ockam_key_exchange_core = { path = "../ockam_key_exchange_core", version = "^0.38.0", default_features = false }
ockam_key_exchange_xx = { path = "../ockam_key_exchange_xx", version = "^0.39.0", default_features = false, optional = true }
ockam_node = { path = "../ockam_node", version = "^0.46.0", default_features = false }
ockam_vault_sync_core = { path = "../ockam_vault_sync_core", version = "^0.38.0", default_features = false, optional = true }
ockam_vault = { path = "../ockam_vault", version = "^0.40.0", default_features = false, optional = true }
rand = { version = "0.8", default-features = false }
rand_pcg = { version = "0.3.1", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"] }
tracing = { version = "0.1", default_features = false }
[dev-dependencies]
ockam_vault = { path = "../ockam_vault", version = "^0.40.0"}
ockam_key_exchange_xx = { path = "../ockam_key_exchange_xx", version = "^0.39.0"}
ockam_key_exchange_x3dh = { path = "../ockam_key_exchange_x3dh", version = "^0.38.0"}
ockam_vault_sync_core = { path = "../ockam_vault_sync_core", version = "^0.38.0"}
trybuild = { version = "1.0", features = ["diff"] }
tokio = { version = "1.8", features = [
"rt-multi-thread",
"sync",
"net",
"macros",
"time",
"io-util",
] }