Repository: arrayfire/arrayfire-rust (language: rust)

Issue:
Bump num to 0.4.0
Description
===========
<!--
* If it is new function you want to add, please raise the feature request on [arrayfire](https://github.com/arrayfire/arrayfire/issues) repository.
* If it is rust specific improvement or enhancement to existing feature, please explain the details.
-->


Num is currently set to 0.2 but the most recent num is 0.4.0. This means my crate that uses 0.4.0 num-complex doesn't work with arrayfire, so I have to recast the pointer. It would be nice if num were up to date with the rest of the num ecosystem.


Discussion / hints:

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index 5f6b859d..7fa026d8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -50,7 +50,7 @@ afserde = ["serde"]
 
 [dependencies]
 libc = "0.2"
-num  = "0.2"
+num  = "0.4.0"
 lazy_static = "1.0"
 half = "1.5.0"
 serde = { version = "1.0", features = ["derive"], optional = true }
@@ -64,7 +64,7 @@ bincode = "1.3"
 serde_json = "1.0"
 serde_derive = "1.0"
 serde = "1.0"
-rustc_version = "0.2"
+rustc_version = "0.3.3"
 
 [[example]]
 name = "helloworld"


Test patch: