Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

chore: allow unused http_get #674

Merged
merged 3 commits into from
Dec 11, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ethers-contract/ethers-contract-abigen/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ where
}

/// Perform an HTTP GET request and return the contents of the response.
#[allow(unused)]
mattsse marked this conversation as resolved.
Show resolved Hide resolved
pub fn http_get(_url: &str) -> Result<String> {
cfg_if! {
if #[cfg(any(target_arch = "wasm32", not(feature = "reqwest")))]{
Expand Down