forked from hyperledger-iroha/iroha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
66 lines (55 loc) · 2.52 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
[package]
name = "iroha_data_model"
edition.workspace = true
version.workspace = true
authors.workspace = true
license.workspace = true
categories = ["cryptography::cryptocurrencies", "api-bindings"]
[lints]
workspace = true
[badges]
is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" }
is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" }
maintenance = { status = "actively-developed" }
[features]
default = ["std"]
# Enable static linkage of the rust standard library.
# Disabled for WASM interoperability, to reduce the binary size.
# Please refer to https://docs.rust-embedded.org/book/intro/no-std.html
std = ["iroha_macro/std", "iroha_version/std", "iroha_crypto/std", "iroha_primitives/std", "thiserror", "displaydoc/std", "strum/std", "once_cell"]
# Enable API for HTTP requests. Should be activated for HTTP clients
http = ["std", "warp", "iroha_version/http"]
# Replace structures and methods with FFI equivalents to facilitate dynamic linkage (mainly used in smartcontracts)
#ffi_import = ["iroha_ffi", "iroha_primitives/ffi_import", "iroha_crypto/ffi_import"]
# Expose FFI API for dynamic linking (Internal use only)
ffi_export = ["std", "iroha_ffi", "iroha_primitives/ffi_export", "iroha_crypto/ffi_export"]
# Expose API for mutating structures (Internal use only)
transparent_api = []
[dependencies]
iroha_primitives = { workspace = true }
iroha_data_model_derive = { workspace = true }
iroha_crypto = { workspace = true }
iroha_macro = { workspace = true }
iroha_version = { workspace = true, features = ["derive", "json", "scale"] }
iroha_schema = { workspace = true }
iroha_ffi = { workspace = true, optional = true }
parity-scale-codec = { workspace = true, features = ["derive"] }
derive_more = { workspace = true, features = ["as_ref", "display", "constructor", "from_str", "from", "into"] }
serde = { workspace = true, features = ["derive"] }
serde_with = { workspace = true, features = ["macros"] }
serde_json = { workspace = true }
warp = { workspace = true, optional = true }
thiserror = { workspace = true, optional = true }
displaydoc = { workspace = true }
getset = { workspace = true }
strum = { workspace = true, features = ["derive"] }
base64 = { workspace = true, features = ["alloc"] }
once_cell = { workspace = true, optional = true }
nonzero_ext = { workspace = true }
[dev-dependencies]
iroha_crypto = { workspace = true, features = ["rand"] }
trybuild = { workspace = true }
criterion = { workspace = true }
[[bench]]
name = "time_event_filter"
harness = false