THRIFT-4395: fix rust build on xenial
Client: rs

This closes #1421
diff --git a/lib/rs/Cargo.toml b/lib/rs/Cargo.toml
index be34785..5f8f5e8 100644
--- a/lib/rs/Cargo.toml
+++ b/lib/rs/Cargo.toml
@@ -11,9 +11,9 @@
 keywords = ["thrift"]
 
 [dependencies]
-byteorder = "0.5.3"
-integer-encoding = "1.0.3"
-log = "~0.3.6"
-threadpool = "1.0"
-try_from = "0.2.0"
+byteorder = "~1.1.0"
+integer-encoding = "~1.0.4"
+log = "~0.3.8"
+threadpool = "~1.7.1"
+try_from = "~0.2.2"
 
diff --git a/lib/rs/test/Cargo.toml b/lib/rs/test/Cargo.toml
index 8655a76..50dec19 100644
--- a/lib/rs/test/Cargo.toml
+++ b/lib/rs/test/Cargo.toml
@@ -6,7 +6,7 @@
 publish = false
 
 [dependencies]
-clap = "2.18.0"
+clap = "<2.28.0"
 ordered-float = "0.3.0"
 try_from = "0.2.0"