-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (37 loc) · 1.21 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
[lib]
crate-type = ["cdylib", "rlib"]
[package]
name = "rustlink"
version = "0.0.4"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A lightweight and easy-to-use library for periodically retrieving data from the Chainlink decentralized data feed."
repository = "https://github.com/saefstroem/rustlink"
include = ["IAggregatorV3Interface.json","src/**/*.rs", "Cargo.toml"]
keywords = ["crypto", "cryptocurrencies","chainlink","prices","ethereum"]
categories = ["wasm"]
[dependencies]
log = "0.4.21"
reqwest = "0.12.4"
bincode = "1.3.3"
serde = "1.0.201"
thiserror = "1.0.60"
workflow-rs = { version = "0.12.1", features = ["full"] }
# Async-std included for all builds
async-std = "1.12.0"
wasm-bindgen = "0.2.92"
js-sys = "0.3.69"
wasm-bindgen-futures = "0.4.42"
serde-wasm-bindgen = "0.6.5"
futures = "0.3.30"
web-sys = "0.3.69"
serde_json = "1.0.117"
ethers = "2.0.14"
# Dependencies for non-WASM targets
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = "1.37.0"
# Optional dependencies or features specific to WASM can be added here
[target.'cfg(target_arch = "wasm32")'.dependencies]
# Add wasm-specific dependencies if any (e.g. wasm-bindgen, web-sys, etc.)
[lints.clippy]
empty_docs = "allow"