-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
62 lines (51 loc) · 1.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
[package]
name = "ya-runtime-wasi-cli"
version = "0.3.0"
authors = ["Golem Factory <[email protected]>"]
edition = "2018"
license = "GPL-3.0"
description="Yagna WASI runtime"
[[bin]]
name = "ya-runtime-wasi"
path = "src/main.rs"
doc = false
[package.metadata.deb]
assets = [
["target/release/ya-runtime-wasi", "usr/lib/yagna/plugins/", "755"],
["conf/ya-runtime-wasi.json", "usr/lib/yagna/plugins/", "644"]
]
depends="libgcc1, libc6"
[dependencies]
anyhow = "1.0.19"
env_logger = "0.10"
log = "0.4.11"
serde_json = "1"
serde = { version = "1.0.117", features = [ "derive" ] }
structopt = "0.3"
ya-runtime-wasi = { path = "crates/api", version = "0.2", optional = true }
ya-runtime-aswasm = { path = "crates/aswasm", version="0.1", optional = true }
zip="0.6"
[dev-dependencies]
tempfile = "3.1.0"
[build-dependencies]
serde_json="1.0"
anyhow="1.0"
[target.'cfg(target_os = "windows")'.build-dependencies]
winres = "0.1"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
panic = "abort"
[workspace]
exclude = [
"crates/api/integration-tests/rust-wasi-tutorial"
]
[features]
default=["wasi"]
sgx=["ya-runtime-wasi/sgx", "log/release_max_level_error"]
wasi=["ya-runtime-wasi"]
aswasm=["ya-runtime-aswasm", "log/release_max_level_error"]
integration-tests=['ya-runtime-wasi/integration-tests']
[patch.crates-io]
ya-runtime-api = { git = "https://github.com/golemfactory/yagna.git", rev = "38d6d5b914c74985c6901d9161bc87f759ca7a6e" }