This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
85 lines (74 loc) · 2.43 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
[package]
name = "wascc-host"
version = "0.14.0"
authors = ["Kevin Hoffman <alothien@gmail.com>"]
edition = "2018"
homepage = "https://wascc.dev"
repository = "https://github.com/wascc/wascc-host"
description = "WebAssembly Secure Capabilities Connector (waSCC) Host Runtime"
license = "Apache-2.0"
documentation = "https://docs.rs/wascc-host"
readme = "README.md"
keywords = ["webassembly", "wasm", "wasi", "wascc", "wapc"]
categories = ["wasm", "api-bindings","command-line-utilities"]
exclude = ["examples/.assets"]
autotests = false
[[test]]
name = "integration"
path = "tests/lib.rs"
[package.metadata.docs.rs]
features = [ "manifest", "lattice" ]
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
libloading = "0.6.3"
crossbeam-channel = "0.4.3"
crossbeam = "0.7.3"
crossbeam-utils = "^0.7.0"
prometheus = { version = "0.9", features = ["push"], optional = true }
hyper = { version = "0.13", optional = true }
tokio = { version = "0.2", features = ["macros"] }
wapc = { version = "0.10.0" }
wascc-codec = "0.8"
wascap = "0.5.1"
log = "0.4.11"
rand = "0.7.3"
env_logger = "0.7.1"
ring = "0.16.15"
data-encoding = "2.3.0"
oci-distribution = "0.4.0"
uuid = { version = "0.8", features = ["serde", "v4"] }
futures = "0.3.6"
provider-archive = "0.1.0"
# Opt-in dependencies chosen by feature flags
nats = { version = "0.8.1", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_yaml = { version = "0.8.13", optional = true }
serde_json = { version = "1.0.57", optional = true }
envmnt = { version = "0.8.4", optional = true }
structopt = { version = "0.3.17", optional = true }
latticeclient = { version = "0.4.0", optional = true }
ctrlc = { version = "3.1.6", features = ["termination"], optional = true}
wasm3-provider = { version = "0.0.1", optional = true}
wasmtime-provider = { version = "0.0.1" , optional = true}
[dev-dependencies]
reqwest = { version = "0.10", features = ["blocking"] }
mockito = "0.27"
redis = "0.17.0"
nats = "0.8.1"
serde_json = "1.0.57"
[features]
default = ["wasmtime"]
manifest = ["serde", "serde_yaml", "serde_json", "envmnt"]
bin = ["structopt", "ctrlc"]
prometheus_middleware = ["prometheus", "hyper"]
lattice = ["nats", "serde", "latticeclient", "serde_json"]
wasmtime = ["wasmtime-provider"]
wasm3 = ["wasm3-provider"]
[[example]]
name = "kvcounter_manifest"
required-features = ["manifest"]
[[bin]]
name = "wascc-host"
path = "src/bin.rs"
required-features = ["manifest", "bin"]