-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
156 lines (146 loc) · 4.9 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[package]
name = "chia"
version = "0.15.0"
edition = "2021"
license = "Apache-2.0"
description = "A meta-crate that exports all of the Chia crates in the workspace."
authors = [
"Richard Kiss <[email protected]>",
"Arvid Norberg <[email protected]>",
"Brandon Haggstrom <[email protected]>"
]
homepage = "https://github.com/Chia-Network/chia_rs"
repository = "https://github.com/Chia-Network/chia_rs"
[workspace]
members = ["crates/*", "crates/*/fuzz", "wasm", "wheel"]
[workspace.lints.rust]
rust_2018_idioms = { level = "deny", priority = -1 }
rust_2021_compatibility = { level = "deny", priority = -1 }
future_incompatible = { level = "deny", priority = -1 }
nonstandard_style = { level = "deny", priority = -1 }
unsafe_code = "deny"
non_ascii_idents = "deny"
unused_imports = "warn"
unused_import_braces = "deny"
unreachable_code = "deny"
unreachable_patterns = "deny"
dead_code = "deny"
deprecated = "deny"
deprecated_in_future = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
wildcard_imports = "allow"
too_many_lines = "allow"
module_name_repetitions = "allow"
doc_markdown = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
cast_precision_loss = "allow"
cast_possible_wrap = "allow"
cast_lossless = "allow"
similar_names = "allow"
implicit_hasher = "allow"
[dependencies]
chia-bls = { workspace = true, optional = true }
chia-client = { workspace = true, optional = true }
chia-consensus = { workspace = true, optional = true }
chia-protocol = { workspace = true, optional = true }
chia-ssl = { workspace = true, optional = true }
chia-traits = { workspace = true, optional = true }
chia-puzzles = { workspace = true, optional = true }
chia-sha2 = { workspace = true, optional = true }
clvm-traits = { workspace = true, optional = true }
clvm-utils = { workspace = true, optional = true }
clvmr = { workspace = true }
# This is required since clvmr is only added here to provide the openssl feature conditionally.
# In the future we could pass the openssl feature to each of the relevant workspace crates instead.
[package.metadata.cargo-machete]
ignored = ["clvmr"]
[features]
default = [
"bls",
"client",
"consensus",
"protocol",
"ssl",
"traits",
"puzzles",
"sha2",
"clvm-traits",
"clvm-utils"
]
bls = ["dep:chia-bls"]
client = ["dep:chia-client"]
consensus = ["dep:chia-consensus"]
protocol = ["dep:chia-protocol"]
ssl = ["dep:chia-ssl"]
traits = ["dep:chia-traits"]
puzzles = ["dep:chia-puzzles"]
sha2 = ["dep:chia-sha2"]
clvm-traits = ["dep:clvm-traits"]
clvm-utils = ["dep:clvm-utils"]
openssl = ["chia-sha2/openssl", "clvmr/openssl"]
[profile.release]
lto = "thin"
[workspace.dependencies]
chia_py_streamable_macro = { path = "./crates/chia_py_streamable_macro", version = "0.15.0" }
chia_streamable_macro = { path = "./crates/chia_streamable_macro", version = "0.15.0" }
chia-bls = { path = "./crates/chia-bls", version = "0.15.0" }
chia-client = { path = "./crates/chia-client", version = "0.15.0" }
chia-consensus = { path = "./crates/chia-consensus", version = "0.15.0" }
chia-protocol = { path = "./crates/chia-protocol", version = "0.15.0" }
chia-ssl = { path = "./crates/chia-ssl", version = "0.11.0" }
chia-traits = { path = "./crates/chia-traits", version = "0.15.0" }
chia-puzzles = { path = "./crates/chia-puzzles", version = "0.15.0" }
chia-sha2 = { path = "./crates/chia-sha2", version = "0.15.0" }
clvm-traits = { path = "./crates/clvm-traits", version = "0.15.0" }
clvm-utils = { path = "./crates/clvm-utils", version = "0.15.0" }
clvm-derive = { path = "./crates/clvm-derive", version = "0.13.0" }
chia-fuzz = { path = "./crates/chia-consensus/fuzz", version = "0.15.0" }
chia-bls-fuzz = { path = "./crates/chia-bls/fuzz", version = "0.15.0" }
chia-protocol-fuzz = { path = "./crates/chia-protocol/fuzz", version = "0.15.0" }
chia-puzzles-fuzz = { path = "./crates/chia-puzzles/fuzz", version = "0.15.0" }
clvm-traits-fuzz = { path = "./crates/clvm-traits/fuzz", version = "0.15.0" }
clvm-utils-fuzz = { path = "./crates/clvm-utils/fuzz", version = "0.15.0" }
blst = { version = "0.3.12", features = ["portable"] }
clvmr = "0.9.1"
syn = "2.0.83"
quote = "1.0.32"
proc-macro2 = "1.0.89"
proc-macro-crate = "1.3.1"
anyhow = "1.0.86"
sha2 = "0.10.8"
hkdf = "0.12.0"
hex = "0.4.3"
thiserror = "1.0.63"
pyo3 = "0.22.5"
arbitrary = "1.3.2"
lru = "0.12.4"
rand = "0.8.5"
criterion = "0.5.1"
rstest = "0.22.0"
tokio = "1.39.3"
tokio-tungstenite = "0.21.0"
futures-util = "0.3.28"
tungstenite = "0.21.0"
hex-literal = "0.4.1"
num-traits = "0.2.15"
num-bigint = "0.4.5"
text-diff = "0.4.0"
lazy_static = "1.4.0"
rcgen = "0.13.1"
rsa = "0.9.5"
time = "0.3.22"
rusqlite = "0.31.0"
clap = "4.5.16"
zstd = "0.13.2"
blocking-threadpool = "1.0.1"
libfuzzer-sys = "0.4"
wasm-bindgen = "0.2.95"
openssl = "0.10.68"