diff --git a/.travis.yml b/.travis.yml
index 03e6c5cc..ba61ded8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,6 +32,6 @@ after_success: |
cp -r serde_macros/target/doc target/doc/serde_macros &&
cp -r serde_json/target/doc target/doc/serde_json &&
echo "" > target/doc/index.html &&
- sudo pip install ghp-import &&
+ pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
diff --git a/serde/Cargo.toml b/serde/Cargo.toml
index 0c6d7cbd..260c6898 100644
--- a/serde/Cargo.toml
+++ b/serde/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["Erick Tryzelaar "]
license = "MIT/Apache-2.0"
description = "A generic serialization/deserialization framework"
repository = "https://github.com/serde-rs/serde"
-documentation = "http://serde-rs.github.io/serde/serde"
+documentation = "https://serde-rs.github.io/serde/serde/serde/index.html"
readme = "../README.md"
-keywords = ["serialization"]
+keywords = ["serde", "serialization"]
[dependencies]
num = "*"
diff --git a/serde_codegen/Cargo.toml b/serde_codegen/Cargo.toml
index 91d519e4..07920832 100644
--- a/serde_codegen/Cargo.toml
+++ b/serde_codegen/Cargo.toml
@@ -5,7 +5,9 @@ authors = ["Erick Tryzelaar "]
license = "MIT/Apache-2.0"
description = "Macros to auto-generate implementations for the serde framework"
repository = "https://github.com/serde-rs/serde"
+documentation = "https://serde-rs.github.io/serde/serde_codegen/serde_codegen/index.html"
build = "build.rs"
+keywords = ["serde", "serialization"]
[features]
default = ["with-syntex"]
diff --git a/serde_json/Cargo.toml b/serde_json/Cargo.toml
index 5c1375c4..948041c3 100644
--- a/serde_json/Cargo.toml
+++ b/serde_json/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["Erick Tryzelaar "]
license = "MIT/Apache-2.0"
description = "A JSON serialization file format"
repository = "https://github.com/serde-rs/serde"
-documentation = "http://serde-rs.github.io/serde/serde"
+documentation = "https://serde-rs.github.io/serde/serde_json/serde_json/index.html"
readme = "../README.md"
-keywords = ["serialization", "json"]
+keywords = ["json", "serde", "serialization"]
[dependencies]
num = "*"
diff --git a/serde_json/src/de.rs b/serde_json/src/de.rs
index c66b5007..6940f94f 100644
--- a/serde_json/src/de.rs
+++ b/serde_json/src/de.rs
@@ -54,8 +54,14 @@ impl Deserializer
match self.ch {
Some(ch) => Ok(Some(ch)),
None => {
- self.ch = try!(self.next_char());
- Ok(self.ch)
+ match self.rdr.next() {
+ Some(Err(err)) => Err(Error::IoError(err)),
+ Some(Ok(ch)) => {
+ self.ch = Some(ch);
+ Ok(self.ch)
+ }
+ None => Ok(None),
+ }
}
}
}
diff --git a/serde_macros/Cargo.toml b/serde_macros/Cargo.toml
index ffb1ca48..2626d32a 100644
--- a/serde_macros/Cargo.toml
+++ b/serde_macros/Cargo.toml
@@ -5,6 +5,8 @@ authors = ["Erick Tryzelaar "]
license = "MIT/Apache-2.0"
description = "Macros to auto-generate implementations for the serde framework"
repository = "https://github.com/serde-rs/serde"
+documentation = "https://github.com/serde-rs/serde"
+keywords = ["serde", "serialization"]
[lib]
name = "serde_macros"