-
-
Notifications
You must be signed in to change notification settings - Fork 556
/
Cargo.toml
118 lines (112 loc) · 4.65 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[package]
name = "ockam_command"
version = "0.125.0"
authors = ["Ockam Developers"]
categories = [
"cryptography",
"asynchronous",
"authentication",
"network-programming",
"embedded",
]
default-run = "ockam"
edition = "2021"
exclude = ["tests/**"]
homepage = "https://github.com/build-trust/ockam"
keywords = [
"ockam",
"crypto",
"cryptography",
"network-programming",
"encryption",
]
license = "Apache-2.0"
publish = true
readme = "README.md"
repository = "https://github.com/build-trust/ockam/implementations/rust/ockam/ockam_command"
rust-version = "1.58.1"
description = "End-to-end encryption and mutual authentication for distributed applications."
[package.metadata.cross.target.aarch64-unknown-linux-musl]
dockerfile = "../../../../tools/cross/Cross.Dockerfile.aarch64"
[package.metadata.cross.target.armv7-unknown-linux-musleabihf]
dockerfile = "../../../../tools/cross/Cross.Dockerfile.armv7"
[[bin]]
# You may be wondering "Why are the tests and docs disabled?". The long and
# short of it is: To avoid certain bugs in `rustdoc`, `cargo`, and other tools
# which have cases (even edge-cases) where they confuse the library (in
# `../ockam`) and the `ockam` binary (in `./src/bin/ockam.rs`). I won't
# enumerate them here, but an example: `rustdoc` will try to place the docs for
# both of these in the same path, without realizing it, which may result in one
# overwriting the other
#
# Anyway a result, we disable them for the binary crate, which is just a single
# file (`src/bin/ockam.rs`) which contains a single function call into
# `ockam_command` itself. This way, while there are no tests/docs for the binary
# crate, it doesn't matter, since its just a shim for the `ockam_command` crate
# anyway (which does not have its tests/docs disabled)
name = "ockam"
doc = false
test = false
path = "src/bin/ockam.rs"
[dependencies]
arboard = "3.4.0"
async-trait = "0.1"
clap = { version = "4.5", features = ["derive", "cargo", "wrap_help"] }
clap_complete = "4.5.2"
clap_mangen = "0.2.20"
colorful = "0.2"
console = "0.15.8"
ctrlc = { version = "3.4.4", features = ["termination"] }
flate2 = "1.0.30"
hex = "0.4"
indicatif = "0.17.8"
indoc = "2.0.5"
miette = { version = "7.2.0", features = ["fancy-no-backtrace"] }
minicbor = { version = "0.24.0", features = ["derive", "alloc", "half"] }
ockam = { path = "../ockam", version = "^0.125.0", features = ["software_vault"] }
ockam_abac = { path = "../ockam_abac", version = "0.58.0", features = ["std"] }
ockam_api = { path = "../ockam_api", version = "0.68.0", default-features = false, features = ["std"] }
ockam_core = { path = "../ockam_core", version = "^0.109.0" }
ockam_multiaddr = { path = "../ockam_multiaddr", version = "0.53.0", features = ["std"] }
ockam_node = { path = "../ockam_node", version = "^0.117.0" }
ockam_transport_tcp = { path = "../ockam_transport_tcp", version = "^0.115.0", default-features = false, features = ["std"] }
ockam_vault = { path = "../ockam_vault", version = "^0.110.0", default-features = false, features = ["storage", "std"] }
once_cell = "1.19"
open = "5.1.3"
opentelemetry = { version = "0.23.0", features = ["metrics", "trace"] }
pem-rfc7468 = { version = "0.7.0", features = ["std"] }
r3bl_rs_utils_core = "0.9.12"
r3bl_tui = "0.5.5"
rand = "0.8"
regex = "1.10.4"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-native-roots", "blocking"] }
rustls = { version = "0.23.5", default-features = false }
rustls-native-certs = "0.7.0"
rustls-pki-types = "1.7.0"
semver = "1.0.23"
serde = { version = "1", features = ["derive"] }
serde_bare = { version = "0.5.0", default-features = false, features = ["alloc"] }
serde_json = "1"
serde_yaml = "0.9"
shellexpand = { version = "3.1.0", default-features = false, features = ["base-0"] }
syntect = { version = "5.2.0", default-features = false, features = ["default-syntaxes", "regex-onig"] }
termbg = "0"
thiserror = "1"
time = { version = "0.3", default-features = false, features = ["std", "local-offset"] }
tokio = { version = "1.37.0", features = ["full"] }
tokio-retry = "0.3"
tracing = { version = "0.1", default-features = false }
tracing-core = { version = "0.1.32", default-features = false }
url = "2.4.1"
which = "6.0.1"
[dev-dependencies]
assert_cmd = "2"
ockam_macros = { path = "../ockam_macros", version = "^0.34.0" }
proptest = "1.4.0"
tempfile = "3.10.1"
time = { version = "0.3", default-features = false, features = ["std", "local-offset"] }
[features]
default = ["orchestrator", "rust-crypto"]
orchestrator = []
aws-lc = ["ockam_vault/aws-lc", "ockam_transport_tcp/aws-lc", "ockam_api/aws-lc", "rustls/aws-lc-rs"]
rust-crypto = ["ockam_vault/rust-crypto", "ockam_transport_tcp/ring", "ockam_api/rust-crypto", "rustls/ring"]