Skip to content

Commit 55d3786

Browse files
authored
Merge pull request tensorflow#221 from adamcrume/master
Update dependencies
2 parents d3a0090 + c2313fd commit 55d3786

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ documentation = "https://tensorflow.github.io/rust/tensorflow"
1111
edition = "2018"
1212

1313
[dependencies]
14-
libc = "0.2.43"
14+
libc = "0.2.62"
1515
aligned_alloc = "0.1.3"
16-
num-complex = { version = "0.2.1", default-features = false }
16+
num-complex = { version = "0.2.3", default-features = false }
1717
tensorflow-internal-macros = { version = "=0.0.1", path = "tensorflow-internal-macros" }
1818
tensorflow-sys = { version = "0.17.0", path = "tensorflow-sys" }
19-
byteorder = "1.2.7"
19+
byteorder = "1.3.2"
2020
crc = "1.8.1"
2121
half = "1.3.0"
2222

tensorflow-internal-macros/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ edition = "2018"
1515
proc-macro = true
1616

1717
[dependencies]
18-
quote = "0.6"
19-
syn = { version = "0.15.36", features = ["extra-traits"] }
20-
proc-macro2 = "0.4"
18+
quote = "1.0.2"
19+
syn = { version = "1.0.5", features = ["extra-traits"] }
20+
proc-macro2 = "1.0.4"

tensorflow-sys/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ edition = "2018"
1818
libc = "0.2.43"
1919

2020
[build-dependencies]
21-
curl = "0.4.19"
22-
flate2 = "1.0.4"
23-
pkg-config = "0.3.14"
21+
curl = "0.4.24"
22+
flate2 = "1.0.12"
23+
pkg-config = "0.3.16"
2424
semver = "0.9.0"
25-
tar = "0.4.19"
25+
tar = "0.4.26"
2626

2727
[features]
2828
tensorflow_gpu = []

tensorflow-sys/examples/multiplication.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use libc::{c_int, int64_t, size_t};
1+
use libc::{c_int, size_t};
22
use std::ffi::{CStr, CString};
33
use std::mem;
44
use std::os::raw::c_void;
@@ -52,7 +52,7 @@ fn main() {
5252

5353
let name = CString::new("a").unwrap();
5454
let mut data = vec![1f32, 2.0, 3.0];
55-
let dims = vec![data.len() as int64_t];
55+
let dims = vec![data.len() as i64];
5656
let input_tensor1 = nonnull!(ffi::TF_NewTensor(
5757
ffi::TF_FLOAT,
5858
dims.as_ptr(),
@@ -72,7 +72,7 @@ fn main() {
7272

7373
let name = CString::new("b").unwrap();
7474
let mut data = vec![4f32, 5.0, 6.0];
75-
let dims = vec![data.len() as int64_t];
75+
let dims = vec![data.len() as i64];
7676
let input_tensor2 = nonnull!(ffi::TF_NewTensor(
7777
ffi::TF_FLOAT,
7878
dims.as_ptr(),

0 commit comments

Comments
 (0)