wasm-bindgen/crates
Alex Crichton 935f71afec
Switch from failure to anyhow (#1851)
This commit switches all of `wasm-bindgen` from the `failure` crate to
`anyhow`. The `anyhow` crate should serve all the purposes that we
previously used `failure` for but has a few advantages:

* It's based on the standard `Error` trait rather than a custom `Fail`
  trait, improving ecosystem compatibility.
* We don't need a `#[derive(Fail)]`, which means that's less code to
  compile for `wasm-bindgen`. This notably helps the compile time of
  `web-sys` itself.
* Using `Result<()>` in `fn main` with `anyhow::Error` produces
  human-readable output, so we can use that natively.
2019-11-04 11:35:28 -06:00
..
anyref-xform Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
backend Bump to 0.2.53 (#1840) 2019-10-29 09:37:37 -05:00
cli Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
cli-support Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
futures Bump to 0.2.53 (#1840) 2019-10-29 09:37:37 -05:00
js-sys Adding in to_vec method for typed arrays (#1844) 2019-10-29 18:10:18 -05:00
macro Bump to 0.2.53 (#1840) 2019-10-29 09:37:37 -05:00
macro-support Bump to 0.2.53 (#1840) 2019-10-29 09:37:37 -05:00
multi-value-xform Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
shared Bump to 0.2.53 (#1840) 2019-10-29 09:37:37 -05:00
test Bump to 0.2.53 (#1840) 2019-10-29 09:37:37 -05:00
test-macro Bump to 0.2.53 (#1840) 2019-10-29 09:37:37 -05:00
threads-xform Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
typescript Upgrade to syn/quote 1.0 2019-08-13 10:37:08 -07:00
typescript-tests Fix warning about dead code when testing on non-wasm32 targets 2019-07-09 13:17:52 -07:00
wasm-conventions Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
wasm-interpreter Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
web-sys Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
webidl Switch from failure to anyhow (#1851) 2019-11-04 11:35:28 -06:00
webidl-tests Fix return type of WebIDL indexing getters (#1789) 2019-10-03 19:48:37 -05:00