Bug 1374937 - Vendor encoding_c 0.7.6 into m-c. r?emk draft
authorHenri Sivonen <hsivonen@hsivonen.fi>
Wed, 21 Jun 2017 09:53:11 +0300
changeset 598370 037fd8822eaf2940eabf88b8a5e7fb33d2479a50
parent 598150 2b07ef4f3381eafab2183a46704bed50800bede3
child 598371 be305b3e804fb2e91a2e19fdad93e755c1f81de0
child 598616 27835e82778884ebb829c659819e02568baaf46a
push id65180
push userVYV03354@nifty.ne.jp
push dateWed, 21 Jun 2017 16:48:08 +0000
reviewersemk
bugs1374937
milestone56.0a1
Bug 1374937 - Vendor encoding_c 0.7.6 into m-c. r?emk MozReview-Commit-ID: 8Nf9DuGyOP9
third_party/rust/encoding_c/.cargo-checksum.json
third_party/rust/encoding_c/Cargo.toml
third_party/rust/encoding_c/README.md
third_party/rust/encoding_c/include/encoding_rs_statics.h
third_party/rust/encoding_c/src/lib.rs
toolkit/library/gtest/rust/Cargo.lock
toolkit/library/rust/Cargo.lock
--- a/third_party/rust/encoding_c/.cargo-checksum.json
+++ b/third_party/rust/encoding_c/.cargo-checksum.json
@@ -1,1 +1,1 @@
-{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","CONTRIBUTING.md":"8cd9262df951c4b42078aa55064ca3b8ef2676c06b8fc7c281c02ee3f1ae04a8","COPYRIGHT":"65fb11bb8d2aac1ea00620273e0595ff71f4a335d25b67acbccbaa1b9ad5a409","Cargo.toml":"e7532cd5f9aba02726720ec8707914e6f5a8ce24401415233def34ec778d31c8","LICENSE-APACHE":"cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30","LICENSE-MIT":"90df74ddb43e7f5aa5068890eacc151ecca7c997c9515cf17aea30b8734075bf","README.md":"1d360a54ac30d2ed84cada251eeaae0ef43c6f2b771856d6c181b592e8f6a471","build-disabled.rs":"d65ed45d33ce834ab9f9f7c5f308e0a72605aa34ede6dca45a2077a2deee5cfa","include/encoding_rs.h":"dc015596eb8b4b0b2e79569a519e81c14301db8f5b96b4013989645a67a73422","include/encoding_rs_cpp.h":"f93c0e2b3e1ec4f1efb1fcee1f43e8d1424faf3e26d7084404c5ba5f2f6a2c4d","include/encoding_rs_statics.h":"800e6aa5aafe2fa3a3826ed0c0a0da34ca9495ff9c75c84845d44b14f5be1078","src/lib.rs":"69ac99046085286c00534b6d107df269cfdd67fc488190d690d2d3e8c01bf916"},"package":"45ef700aebe8c5fb44f081a54ab400f4f6b002a426bc5332381c108f49713432"}
\ No newline at end of file
+{"files":{".cargo-ok":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","CONTRIBUTING.md":"8cd9262df951c4b42078aa55064ca3b8ef2676c06b8fc7c281c02ee3f1ae04a8","COPYRIGHT":"65fb11bb8d2aac1ea00620273e0595ff71f4a335d25b67acbccbaa1b9ad5a409","Cargo.toml":"84c1f6d8f47292881a623857617a3f293a0e0e48d5095a992fbf1ffa18defc72","LICENSE-APACHE":"cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30","LICENSE-MIT":"90df74ddb43e7f5aa5068890eacc151ecca7c997c9515cf17aea30b8734075bf","README.md":"1ee8a369dd5f599399fa52129c1c41dccda9a53b1152c0e08362f63a2f7d978e","build-disabled.rs":"d65ed45d33ce834ab9f9f7c5f308e0a72605aa34ede6dca45a2077a2deee5cfa","include/encoding_rs.h":"dc015596eb8b4b0b2e79569a519e81c14301db8f5b96b4013989645a67a73422","include/encoding_rs_cpp.h":"f93c0e2b3e1ec4f1efb1fcee1f43e8d1424faf3e26d7084404c5ba5f2f6a2c4d","include/encoding_rs_statics.h":"05561c00809483282daab356113c67c31ff5df5bbe4dbfd79a7fa56cf36bbea7","src/lib.rs":"ad3546071aa9ee7cf2c6735ddbfcb4e77e1e9aa5ddce283bc427d73c3e931655"},"package":"1e563195f16d7439103c49281b8b00bd0f223c16e19f0d500448239a27712570"}
\ No newline at end of file
--- a/third_party/rust/encoding_c/Cargo.toml
+++ b/third_party/rust/encoding_c/Cargo.toml
@@ -1,12 +1,12 @@
 [package]
 name = "encoding_c"
 description = "C API for encoding_rs"
-version = "0.7.4"
+version = "0.7.6"
 authors = ["Henri Sivonen <hsivonen@hsivonen.fi>"]
 license = "MIT/Apache-2.0"
 readme = "README.md"
 documentation = "https://docs.rs/encoding_c/"
 homepage = "https://docs.rs/encoding_c/"
 repository = "https://github.com/hsivonen/encoding_c"
 keywords = ["ffi", "capi", "encoding", "unicode", "charset"]
 # Uncomment the line below and rename build-disabled.rs to build.rs to re-run cheddar.
--- a/third_party/rust/encoding_c/README.md
+++ b/third_party/rust/encoding_c/README.md
@@ -18,16 +18,30 @@ usage.
 
 `include/encoding_rs_cpp.h` is a sample C++ API built on top of the C API using
 GSL and the C++ standard library. Since C++ project typically roll their own
 string classes, etc., it's probably necessary for C++ projects to manually
 adapt the header to their replacements of standard-library types.
 
 ## Release Notes
 
+### 0.7.6
+
+* Rename `ENCODING_RS_NON_NULL_CONST_ENCODING_PTR` to
+  `ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR`. (Not a breaking change,
+  because defining that macro broke the build previously, so the
+  macro couldn't have been used.)
+* Use the macro only for statics and not for return values.
+
+### 0.7.5
+
+* Annotate the encoding pointers that should be wrapped with a
+  same-representation not-null type in C++ as
+  `ENCODING_RS_NON_NULL_CONST_ENCODING_PTR`.
+
 ### 0.7.4
 
 * Wrap `has_pending_state()`.
 
 ### 0.7.3
 
 * Use C preprocessor definitions for encoding constant declarations.
 
--- a/third_party/rust/encoding_c/include/encoding_rs_statics.h
+++ b/third_party/rust/encoding_c/include/encoding_rs_statics.h
@@ -18,16 +18,20 @@
 
 #ifndef ENCODING_RS_ENCODING
 #define ENCODING_RS_ENCODING Encoding
 #ifndef __cplusplus
 typedef struct Encoding_ Encoding;
 #endif
 #endif
 
+#ifndef ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR
+#define ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ENCODING_RS_ENCODING*
+#endif
+
 #ifndef ENCODING_RS_ENCODER
 #define ENCODING_RS_ENCODER Encoder
 #ifndef __cplusplus
 typedef struct Encoder_ Encoder;
 #endif
 #endif
 
 #ifndef ENCODING_RS_DECODER
@@ -40,128 +44,128 @@ typedef struct Decoder_ Decoder;
 #define INPUT_EMPTY 0
 
 #define OUTPUT_FULL 0xFFFFFFFF
 
 // x-mac-cyrillic
 #define ENCODING_NAME_MAX_LENGTH 14
 
 /// The Big5 encoding.
-extern const ENCODING_RS_ENCODING* const BIG5_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const BIG5_ENCODING;
 
 /// The EUC-JP encoding.
-extern const ENCODING_RS_ENCODING* const EUC_JP_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const EUC_JP_ENCODING;
 
 /// The EUC-KR encoding.
-extern const ENCODING_RS_ENCODING* const EUC_KR_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const EUC_KR_ENCODING;
 
 /// The GBK encoding.
-extern const ENCODING_RS_ENCODING* const GBK_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const GBK_ENCODING;
 
 /// The IBM866 encoding.
-extern const ENCODING_RS_ENCODING* const IBM866_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const IBM866_ENCODING;
 
 /// The ISO-2022-JP encoding.
-extern const ENCODING_RS_ENCODING* const ISO_2022_JP_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_2022_JP_ENCODING;
 
 /// The ISO-8859-10 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_10_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_10_ENCODING;
 
 /// The ISO-8859-13 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_13_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_13_ENCODING;
 
 /// The ISO-8859-14 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_14_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_14_ENCODING;
 
 /// The ISO-8859-15 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_15_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_15_ENCODING;
 
 /// The ISO-8859-16 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_16_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_16_ENCODING;
 
 /// The ISO-8859-2 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_2_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_2_ENCODING;
 
 /// The ISO-8859-3 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_3_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_3_ENCODING;
 
 /// The ISO-8859-4 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_4_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_4_ENCODING;
 
 /// The ISO-8859-5 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_5_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_5_ENCODING;
 
 /// The ISO-8859-6 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_6_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_6_ENCODING;
 
 /// The ISO-8859-7 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_7_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_7_ENCODING;
 
 /// The ISO-8859-8 encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_8_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_8_ENCODING;
 
 /// The ISO-8859-8-I encoding.
-extern const ENCODING_RS_ENCODING* const ISO_8859_8_I_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const ISO_8859_8_I_ENCODING;
 
 /// The KOI8-R encoding.
-extern const ENCODING_RS_ENCODING* const KOI8_R_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const KOI8_R_ENCODING;
 
 /// The KOI8-U encoding.
-extern const ENCODING_RS_ENCODING* const KOI8_U_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const KOI8_U_ENCODING;
 
 /// The Shift_JIS encoding.
-extern const ENCODING_RS_ENCODING* const SHIFT_JIS_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const SHIFT_JIS_ENCODING;
 
 /// The UTF-16BE encoding.
-extern const ENCODING_RS_ENCODING* const UTF_16BE_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const UTF_16BE_ENCODING;
 
 /// The UTF-16LE encoding.
-extern const ENCODING_RS_ENCODING* const UTF_16LE_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const UTF_16LE_ENCODING;
 
 /// The UTF-8 encoding.
-extern const ENCODING_RS_ENCODING* const UTF_8_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const UTF_8_ENCODING;
 
 /// The gb18030 encoding.
-extern const ENCODING_RS_ENCODING* const GB18030_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const GB18030_ENCODING;
 
 /// The macintosh encoding.
-extern const ENCODING_RS_ENCODING* const MACINTOSH_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const MACINTOSH_ENCODING;
 
 /// The replacement encoding.
-extern const ENCODING_RS_ENCODING* const REPLACEMENT_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const REPLACEMENT_ENCODING;
 
 /// The windows-1250 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_1250_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1250_ENCODING;
 
 /// The windows-1251 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_1251_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1251_ENCODING;
 
 /// The windows-1252 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_1252_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1252_ENCODING;
 
 /// The windows-1253 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_1253_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1253_ENCODING;
 
 /// The windows-1254 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_1254_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1254_ENCODING;
 
 /// The windows-1255 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_1255_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1255_ENCODING;
 
 /// The windows-1256 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_1256_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1256_ENCODING;
 
 /// The windows-1257 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_1257_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1257_ENCODING;
 
 /// The windows-1258 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_1258_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_1258_ENCODING;
 
 /// The windows-874 encoding.
-extern const ENCODING_RS_ENCODING* const WINDOWS_874_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const WINDOWS_874_ENCODING;
 
 /// The x-mac-cyrillic encoding.
-extern const ENCODING_RS_ENCODING* const X_MAC_CYRILLIC_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const X_MAC_CYRILLIC_ENCODING;
 
 /// The x-user-defined encoding.
-extern const ENCODING_RS_ENCODING* const X_USER_DEFINED_ENCODING;
+extern ENCODING_RS_NOT_NULL_CONST_ENCODING_PTR const X_USER_DEFINED_ENCODING;
 
 #endif // encoding_rs_statics_h_
--- a/third_party/rust/encoding_c/src/lib.rs
+++ b/third_party/rust/encoding_c/src/lib.rs
@@ -2,17 +2,17 @@
 // file at the top-level directory of this distribution.
 //
 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
 // https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
 // <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![doc(html_root_url = "https://docs.rs/encoding_c/0.7.4")]
+#![doc(html_root_url = "https://docs.rs/encoding_c/0.7.6")]
 
 //! The C API for encoding_rs.
 //!
 //! # Mapping from Rust
 //!
 //! ## Naming convention
 //!
 //! The wrapper function for each method has a name that starts with the name
--- a/toolkit/library/gtest/rust/Cargo.lock
+++ b/toolkit/library/gtest/rust/Cargo.lock
@@ -281,17 +281,17 @@ dependencies = [
 
 [[package]]
 name = "either"
 version = "1.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "encoding_c"
-version = "0.7.4"
+version = "0.7.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 dependencies = [
  "encoding_rs 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)",
 ]
 
 [[package]]
 name = "encoding_glue"
 version = "0.1.0"
@@ -381,17 +381,17 @@ dependencies = [
  "style_traits 0.0.1",
 ]
 
 [[package]]
 name = "gkrust-shared"
 version = "0.1.0"
 dependencies = [
  "cubeb-pulse 0.0.1",
- "encoding_c 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "encoding_c 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
  "encoding_glue 0.1.0",
  "geckoservo 0.0.1",
  "mp4parse_capi 0.8.0",
  "nserror 0.1.0",
  "nsstring 0.1.0",
  "rust_url_capi 0.0.1",
  "webrender_bindings 0.1.0",
 ]
@@ -1253,17 +1253,17 @@ dependencies = [
 "checksum core-foundation 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f51ce3b8ebe311c56de14231eb57572c15abebd2d32b3bcb99bcdb9c101f5ac3"
 "checksum core-foundation-sys 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "41115a6aa5d3e1e5ef98148373f25971d1fad53818553f216495f9e67e90a624"
 "checksum core-graphics 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a9f841e9637adec70838c537cae52cb4c751cc6514ad05669b51d107c2021c79"
 "checksum core-text 5.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7c42ae17408d6b881992268f638257e67303fc7c6c88723dbc0fe5889b22c0bc"
 "checksum cssparser 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3c711c0c610b1e5fc2bf96e325b2d9f85839a8e71f6279a77c194af5dcafa502"
 "checksum cssparser-macros 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "079adec4af52bb5275eadd004292028c79eb3c5f5b4ee8086a36d4197032f6df"
 "checksum dwrote 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "36e3b27cd0b8a68e00f07e8d8e1e4f4d8a6b8b873290a734f63bd56d792d23e1"
 "checksum either 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "18785c1ba806c258137c937e44ada9ee7e69a37e3c72077542cd2f069d78562a"
-"checksum encoding_c 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "45ef700aebe8c5fb44f081a54ab400f4f6b002a426bc5332381c108f49713432"
+"checksum encoding_c 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "1e563195f16d7439103c49281b8b00bd0f223c16e19f0d500448239a27712570"
 "checksum encoding_rs 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)" = "e00a1b1e95eb46988805ceee6f34cd95c46a6753e290cb3ff0486931989d4a4c"
 "checksum env_logger 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ed39959122ea027670b704fb70539f4286ddf4a49eefede23bf0b4b2a069ec03"
 "checksum euclid 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)" = "afc5fcf274fa860e18379115ac336e9b41553f61c9ed34ad09e8101ed3defae2"
 "checksum fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6cc484842f1e2884faf56f529f960cc12ad8c71ce96cc7abba0a067c98fee344"
 "checksum freetype 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fde23272c687e4570aefec06cb71174ec0f5284b725deac4e77ba2665d635faf"
 "checksum futures 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "55f0008e13fc853f79ea8fc86e931486860d4c4c156cdffb59fa5f7fa833660a"
 "checksum gamma-lut 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "41f72af1e933f296b827361eb9e70d0267abf8ad0de9ec7fa667bbe67177b297"
 "checksum gdi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0912515a8ff24ba900422ecda800b52f4016a56251922d397c576bf92c690518"
--- a/toolkit/library/rust/Cargo.lock
+++ b/toolkit/library/rust/Cargo.lock
@@ -279,17 +279,17 @@ dependencies = [
 
 [[package]]
 name = "either"
 version = "1.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "encoding_c"
-version = "0.7.4"
+version = "0.7.6"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 dependencies = [
  "encoding_rs 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)",
 ]
 
 [[package]]
 name = "encoding_glue"
 version = "0.1.0"
@@ -379,17 +379,17 @@ dependencies = [
  "style_traits 0.0.1",
 ]
 
 [[package]]
 name = "gkrust-shared"
 version = "0.1.0"
 dependencies = [
  "cubeb-pulse 0.0.1",
- "encoding_c 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "encoding_c 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
  "encoding_glue 0.1.0",
  "geckoservo 0.0.1",
  "mp4parse_capi 0.8.0",
  "nserror 0.1.0",
  "nsstring 0.1.0",
  "rust_url_capi 0.0.1",
  "webrender_bindings 0.1.0",
 ]
@@ -1240,17 +1240,17 @@ dependencies = [
 "checksum core-foundation 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f51ce3b8ebe311c56de14231eb57572c15abebd2d32b3bcb99bcdb9c101f5ac3"
 "checksum core-foundation-sys 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "41115a6aa5d3e1e5ef98148373f25971d1fad53818553f216495f9e67e90a624"
 "checksum core-graphics 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a9f841e9637adec70838c537cae52cb4c751cc6514ad05669b51d107c2021c79"
 "checksum core-text 5.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7c42ae17408d6b881992268f638257e67303fc7c6c88723dbc0fe5889b22c0bc"
 "checksum cssparser 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3c711c0c610b1e5fc2bf96e325b2d9f85839a8e71f6279a77c194af5dcafa502"
 "checksum cssparser-macros 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "079adec4af52bb5275eadd004292028c79eb3c5f5b4ee8086a36d4197032f6df"
 "checksum dwrote 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "36e3b27cd0b8a68e00f07e8d8e1e4f4d8a6b8b873290a734f63bd56d792d23e1"
 "checksum either 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "18785c1ba806c258137c937e44ada9ee7e69a37e3c72077542cd2f069d78562a"
-"checksum encoding_c 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "45ef700aebe8c5fb44f081a54ab400f4f6b002a426bc5332381c108f49713432"
+"checksum encoding_c 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "1e563195f16d7439103c49281b8b00bd0f223c16e19f0d500448239a27712570"
 "checksum encoding_rs 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)" = "e00a1b1e95eb46988805ceee6f34cd95c46a6753e290cb3ff0486931989d4a4c"
 "checksum env_logger 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ed39959122ea027670b704fb70539f4286ddf4a49eefede23bf0b4b2a069ec03"
 "checksum euclid 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)" = "afc5fcf274fa860e18379115ac336e9b41553f61c9ed34ad09e8101ed3defae2"
 "checksum fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6cc484842f1e2884faf56f529f960cc12ad8c71ce96cc7abba0a067c98fee344"
 "checksum freetype 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fde23272c687e4570aefec06cb71174ec0f5284b725deac4e77ba2665d635faf"
 "checksum futures 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "55f0008e13fc853f79ea8fc86e931486860d4c4c156cdffb59fa5f7fa833660a"
 "checksum gamma-lut 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "41f72af1e933f296b827361eb9e70d0267abf8ad0de9ec7fa667bbe67177b297"
 "checksum gdi32-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0912515a8ff24ba900422ecda800b52f4016a56251922d397c576bf92c690518"