-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
executable file
·37 lines (32 loc) · 1.13 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
[package]
name = "ocex"
version = "0.1.0"
authors = ["[Anton Shramko] <[antonshramko@yandex.ru]>"]
edition = "2021"
[dependencies]
ink = { version = "4.0.0-alpha.3", default-features = false }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
scale-info = { version = "2", default-features = false, features = ["derive"] }
# For run tests needs add feature "getrandom", now i search how to add automatically with cfg!
schnorrkel = { version = "0.10.2", default-features = false, features = ["u32_backend"] }
arrayvec = { version = "0.7", default-features = false }
hex = { version = "0.4", default-features = false }
[dev-dependencies]
sp-core = { version = "6.0.0", features = ["full_crypto"], git = "https://github.com/paritytech/substrate.git", branch = "master" }
clap = { version = "3.1.8", features = ["derive"] }
[lib]
name = "ocex"
path = "lib.rs"
crate-type = [
# Used for normal contract Wasm blobs.
"cdylib",
]
[features]
test = ["schnorrkel/getrandom", "hex/default"]
default = ["std"]
std = [
"ink/std",
"scale/std",
"scale-info/std",
]
ink-as-dependency = []