Closed
Description
Summary
A clear and concise summary of your question.
Module not found: Error: Can't resolve 'env' in 'D:\project\rust\wasm-pack-template\pkg'
Additional Details
Provide any additional details here.
when i add it to lib.rs
#[wasm_bindgen]
pub fn parseTest() -> String{
let resp = ureq::get("www.google.com")
.call();
let text = resp.into_string().unwrap();
text
}
cargo.toml add
ureq = { version = "0.11.2", features = ["json"] }