-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCargo.toml
executable file
·54 lines (44 loc) · 1.8 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
[package]
name = "sub_price_feed"
version = "0.1.0"
authors = ["[your_name] <[your_email]>"]
edition = "2021"
# Necessary due to the cargo bug bug: https://github.com/rust-lang/cargo/issues/10118
[profile.release]
overflow-checks = false
[dependencies]
ink_env = { version = "4.0.1", default-features = false }
ink = { version = "4.0.1", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2", default-features = false, features = ["derive"], optional = true }
serde = { version = "1.0.188", default-features = false, features = ["derive", "alloc"]}
fixed = { version = "1", default-features = false }
pink-extension = { version = "0.4.1", default-features = false }
pink-json = { git = "https://github.com/Phala-Network/pink-json.git", branch = "pink", default-features = false, features = ["de-number-as-str"] }
phat_offchain_rollup = { path = "../../crates/rollup", default-features = false, features = ["substrate"] }
subrpc = { package = "pink-subrpc", version = "0.4.2", default-features = false }
hex = { version = "0.4", default-features = false }
[dev-dependencies]
dotenvy = "0.15"
env_logger = "0.10.0"
pink-extension-runtime = { version = "0.4.0", default-features = false }
phat_offchain_rollup = { path = "../../crates/rollup", default-features = false, features = ["substrate", "logging"] }
hex-literal = "0.3"
[lib]
name = "sub_price_feed"
path = "lib.rs"
[features]
default = ["std"]
std = [
"ink/std",
"scale/std",
"scale-info/std",
"phat_offchain_rollup/std",
"pink-extension/std",
"subrpc/std",
"pink-json/std",
]
ink-as-dependency = []
# Leave for `cargo contract` build.
[patch.crates-io]
serde = { git = "https://github.com/kvinwang/serde.git", branch = "patched-v1.0.188" }