[package] name = "silver_surf" version = "0.1.4" authors = ["lenscas "] edition = "2018" keywords = ["http-client", "async", "quicksilver", "wasm"] license = "MIT/Apache-2.0" repository = "https://github.com/lenscas/silver_surf" description = "A wrapper arround surf" readme = "README.md" [features] default=["std-web"] std-web = ["stdweb"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [target.'cfg(not(target_arch = "wasm32"))'.dependencies] surf = {version="= 2.0.0-alpha.1"} http-client = { version = "2.0.0", features = ["native_client"] } [target.'cfg(target_arch = "wasm32")'.dependencies] stdweb={version="0.4.20",features = ["experimental_features_which_may_break_on_minor_version_bumps"], optional=true} [dependencies] serde = ">1.0.0" serde_json = ">1.0.0"