Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (88 loc) · 3.88 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (88 loc) · 3.88 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
[workspace]
resolver = "2"
members = [
"bindings/wasm/iota-sdk-wasm",
"crates/integration-tests",
"crates/iota-sdk",
"crates/iota-sdk-bcs-schema",
"crates/iota-sdk-crypto",
"crates/iota-sdk-ffi",
"crates/iota-sdk-graphql-client",
"crates/iota-sdk-graphql-client-build",
"crates/iota-sdk-grpc-client",
"crates/iota-sdk-grpc-proto-build",
"crates/iota-sdk-grpc-types",
"crates/iota-sdk-move-types",
"crates/iota-sdk-move-types/examples/capture_move_type_fixtures",
"crates/iota-sdk-transaction-builder",
"crates/iota-sdk-types",
"crates/iota-sdk/examples/polling-indexer",
]
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
[workspace.lints.clippy]
redundant_clone = "warn"
uninlined_format_args = "warn"
unused_async = "warn"
[workspace.dependencies]
# external dependencies
async-stream = "0.3"
base64ct = "1.8.3"
bcs = "0.2.1"
cynic = "3.14.0"
derive_more = "2.1.1"
eyre = "0.6"
futures = "0.3.34"
getrandom_2 = { version = "0.2", package = "getrandom", features = ["js"] }
getrandom_3 = { version = "0.3", package = "getrandom", features = ["wasm_js"] }
getrandom_4 = { version = "0.4", package = "getrandom", features = ["sys_rng", "wasm_js"] }
graphql-ws-client = { version = "0.13", default-features = false, features = ["client-cynic"] }
hex = "0.4.3"
js-sys = "0.3"
paste = "1.0.15"
primitive-types = { version = "0.14", features = ["impl-serde"] }
proc-macro2 = "1"
proptest = { version = "1.11.0", default-features = false }
prost = "0.14"
prost-types = "0.14"
quote = "1"
rand = "0.10.2"
rand_core = "0.10.1"
reqwest = { version = "0.13", default-features = false }
serde = "1.0.229"
serde_json = "1.0.151"
strum = "0.28.0"
syn = { version = "3", features = ["full"] }
test-strategy = "0.4.5"
thiserror = "2.0"
tokio = "1.53.1"
tokio-tungstenite = { version = "0.28", default-features = false, features = ["connect", "rustls-tls-webpki-roots"] }
tonic = "0.14"
tracing = "0.1"
variadics_please = "2.0"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
wasm-bindgen-test = "0.3"
webpki-root-certs = "1"
ws_stream_wasm = "0.7"
# internal dependencies
iota-bcs-schema = { version = "1.0.0-rc.1", package = "iota-sdk-bcs-schema", path = "crates/iota-sdk-bcs-schema" }
iota-crypto = { version = "1.0.0-rc.2", package = "iota-sdk-crypto", path = "crates/iota-sdk-crypto", default-features = false }
iota-graphql-client = { version = "1.0.0-rc.2", package = "iota-sdk-graphql-client", path = "crates/iota-sdk-graphql-client", default-features = false }
iota-graphql-client-build = { version = "1.0.0-rc.1", package = "iota-sdk-graphql-client-build", path = "crates/iota-sdk-graphql-client-build", default-features = false }
iota-grpc-client = { version = "1.0.0-rc.2", package = "iota-sdk-grpc-client", path = "crates/iota-sdk-grpc-client", default-features = false }
iota-grpc-proto-build = { version = "0.0.1-alpha.1", package = "iota-sdk-grpc-proto-build", path = "crates/iota-sdk-grpc-proto-build", default-features = false }
iota-grpc-types = { version = "1.0.0-rc.1", package = "iota-sdk-grpc-types", path = "crates/iota-sdk-grpc-types", default-features = false }
iota-move-types = { version = "1.0.0-rc.2", package = "iota-sdk-move-types", path = "crates/iota-sdk-move-types", default-features = false }
iota-sdk = { version = "3.0.0-rc.1", package = "iota-sdk", path = "crates/iota-sdk", default-features = false }
iota-transaction-builder = { version = "1.0.0-rc.2", package = "iota-sdk-transaction-builder", path = "crates/iota-sdk-transaction-builder", default-features = false }
iota-types = { version = "1.0.0-rc.2", package = "iota-sdk-types", path = "crates/iota-sdk-types", default-features = false }
# Custom profile for WASM builds — optimizes for binary size.
# Usage: cargo build -p iota-sdk-wasm --profile wasm-release --target wasm32-unknown-unknown
[profile.wasm-release]
codegen-units = 1
inherits = "release"
lto = true
opt-level = "z"
panic = "abort"
strip = true