Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
116 lines (103 loc) · 3.23 KB
/
Copy pathCargo.toml
File metadata and controls
116 lines (103 loc) · 3.23 KB
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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
edition = "2021"
license = "LicenseRef-DCL-1.0"
version = "0.0.0-alpha.0"
homepage = "https://github.com/rainlanguage/raindex.deploy"
[workspace.dependencies]
foundry-block-explorers = "0.2.6"
alloy = { version = "1.0.9", features = ["sol-types", "json", "json-abi"] }
anyhow = "1.0.70"
async-trait = "0.1.77"
clap = { version = "4.2.5", features = ["cargo", "derive"] }
once_cell = "1.17.1"
# rustls instead of the default native-tls/OpenSSL backend, so TLS follows
# rustls-webpki's trust decisions. Keeps the other default features except
# http2: native-tls never negotiated h2 here, so requests stay on HTTP/1.1.
reqwest = { version = "0.12.20", default-features = false, features = [
"json",
"rustls-tls-native-roots",
"charset",
"system-proxy",
] }
rust-bigint = "1.2.0"
serde = "1.0.200"
futures = "0.3.17"
serde_bytes = "0.11.9"
serde_json = "1.0.112"
serde_yaml = "0.9.32"
tokio = { version = "1.28.0" }
tracing = "0.1.37"
tracing-subscriber = "0.3.17"
url = "2.5.7"
comfy-table = "7.1.0"
cynic-codegen = { version = "3.4.0", features = ["rkyv"] }
cynic = "3.7.3"
chrono = "0.4.31"
thiserror = "1.0.56"
strict-yaml-rust = "0.1.2"
dotrain = "6.0.1-alpha.24"
dotrain-lsp = "6.0.1-alpha.24"
rain-metadata = "0.1.1"
rain-metadata-bindings = "0.1.5"
rain-metaboard-subgraph = "0.1.3"
rain_interpreter_bindings = { package = "rainlang_bindings", version = "0.1.15" }
rain_interpreter_dispair = { package = "rainlang_dispair", version = "0.1.10" }
rain_interpreter_parser = { package = "rainlang_parser", version = "0.1.3" }
rain-interpreter-eval = { package = "rainlang-eval", version = "0.1.2" }
csv = "1.3.0"
insta = { version = "1.34.0" }
proptest = "1.4.0"
derive_builder = "0.20.0"
thirtyfour = "0.31.0"
test-context = "0.3.0"
portpicker = "0.1.1"
rain-erc = "0.1.5"
rain-math-float = "0.1.7"
rain-error-decoding = "0.1.2"
# Direct dep required: the #[wasm_bindgen] macro emits `::wasm_bindgen` paths, and
# without a direct dep the 0.2.122 macro recurses without bound on opaque-class
# structs. Crates with bare #[wasm_bindgen] structs (common, js_api) depend on this.
wasm-bindgen = "0.2.122"
wasm-bindgen-utils = "0.1.2"
tempfile = "3.20.0"
eyre = "0.6.12"
tower = "0.5.2"
getrandom = { version = "0.2", features = ["js"] }
itertools = "0.14.0"
[workspace.dependencies.raindex_bindings]
path = "crates/bindings"
[workspace.dependencies.raindex_common]
path = "crates/common"
[workspace.dependencies.raindex_cli]
path = "crates/cli"
[workspace.dependencies.raindex_subgraph_client]
path = "crates/subgraph"
[workspace.dependencies.raindex_app_settings]
path = "crates/settings"
[workspace.dependencies.raindex_quote]
path = "crates/quote"
[workspace.dependencies.raindex_test_fixtures]
path = "crates/test_fixtures"
[workspace.dependencies.raindex_math]
path = "crates/math"
[workspace.dependencies.raindex_js_api]
path = "crates/js_api"
[workspace.dependencies.raindex_rest_api]
path = "crates/rest_api"
# release profile for wasm build optimized for size reduction
[profile.release-wasm]
inherits = "release"
opt-level = "z"
lto = true
strip = true
panic = "abort"
codegen-units = 1
rpath = false
debug = false
incremental = false
overflow-checks = false
debug-assertions = false
split-debuginfo = "packed"