seed-rs / seed

A Rust framework for creating web apps
MIT License
3.81k stars 155 forks source link

Seed doesn't compile with `default-features = false` #704

Closed dullbananas closed 1 year ago

dullbananas commented 1 year ago
error[E0432]: unresolved import `json`
  --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/seed-0.9.2/src/browser/fetch.rs:46:9
   |
46 | pub use json::Error as JsonError;
   |         ^^^^ use of undeclared crate or module `json`
flosse commented 1 year ago

You need either serde-json or serde-wasm-bindgen. Ideally seed would be more modular but someone has to do it (see #672).

flosse commented 1 year ago

obsolete since v0.10.0