[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/starkbamse/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"