-
Notifications
You must be signed in to change notification settings - Fork 251
/
Copy pathCargo.toml
62 lines (53 loc) · 1.89 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
[package]
name = "subspace-archiving"
description = "Collection of modules used for dealing with archived state of Subspace Network"
license = "Apache-2.0"
version = "0.1.0"
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
edition = "2018"
include = [
"/src",
"/Cargo.toml",
"/LICENSE",
"/README.md"
]
[dependencies]
merkletree = "0.21.0"
thiserror = "1.0.29"
typenum = "1.14.0"
[dependencies.parity-scale-codec]
default-features = false
features = ["derive"]
version = "2.3.0"
# Ugly workaround for https://github.com/rust-lang/cargo/issues/1197
[target.'cfg(not(all(target_os = "macos", target_arch = "aarch64")))'.dependencies.reed-solomon-erasure]
features = ["simd-accel"]
version = "4.0.2"
# Ugly workaround for https://github.com/rust-lang/cargo/issues/1197
# See https://github.com/darrenldl/reed-solomon-erasure/issues/86 for why `simd-accel` is disabled
[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies.reed-solomon-erasure]
version = "4.0.2"
# Ugly workaround for https://github.com/rust-lang/cargo/issues/1197
[target.'cfg(any(target_os = "linux", target_os = "macos", all(target_os = "windows", target_env = "gnu")))'.dependencies.sha2]
features = ["asm"]
version = "0.9.8"
# Ugly workaround for https://github.com/rust-lang/cargo/issues/1197
# `asm` feature is not supported on Windows except with GNU toolchain
[target.'cfg(not(any(target_os = "linux", target_os = "macos", all(target_os = "windows", target_env = "gnu"))))'.dependencies.sha2]
default-features = false
version = "0.9.8"
[dependencies.subspace-core-primitives]
default-features = false
version = "0.1.0"
path = "../subspace-core-primitives"
[dev-dependencies.rand]
features = ["min_const_gen"]
version = "0.8.4"
# TODO: Nothing is exposed in no-std environment at the moment :(
[features]
default = ["std"]
std = [
"parity-scale-codec/std",
"sha2/std",
"subspace-core-primitives/std",
]