-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCargo.toml
32 lines (27 loc) · 1.18 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
[package]
name = "phala-mq"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
log = "0.4.14"
hex = { version = "0.4.3", default-features = false, features = ['alloc'] }
derive_more = { version = "0.99", default-features = false, features = ["display"] }
parity-scale-codec = { version = "3.0", default-features = false, features = ["derive"] }
scale-info = { version = "2.0", default-features = false, features = ["derive"] }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive"] }
spin = { version = "0.9", default-features = false, features = ["mutex", "use_ticket_mutex"], optional = true }
phala-serde-more = { path = "../phala-serde-more", default-features = false }
# for checkpoint
environmental = { version = "1.1.3", optional = true }
[features]
default = ["dispatcher", "queue", "signers", "checkpoint"]
dispatcher = ["spin"]
queue = ["spin"]
signers = [
"sp-core/full_crypto",
"phala-serde-more/crypto",
]
checkpoint = ["environmental", "std"]
std = []