silver_surf

Crates.iosilver_surf
lib.rssilver_surf
version0.1.4
sourcesrc
created_at2020-04-27 12:46:51.679084
updated_at2020-06-08 12:02:19.645615
descriptionA wrapper arround surf
homepage
repositoryhttps://github.com/lenscas/silver_surf
max_upload_size
id234645
size8,740
(lenscas)

documentation

README

Silver_surf

Made for use in card_game.

Silver surf is a wrapper around surf to get rid of the builder pattern that surf uses and replaces it with a config struct. Optionally, you can enable the stdweb wrapper if you want to build for the web but don't want to use wasm-bindgen.

let res = call::<()>(Config {
    url: "your_url".into(),
    method: Method::Get,
    body: None,
    headers: None,
}).json::<YourStruct>().await;
Commit count: 32

cargo fmt