forked from integritee-network/worker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (46 loc) · 1.97 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 = "its-block-verification"
description = "Verification logic for sidechain blocks"
version = "0.9.0"
authors = ["Integritee AG <hello@integritee.network>"]
homepage = "https://integritee.network/"
repository = "https://github.com/integritee-network/worker/"
license = "Apache-2.0"
edition = "2021"
[dependencies]
log = { version = "0.4.17", default-features = false }
thiserror = { version = "1.0.26", optional = true }
# local deps
itp-types = { default-features = false, path = "../../core-primitives/types" }
itp-utils = { default-features = false, path = "../../core-primitives/utils" }
its-primitives = { default-features = false, path = "../primitives" }
# substrate deps
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
sp-consensus-slots = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
# sgx deps
sgx_tstd = { branch = "master", features = ["untrusted_fs", "net", "backtrace"], git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
thiserror-sgx = { package = "thiserror", git = "https://github.com/mesalock-linux/thiserror-sgx", tag = "sgx_1.1.3", optional = true }
[features]
default = ["std"]
std = [
"log/std",
"thiserror",
# local
"itp-types/std",
"its-primitives/std",
# substrate
"frame-support/std",
"sp-consensus-slots/std",
"sp-core/std",
"sp-runtime/std",
]
sgx = [
"sgx_tstd",
"thiserror-sgx",
]
[dev-dependencies]
itc-parentchain-test = { path = "../../core/parentchain/test" }
its-test = { path = "../../sidechain/test" }
sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }