Snap for 5988121 from ba84d82c1d80abd16b655a07f1d94e83576c0a33 to qt-aml-networking-release

Change-Id: I70edeb9dfe44da76a55847f1b9a3bbe8313e81b6
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
new file mode 100644
index 0000000..e7e8b81
--- /dev/null
+++ b/.cargo_vcs_info.json
@@ -0,0 +1,5 @@
+{
+  "git": {
+    "sha1": "058237661a88c2f610f280340310fce19d98d265"
+  }
+}
diff --git a/Android.bp b/Android.bp
index 063c62e..67c1b88 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,5 @@
+// This file is generated by cargo2android.py.
+
 rust_library_rlib {
     name: "libbyteorder",
     host_supported: true,
@@ -5,7 +7,10 @@
     srcs: ["src/lib.rs"],
     edition: "2015",
     features: [
+        "default",
         "std",
-        "i128",
+    ],
+    flags: [
+        "--cfg byteorder_i128",
     ],
 }
diff --git a/Cargo.toml b/Cargo.toml
index 91f2aa3..fb2acad 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,38 +1,48 @@
+# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
+#
+# When uploading crates to the registry Cargo will automatically
+# "normalize" Cargo.toml files for maximal compatibility
+# with all versions of Cargo and also rewrite `path` dependencies
+# to registry (e.g., crates.io) dependencies
+#
+# If you believe there's an error in this file please file an
+# issue against the rust-lang/cargo repository. If you're
+# editing this file be aware that the upstream Cargo.toml
+# will likely look very different (and much more reasonable)
+
 [package]
 name = "byteorder"
-version = "1.3.2"  #:version
+version = "1.3.2"
 authors = ["Andrew Gallant <jamslam@gmail.com>"]
-description = "Library for reading/writing numbers in big-endian and little-endian."
-documentation = "https://docs.rs/byteorder"
-homepage = "https://github.com/BurntSushi/byteorder"
-repository = "https://github.com/BurntSushi/byteorder"
-readme = "README.md"
-categories = ["encoding", "parsing"]
-keywords = ["byte", "endian", "big-endian", "little-endian", "binary"]
-license = "Unlicense OR MIT"
-exclude = ["/ci/*"]
 build = "build.rs"
+exclude = ["/ci/*"]
+description = "Library for reading/writing numbers in big-endian and little-endian."
+homepage = "https://github.com/BurntSushi/byteorder"
+documentation = "https://docs.rs/byteorder"
+readme = "README.md"
+keywords = ["byte", "endian", "big-endian", "little-endian", "binary"]
+categories = ["encoding", "parsing"]
+license = "Unlicense OR MIT"
+repository = "https://github.com/BurntSushi/byteorder"
+[profile.bench]
+opt-level = 3
 
 [lib]
 name = "byteorder"
 bench = false
+[dev-dependencies.doc-comment]
+version = "0.3"
 
-[dev-dependencies]
-quickcheck = { version = "0.8", default-features = false }
-rand = "0.6"
-doc-comment = "0.3"
+[dev-dependencies.quickcheck]
+version = "0.8"
+default-features = false
+
+[dev-dependencies.rand]
+version = "0.6"
 
 [features]
 default = ["std"]
-std = []
-
-# This feature is no longer used and is DEPRECATED. This crate now
-# automatically enables i128 support for Rust compilers that support it. The
-# feature will be removed if and when a new major version is released.
 i128 = []
-
-[profile.bench]
-opt-level = 3
-
-[badges]
-travis-ci = { repository = "BurntSushi/byteorder" }
+std = []
+[badges.travis-ci]
+repository = "BurntSushi/byteorder"
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
new file mode 100644
index 0000000..91f2aa3
--- /dev/null
+++ b/Cargo.toml.orig
@@ -0,0 +1,38 @@
+[package]
+name = "byteorder"
+version = "1.3.2"  #:version
+authors = ["Andrew Gallant <jamslam@gmail.com>"]
+description = "Library for reading/writing numbers in big-endian and little-endian."
+documentation = "https://docs.rs/byteorder"
+homepage = "https://github.com/BurntSushi/byteorder"
+repository = "https://github.com/BurntSushi/byteorder"
+readme = "README.md"
+categories = ["encoding", "parsing"]
+keywords = ["byte", "endian", "big-endian", "little-endian", "binary"]
+license = "Unlicense OR MIT"
+exclude = ["/ci/*"]
+build = "build.rs"
+
+[lib]
+name = "byteorder"
+bench = false
+
+[dev-dependencies]
+quickcheck = { version = "0.8", default-features = false }
+rand = "0.6"
+doc-comment = "0.3"
+
+[features]
+default = ["std"]
+std = []
+
+# This feature is no longer used and is DEPRECATED. This crate now
+# automatically enables i128 support for Rust compilers that support it. The
+# feature will be removed if and when a new major version is released.
+i128 = []
+
+[profile.bench]
+opt-level = 3
+
+[badges]
+travis-ci = { repository = "BurntSushi/byteorder" }
diff --git a/ci/script.sh b/ci/script.sh
deleted file mode 100755
index 596e2d5..0000000
--- a/ci/script.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-
-set -ex
-
-# Setup some variables for executing cargo commands.
-# Things are a little different if we're testing with cross.
-if [ ! -z "$CROSS_TARGET" ]; then
-  rustup target add "$CROSS_TARGET"
-  cargo install cross --force
-  export CARGO_CMD="cross"
-  export TARGET_PARAM="--target $CROSS_TARGET"
-else
-  export CARGO_CMD="cargo"
-  export TARGET_PARAM=""
-fi
-
-# Test the build and docs.
-"$CARGO_CMD" build --verbose $TARGET_PARAM
-"$CARGO_CMD" doc --verbose $TARGET_PARAM
-
-# If we're testing on an older version of Rust, then only check that we
-# can build the crate. This is because the dev dependencies might be updated
-# more frequently, and therefore might require a newer version of Rust.
-#
-# This isn't ideal. It's a compromise.
-if [ "$TRAVIS_RUST_VERSION" = "1.12.0" ]; then
-  exit
-fi
-
-"$CARGO_CMD" test --verbose $TARGET_PARAM
-"$CARGO_CMD" test --verbose --no-default-features --lib $TARGET_PARAM
-if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
-  "$CARGO_CMD" test \
-    --verbose --features i128 $TARGET_PARAM
-  "$CARGO_CMD" test \
-    --verbose --no-default-features --features i128 --lib $TARGET_PARAM
-  "$CARGO_CMD" bench \
-    --verbose --no-run $TARGET_PARAM
-  "$CARGO_CMD" bench \
-    --verbose --no-run --no-default-features $TARGET_PARAM
-  "$CARGO_CMD" bench \
-    --verbose --no-run --features i128 $TARGET_PARAM
-  "$CARGO_CMD" bench \
-    --verbose --no-run --no-default-features --features i128 $TARGET_PARAM
-fi