forked from hyperledger-iroha/iroha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
34 lines (29 loc) · 1.61 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
[package]
name = "iroha_version"
version = "2.0.0-pre-rc.8"
authors = ["Iroha 2 team <https://github.com/orgs/soramitsu/teams/iroha2>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["std", "derive", "scale", "json"]
# Enable static linkage of the rust standard library.
# Please refer to https://docs.rust-embedded.org/book/intro/no-std.html.
std = ["iroha_macro/std", "parity-scale-codec/std", "thiserror"]
# Enable macros for versioning
derive = ["iroha_version_derive"]
# Support SCALE codec for encoding and decoding
scale = ["parity-scale-codec/full"]
# Support JSON (de)serialisation
json = ["serde", "serde_json"]
[dependencies]
iroha_version_derive = { version = "=2.0.0-pre-rc.8", path = "derive", default-features = false, optional = true }
iroha_macro = { version = "=2.0.0-pre-rc.8", path = "../macro", default-features = false }
iroha_schema = { version = "=2.0.0-pre-rc.8", path = "../schema", default-features = false }
parity-scale-codec = { version = "3.1.5", default-features = false, optional = true, features = ["derive"] }
serde_json = { version = "1.0.83", default-features = false, optional = true, features = ["alloc"] }
serde = { version = "1.0.142", default-features = false, optional = true, features = ["derive"] }
thiserror = { version = "1.0.32", default-features = false, optional = true }
warp = { version = "0.3.2", default-features = false, optional = true }
[dev-dependencies]
iroha_data_model = { version = "=2.0.0-pre-rc.8", path = "../data_model" }
iroha_logger = { version = "=2.0.0-pre-rc.8", path = "../logger" }