-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
executable file
·74 lines (65 loc) · 2.17 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
[package]
name = "btc_spv_oracle"
version = "0.1.0"
authors = ["[your_name] <[your_email]>"]
edition = "2018"
[dependencies]
ink_abi = { git = "https://github.com/chainx-org/ink", package = "ink_abi", default-features = false, features = ["derive"], optional = true }
ink_primitives = { git = "https://github.com/chainx-org/ink", package = "ink_primitives", default-features = false, features = ["old-codec"] }
ink_core = { git = "https://github.com/chainx-org/ink", package = "ink_core", default-features = false, features = ["old-codec"] }
ink_lang = { git = "https://github.com/chainx-org/ink", package = "ink_lang", default-features = false, features = ["old-codec"] }
ink_prelude = {git = "https://github.com/chainx-org/ink", path = "ink_prelude", default-features = false}
scale = { package = "parity-codec", version = "3.5", default-features = false, features = ["derive"] }
twox-hash = { version = "1.5.0", default-features = false }
byteorder = { version = "1.3.2", default-features = false }
blake2-rfc = { version = "0.2.18", default-features = false }
btc-primitives = { package = "primitives", git = "https://github.com/chainx-org/light-bitcoin", default-features = false, features = ["codec"] }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "btc_spv_oracle"
path = "lib.rs"
crate-type = [
# Used for normal contract Wasm blobs.
"cdylib",
# Required for ABI generation, and using this contract as a dependency.
# If using `cargo contract build`, it will be automatically disabled to produce a smaller Wasm binary
"rlib",
]
[features]
default = ["test-env"]
std = [
"ink_abi/std",
"ink_core/std",
"ink_primitives/std",
"scale/std",
"type-metadata/std",
]
test-env = [
"std",
"ink_lang/test-env",
]
ink-generate-abi = [
"std",
"ink_abi",
"type-metadata",
"ink_core/ink-generate-abi",
"ink_lang/ink-generate-abi",
]
ink-as-dependency = []
[profile.release]
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
[workspace]
members = [
".ink/abi_gen"
]
exclude = [
".ink"
]