-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
77 lines (67 loc) · 2.71 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
75
76
77
[package]
name = "fadroma"
version = "0.9.0"
edition = "2021"
license = "AGPL-3.0"
keywords = ["blockchain", "cosmos", "cosmwasm", "smart-contract"]
description = "Distributed application groundwork maintained at Hack.bg"
repository = "https://github.com/hackbg/fadroma"
readme = "README.md"
authors = [
"Adam A. <[email protected]>",
"Asparuh Kamenov <[email protected]>",
"denismaxim0v <[email protected]>",
"Chris Ricketts <[email protected]>",
"Tibor Hudik <[email protected]>",
"Wiz1991 <[email protected]>",
"hydropump3 <[email protected]>",
"Itzik <[email protected]>"
]
[lib]
path = "crates/fadroma/lib.rs"
[package.metadata.docs.rs]
rustc-args = ["--cfg", "docsrs"]
all-features = true
[features]
default = ["scrt"]
scrt = ["secret-cosmwasm-std"]
scrt-staking = ["secret-cosmwasm-std/staking"]
permit = ["scrt", "ripemd", "sha2", "remain", "bech32"]
vk = ["scrt", "crypto", "subtle"]
crypto = ["rand_core", "rand_chacha", "sha2"]
snip20 = ["scrt", "permit", "vk"]
# Can't be used on the stable channel
#backtraces = [ "secret-cosmwasm-std/backtraces" ]
staking = ["secret-cosmwasm-std/staking"]
[dependencies]
# Supported platforms
secret-cosmwasm-std = { version = "1.1.11", default-features = false, optional = true }
# Procedural macro crates
fadroma-dsl = { version = "0.8.0", path = "./crates/fadroma-dsl" }
fadroma-derive-canonize = { version = "0.3.5", path = "./crates/fadroma-derive-canonize" }
fadroma-derive-serde = { version = "0.3.0", path = "./crates/fadroma-derive-serde" }
fadroma-proc-auth = { version = "0.1.1", path = "./crates/fadroma-proc-auth" }
# Dependencies
serde = { version = "1.0.114", default-features = false, features = ["derive"] }
schemars = "0.8.11"
oorandom = { optional = true, version = "11.1.3" }
primitive-types = { optional = true, version = "0.9.1", default-features = false }
rand_chacha = { optional = true, version = "0.3.1", default-features = false }
rand_core = { optional = true, version = "0.6.4", default-features = false }
remain = { optional = true, version = "0.2.6" }
ripemd = { optional = true, version = "0.1.3" }
bech32 = { optional = true, version = "0.9.1" }
sha2 = { optional = true, version = "0.10.6", default-features = false }
subtle = { optional = true, version = "2.4.1", default-features = false }
anyhow = { optional = true, version = "1.0.65" }
time = { optional = true, version = "0.3.17" }
# Enable iterator for testing (not supported in production)
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
secret-cosmwasm-std = { version = "1.1.11", default-features = false, features = ["iterator", "random"], optional = true }
[dev-dependencies]
criterion = "0.4.0"
bincode2 = "2.0.1"
proptest = "1.1.0"
[[bench]]
name = "bench_main"
harness = false