Use try_from instead of the cast crate.

`try_from` is newly stable in the standard library starting in Rust 1.34.
This commit is contained in:
Dan Gohman
2019-05-31 10:11:22 -07:00
committed by Jakub Konka
parent 51fc39e0e6
commit 9a66400cd8
3 changed files with 7 additions and 14 deletions

View File

@@ -11,7 +11,6 @@ license = "Apache-2.0 WITH LLVM-exception"
[dependencies]
wasi-common-cbindgen = { path = "wasi-common-cbindgen" }
cast = "0.2"
failure = "0.1"
libc = "0.2"
rand = "0.6"
@@ -27,4 +26,4 @@ winapi = { version = "0.3", features=["std", "handleapi", "processthreadsapi", "
name = "wasi_common"
crate-type = ["rlib", "staticlib", "cdylib"]
[workspace]
[workspace]