From 906da2f0c7f45db03054f3911e97c51b060ab34c Mon Sep 17 00:00:00 2001 From: Raiyan Sayeed Date: Mon, 7 Sep 2020 05:12:15 +0000 Subject: [PATCH] added option for borderless fullscreen in setting -> graphics menu --- CHANGELOG.md | 1 + Cargo.lock | 719 ++++++++++++++--------------- assets/voxygen/i18n/en.ron | 5 +- voxygen/src/hud/mod.rs | 28 +- voxygen/src/hud/settings_window.rs | 114 +++-- voxygen/src/hud/spell.rs | 4 +- voxygen/src/session.rs | 43 +- voxygen/src/settings.rs | 12 +- voxygen/src/ui/mod.rs | 1 + voxygen/src/window.rs | 89 ++-- 10 files changed, 511 insertions(+), 505 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef81ea0f2f..8e1df88d1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Some more combat sound effects - Beehives and bees - Fireflies +- Fullscreen modes now show two options (exclusive and borderless) ### Changed diff --git a/Cargo.lock b/Cargo.lock index 58b7176035..b50a8d3d0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,24 +2,18 @@ # It is not intended for manual editing. [[package]] name = "addr2line" -version = "0.13.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b6a2d3371669ab3ca9797670853d61402b03d0b4b9ebf33d677dfa720203072" +checksum = "a49806b9dadc843c61e7c97e72490ad7f7220ae249012fbda9ad0609457c0543" dependencies = [ "gimli", ] -[[package]] -name = "adler" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e" - [[package]] name = "adler32" -version = "1.2.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234" +checksum = "5d2e7343e7fc9de883d1b0341e0b13970f764c14101234857d2ddafa1cb1cac2" [[package]] name = "ahash" @@ -32,9 +26,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "0.7.13" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86" +checksum = "8716408b8bc624ed7f65d223ddb9ac2d044c0547b6fa4b0d554f3a9540496ada" dependencies = [ "memchr", ] @@ -90,16 +84,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -141,7 +126,7 @@ checksum = "0609c78bd572f4edc74310dfb63a01f5609d53fa8b4dd7c4d98aef3b3e8d72d1" dependencies = [ "proc-macro-hack", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -151,9 +136,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cc755b23c19211c270ef000fa7ce871377825e6cc7d1bfd0311076f22c5e6ba1" dependencies = [ "proc-macro-error 0.4.12", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -191,7 +176,7 @@ checksum = "538ecb01eb64eecd772087e5b6f7540cbc917f047727339a472dafed2185b267" dependencies = [ "async-task", "broadcaster", - "crossbeam-channel 0.4.3", + "crossbeam-channel 0.4.2", "crossbeam-deque", "crossbeam-utils 0.7.2", "futures-core", @@ -216,7 +201,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ac2c016b079e771204030951c366db398864f5026f84a44dafb0ff20f02085d" dependencies = [ "libc", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -246,7 +231,7 @@ checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ "hermit-abi", "libc", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -281,20 +266,19 @@ checksum = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2" [[package]] name = "autocfg" -version = "1.0.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" +checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" [[package]] name = "backtrace" -version = "0.3.50" +version = "0.3.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46254cf2fdcdf1badb5934448c1bcbe046a56537b3987d96c51a7afc5d03f293" +checksum = "0df2f85c8a2abbe3b7d7e748052fdd9b76a0458fdeb16ad4223f5eca78c7c130" dependencies = [ "addr2line", "cfg-if", "libc", - "miniz_oxide 0.4.1", "object", "rustc-demangle", ] @@ -313,15 +297,15 @@ checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" [[package]] name = "base64" -version = "0.12.3" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" +checksum = "53d1ccbaf7d9ec9537465a97bf19edc1a4e158ecb49fc16178202238c569cc42" [[package]] name = "bincode" -version = "1.3.1" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f30d3a39baa26f9651f17b375061f3233dde33424a8b72b0dbe93a68a0bc896d" +checksum = "5753e2a71534719bf3f4e57006c3a4f0d2c672a4b676eec84161f763eca87dbf" dependencies = [ "byteorder", "serde", @@ -340,7 +324,7 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", "regex", "rustc-hash", @@ -462,7 +446,7 @@ checksum = "0395175ecba60accac076a02c31d143b9dcd9d5eb5316d7163a3273803b765c7" dependencies = [ "libc", "pkg-config", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -493,9 +477,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.59" +version = "1.0.54" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66120af515773fb005778dc07c261bd201ec8ce50bd6e7144c927753fe013381" +checksum = "7bbb73db36c1246e9034e307d0fba23f9a2e251faa47ade70c1bd252220c8311" dependencies = [ "jobserver", ] @@ -506,7 +490,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27" dependencies = [ - "nom 5.1.2", + "nom 5.1.1", ] [[package]] @@ -526,9 +510,9 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.15" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942f72db697d8767c22d46a598e01f2d3b475501ea43d0db4f16d90259182d0b" +checksum = "80094f509cf8b5ae86a4966a39b3ff66cd7e2a3e594accec3743ff3fabeab5b2" dependencies = [ "num-integer", "num-traits", @@ -554,11 +538,11 @@ dependencies = [ [[package]] name = "clap" -version = "2.33.3" +version = "2.33.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" +checksum = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129" dependencies = [ - "ansi_term 0.11.0", + "ansi_term", "atty", "bitflags", "strsim 0.8.0", @@ -573,7 +557,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3a093d6fed558e5fe24c3dfc85a68bb68f1c824f440d3ba5aca189e2998786b" dependencies = [ - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -688,9 +672,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d709e38f0f6100c0c8c0b3aefb0aa1f83af865d7b6b267e8402820513a0c0d8" dependencies = [ "darling", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -805,9 +789,9 @@ dependencies = [ [[package]] name = "coreaudio-sys" -version = "0.2.5" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6570ee6e089131e928d5ec9236db9e818aa3cf850f48b0eec6ef700571271d4" +checksum = "e81f1c165c33ffab90a03077ac3b03462b34d5947145dfa48102e063d581502c" dependencies = [ "bindgen", ] @@ -826,7 +810,7 @@ dependencies = [ "num-traits", "stdweb 0.1.3", "thiserror", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -840,9 +824,9 @@ dependencies = [ [[package]] name = "criterion" -version = "0.3.3" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70daa7ceec6cf143990669a04c7df13391d55fb27bd4079d252fca774ba244d8" +checksum = "63f696897c88b57f4ffe3c69d8e1a0613c7d0e6c4833363c8560fbde9c47b966" dependencies = [ "atty", "cast", @@ -857,7 +841,6 @@ dependencies = [ "rayon", "regex", "serde", - "serde_cbor", "serde_derive", "serde_json", "tinytemplate", @@ -866,9 +849,9 @@ dependencies = [ [[package]] name = "criterion-plot" -version = "0.4.3" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e022feadec601fba1649cfa83586381a4ad31c6bf3a9ab7d408118b05dd9889d" +checksum = "ddeaf7989f00f2e1d871a26a110f3ed713632feac17f65f03ca938c542618b60" dependencies = [ "cast", "itertools", @@ -899,12 +882,12 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.4.3" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ee0cc8804d5393478d743b035099520087a5186f3b93fa58cec08fa62407b6" +checksum = "cced8691919c02aac3cb0a1bc2e9b73d89e832bf9a06fc579d4e71b68a2da061" dependencies = [ - "cfg-if", "crossbeam-utils 0.7.2", + "maybe-uninit", ] [[package]] @@ -938,7 +921,7 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", "cfg-if", "crossbeam-utils 0.7.2", "lazy_static", @@ -983,7 +966,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", "cfg-if", "lazy_static", ] @@ -1001,7 +984,7 @@ dependencies = [ "mio 0.7.0", "parking_lot 0.10.2", "signal-hook", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -1010,7 +993,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "057b7146d02fb50175fd7dbe5158f6097f33d02831f43b4ee8ae4ddf67b68f5c" dependencies = [ - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -1042,7 +1025,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39858aa5bac06462d4dd4b9164848eb81ffc4aa5c479746393598fd193afa227" dependencies = [ "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -1072,10 +1055,10 @@ checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b" dependencies = [ "fnv", "ident_case", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", "strsim 0.9.3", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -1086,14 +1069,14 @@ checksum = "d9b5a2f4ac4969822c62224815d069952656cadc7084fdca9751e6d959189b72" dependencies = [ "darling_core", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] name = "dashmap" -version = "3.11.10" +version = "3.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f260e2fc850179ef410018660006951c1b55b79e8087e87111a2c388994b9b5" +checksum = "8cfcd41ae02d60edded204341d2798ba519c336c51a37330aa4b98a1128def32" dependencies = [ "ahash", "cfg-if", @@ -1102,9 +1085,9 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.3.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d0e2d24e5ee3b23a01de38eefdcd978907890701f08ffffd4cb457ca4ee8d6" +checksum = "72aa14c04dfae8dd7d8a2b1cb7ca2152618cd01336dbfe704b8dcbf8d41dbd69" [[package]] name = "deflate" @@ -1122,9 +1105,9 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb582b60359da160a9477ee80f15c8d784c477e69c217ef2cdd4169c24ea380f" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -1150,9 +1133,9 @@ version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45f5098f628d02a7a0f68ddba586fb61e80edec3bdc1be3b921f4ceec60858d3" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -1193,7 +1176,7 @@ checksum = "8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a" dependencies = [ "libc", "redox_users", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -1204,7 +1187,7 @@ checksum = "9c60f7b8a8953926148223260454befb50c751d3c50e1c178c4fd1ace4083c9a" dependencies = [ "libc", "redox_users", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -1231,7 +1214,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b11f15d1e3268f140f68d390637d5e76d849782d971ae7063e0da69fe9709a76" dependencies = [ - "libloading 0.6.3", + "libloading 0.6.2", ] [[package]] @@ -1254,9 +1237,9 @@ checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" [[package]] name = "downcast-rs" -version = "1.2.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" +checksum = "52ba6eb47c2131e784a38b726eb54c1e1484904f013e576a25354d0124161af6" [[package]] name = "draw_state" @@ -1269,9 +1252,9 @@ dependencies = [ [[package]] name = "either" -version = "1.6.0" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f" +checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" [[package]] name = "enum-iterator" @@ -1288,16 +1271,16 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e94aa31f7c0dc764f57896dc615ddd76fc13b0d5dca7eb6cc5e018a5a09ec06" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] name = "error-chain" -version = "0.12.4" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc" +checksum = "d371106cc88ffdfb1eabd7111e432da544f16f3e2d7bf1dfe8bf575f1df045cd" dependencies = [ "backtrace", "version_check 0.9.2", @@ -1313,9 +1296,9 @@ dependencies = [ [[package]] name = "euclid" -version = "0.20.14" +version = "0.20.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bb7ef65b3777a325d1eeefefab5b6d4959da54747e33bd6258e789640f307ad" +checksum = "555d51b9a929edb14183fad621e2d5736fc8760707a24246047288d4c142b6bd" dependencies = [ "num-traits", ] @@ -1336,9 +1319,9 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", "synstructure", ] @@ -1357,21 +1340,21 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccb5acb1045ebbfa222e2c50679e392a71dd77030b78fb0189f2d9c5974400f9" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] name = "filetime" -version = "0.2.12" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed85775dcc68644b5c950ac06a2b23768d3bc9390464151aaf27136998dcf9e" +checksum = "affc17579b132fc2461adf7c575cc6e8b134ebca52c51f5411388965227dc695" dependencies = [ "cfg-if", "libc", "redox_syscall", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -1520,9 +1503,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -1692,7 +1675,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2d38164670920cfb7491bc0cf6f49f0554bd1c44cdbedc6c78d2bf91691ff5e" dependencies = [ - "gl_generator", + "gl_generator 0.14.0", ] [[package]] @@ -1726,14 +1709,14 @@ dependencies = [ "stdweb 0.4.20", "uuid", "vec_map", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] name = "gimli" -version = "0.22.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724" +checksum = "bcc8e0c9bce37868955864dbecd2b1ab2bdf967e6f28066d65aaac620444b65c" [[package]] name = "gio" @@ -1765,9 +1748,9 @@ dependencies = [ [[package]] name = "git2" -version = "0.13.10" +version = "0.13.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86d97249f21e9542caeee9f8e1d150905cd875bf723f5ff771bdb4852eb83a24" +checksum = "11e4b2082980e751c4bf4273e9cbb4a02c655729c8ee8a79f66cad03c8f4d31e" dependencies = [ "bitflags", "libc", @@ -1778,6 +1761,17 @@ dependencies = [ "url 2.1.1", ] +[[package]] +name = "gl_generator" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca98bbde17256e02d17336a6bdb5a50f7d0ccacee502e191d3e3d0ec2f96f84a" +dependencies = [ + "khronos_api", + "log", + "xml-rs", +] + [[package]] name = "gl_generator" version = "0.14.0" @@ -1852,18 +1846,18 @@ dependencies = [ "osmesa-sys", "parking_lot 0.10.2", "wayland-client", - "winapi 0.3.9", + "winapi 0.3.8", "winit", ] [[package]] name = "glutin_egl_sys" -version = "0.1.5" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2abb6aa55523480c4adc5a56bbaa249992e2dddb2fc63dc96e04a3355364c211" +checksum = "772edef3b28b8ad41e4ea202748e65eefe8e5ffd1f4535f1219793dbb20b3d4c" dependencies = [ - "gl_generator", - "winapi 0.3.9", + "gl_generator 0.13.1", + "winapi 0.3.8", ] [[package]] @@ -1874,31 +1868,31 @@ checksum = "80de4146df76e8a6c32b03007bc764ff3249dcaeb4f675d68a06caf1bac363f1" [[package]] name = "glutin_gles2_sys" -version = "0.1.5" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8094e708b730a7c8a1954f4f8a31880af00eb8a1c5b5bf85d28a0a3c6d69103" +checksum = "07e853d96bebcb8e53e445225c3009758c6f5960d44f2543245f6f07b567dae0" dependencies = [ - "gl_generator", + "gl_generator 0.13.1", "objc", ] [[package]] name = "glutin_glx_sys" -version = "0.1.7" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e393c8fc02b807459410429150e9c4faffdb312d59b8c038566173c81991351" +checksum = "08c243de74d6cf5ea100c788826d2fb9319de315485dd4b310811a663b3809c3" dependencies = [ - "gl_generator", + "gl_generator 0.13.1", "x11-dl", ] [[package]] name = "glutin_wgl_sys" -version = "0.1.5" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3da5951a1569dbab865c6f2a863efafff193a93caf05538d193e9e3816d21696" +checksum = "a93dba7ee3a0feeac0f437141ff25e71ce2066bcf1a706acab1559ffff94eb6a" dependencies = [ - "gl_generator", + "gl_generator 0.13.1", ] [[package]] @@ -1985,12 +1979,6 @@ dependencies = [ "tokio-io", ] -[[package]] -name = "half" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d36fab90f82edc3c747f9d438e06cf0a491055896f2a279638bb5beed6c40177" - [[package]] name = "hashbrown" version = "0.7.2" @@ -1998,20 +1986,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96282e96bfcd3da0d3aa9938bedf1e50df3269b6db08b4876d2da0bb1a0841cf" dependencies = [ "ahash", - "autocfg 1.0.1", + "autocfg 1.0.0", "rayon", "serde", ] -[[package]] -name = "hashbrown" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25" -dependencies = [ - "autocfg 1.0.1", -] - [[package]] name = "heck" version = "0.3.1" @@ -2023,9 +2002,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.1.15" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9" +checksum = "91780f809e750b0a89f5544be56617ff6b1227ee485bcb06ebe10cdf89bd3b71" dependencies = [ "libc", ] @@ -2186,12 +2165,11 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.5.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b45e59b16c76b11bf9738fd5d38879d3bd28ad292d7b313608becb17ae2df9" +checksum = "c398b2b113b55809ceb9ee3e753fcbac793f1956663f3c36549c1346015c2afe" dependencies = [ - "autocfg 1.0.1", - "hashbrown 0.8.2", + "autocfg 1.0.0", ] [[package]] @@ -2225,9 +2203,9 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.6" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485" +checksum = "7777a24a1ce5de49fcdde84ec46efa487c3af49d5b6e6e0a50367cc5c1096182" [[package]] name = "io-kit-sys" @@ -2259,9 +2237,9 @@ dependencies = [ [[package]] name = "itoa" -version = "0.4.6" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" +checksum = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e" [[package]] name = "jni-sys" @@ -2280,9 +2258,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.44" +version = "0.3.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85a7e2c92a4804dd459b86c339278d0fe87cf93757fae222c3fa3ae75458bc73" +checksum = "ce10c23ad2ea25ceca0093bd3192229da4c5b3c0f2de499c1ecac0d98d452177" dependencies = [ "wasm-bindgen", ] @@ -2305,9 +2283,9 @@ checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" [[package]] name = "kv-log-macro" -version = "1.0.7" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" +checksum = "4ff57d6d215f7ca7eb35a9a64d656ba4d9d2bef114d741dc08048e75e2f5d418" dependencies = [ "log", ] @@ -2320,9 +2298,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "lazycell" -version = "1.3.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" +checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" [[package]] name = "lewton" @@ -2337,15 +2315,15 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.76" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "755456fae044e6fa1ebbbd1b3e902ae19e73097ed4ed87bb79934a867c007bc3" +checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49" [[package]] name = "libgit2-sys" -version = "0.12.12+1.0.1" +version = "0.12.7+1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0100ae90655025134424939f1f60e27e879460d451dff6afedde4f8226cbebfc" +checksum = "bcd07968649bcb7b9351ecfde53ca4d27673cccfdf57c84255ec18710f3153e0" dependencies = [ "cc", "libc", @@ -2362,17 +2340,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" dependencies = [ "cc", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] name = "libloading" -version = "0.6.3" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2443d8f0478b16759158b2f66d525991a05491138bc05814ef52a250148ef4f9" +checksum = "2cadb8e769f070c45df05c78c7520eb4cd17061d4ab262e43cfc68b4d00ac71c" dependencies = [ - "cfg-if", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -2388,9 +2365,9 @@ dependencies = [ [[package]] name = "libssh2-sys" -version = "0.2.19" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca46220853ba1c512fc82826d0834d87b06bcd3c2a42241b7de72f3d2fe17056" +checksum = "d45f516b9b19ea6c940b9f36d36734062a153a2b4cc9ef31d82c54bb9780f525" dependencies = [ "cc", "libc", @@ -2412,9 +2389,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.0" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af67924b8dd885cccea261866c8ce5b74d239d272e154053ff927dae839f5ae9" +checksum = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe" dependencies = [ "cc", "libc", @@ -2448,9 +2425,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.11" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b" +checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" dependencies = [ "cfg-if", ] @@ -2520,16 +2497,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" dependencies = [ "libc", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] name = "memoffset" -version = "0.5.5" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f" +checksum = "b4fc2c02a7e374099d4ee95a193111f72d2110197fe200272371758f6c3643d8" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", ] [[package]] @@ -2548,9 +2525,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9753f12909fd8d923f75ae5c3258cae1ed3c8ec052e1b38c93c21a6d157f789c" dependencies = [ "migrations_internals", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -2570,7 +2547,7 @@ dependencies = [ "orbclient", "raw-window-handle", "time", - "winapi 0.3.9", + "winapi 0.3.8", "x11-dl", ] @@ -2583,15 +2560,6 @@ dependencies = [ "adler32", ] -[[package]] -name = "miniz_oxide" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d7559a8a40d0f97e1edea3220f698f78b1c5ab67532e49f68fde3910323b722" -dependencies = [ - "adler", -] - [[package]] name = "mio" version = "0.6.22" @@ -2622,7 +2590,7 @@ dependencies = [ "log", "miow 0.3.5", "ntapi", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -2667,7 +2635,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07b88fb9795d4d36d62a012dfbf49a8f5cf12751f36d31a9dbe66d528e58979e" dependencies = [ "socket2", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -2684,7 +2652,7 @@ dependencies = [ "cocoa 0.19.1", "gtk", "objc", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -2726,7 +2694,7 @@ checksum = "2ba7c918ac76704fb42afcbbb43891e72731f3dcca3bef2a19786297baf14af7" dependencies = [ "cfg-if", "libc", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -2782,9 +2750,9 @@ dependencies = [ [[package]] name = "nom" -version = "5.1.2" +version = "5.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" +checksum = "0b471253da97532da4b61552249c521e01e736071f71c1a4f7ebbfbf0a06aad6" dependencies = [ "memchr", "version_check 0.9.2", @@ -2798,7 +2766,7 @@ checksum = "77d03607cf88b4b160ba0e9ed425fff3cee3b55ac813f0c685b3a3772da37d0e" dependencies = [ "anymap", "bitflags", - "crossbeam-channel 0.4.3", + "crossbeam-channel 0.4.2", "filetime", "fsevent", "fsevent-sys", @@ -2807,7 +2775,7 @@ dependencies = [ "mio 0.6.22", "mio-extras", "walkdir", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -2816,7 +2784,7 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a31937dea023539c72ddae0e3571deadc1414b300483fa7aaec176168cfa9d2" dependencies = [ - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -2850,7 +2818,7 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", "num-integer", "num-traits", ] @@ -2861,7 +2829,7 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", "num-traits", ] @@ -2871,7 +2839,7 @@ version = "0.1.43" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", "num-traits", ] @@ -2881,7 +2849,7 @@ version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a6e6b7c748f995c4c29c5f5ae0248536e04a5739927c74ec0fa564805094b9f" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", "num-integer", "num-traits", ] @@ -2892,7 +2860,7 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", "num-bigint", "num-integer", "num-traits", @@ -2904,7 +2872,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5b4d7360f362cfb50dde8143501e6940b22f644be75a4cc90b2d81968908138" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", "num-integer", "num-traits", ] @@ -2915,7 +2883,7 @@ version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", ] [[package]] @@ -2945,9 +2913,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffa5a33ddddfee04c0283a7653987d634e880347e96b5b2ed64de07efb59db9d" dependencies = [ "proc-macro-crate", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -2981,9 +2949,9 @@ dependencies = [ [[package]] name = "object" -version = "0.20.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5" +checksum = "9cbca9424c482ee628fa549d9c812e2cd22f1180b9222c9200fdfa6eb31aecb2" [[package]] name = "ogg" @@ -3007,15 +2975,15 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.4.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad" +checksum = "0b631f7e854af39a1739f401cf34a8a013dfe09eac4fa4dba91e9768bd28168d" [[package]] name = "oorandom" -version = "11.1.2" +version = "11.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a170cebd8021a008ea92e4db85a72f80b35df514ec664b296fdcbb654eac0b2c" +checksum = "94af325bc33c7f60191be4e2c984d48aaa21e2854f473b85398344b60c9b6358" [[package]] name = "openssl-probe" @@ -3029,7 +2997,7 @@ version = "0.9.58" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a842db4709b604f0fe5d1170ae3565899be2ad3d9cbc72dedc789ac0511f78de" dependencies = [ - "autocfg 1.0.1", + "autocfg 1.0.0", "cc", "libc", "pkg-config", @@ -3048,9 +3016,9 @@ dependencies = [ [[package]] name = "ordered-float" -version = "1.1.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3741934be594d77de1c8461ebcbbe866f585ea616a9753aa78f2bdc69f0e4579" +checksum = "18869315e81473c951eb56ad5558bbc56978562d3ecfb87abb7a1e944cea4518" dependencies = [ "num-traits", ] @@ -3133,7 +3101,7 @@ dependencies = [ "redox_syscall", "rustc_version", "smallvec 0.6.13", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -3146,8 +3114,8 @@ dependencies = [ "cloudabi", "libc", "redox_syscall", - "smallvec 1.4.2", - "winapi 0.3.9", + "smallvec 1.4.0", + "winapi 0.3.8", ] [[package]] @@ -3179,22 +3147,22 @@ dependencies = [ [[package]] name = "pin-project" -version = "0.4.23" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca4433fff2ae79342e497d9f8ee990d174071408f28f726d6d83af93e58e48aa" +checksum = "e75373ff9037d112bb19bc61333a06a159eaeb217660dcfbea7d88e1db823919" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "0.4.23" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f" +checksum = "10b4b44893d3c370407a1d6a5cfde7c41ae0478e31c516c85f67eb3adc51be6d" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -3238,9 +3206,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.18" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33" +checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677" [[package]] name = "plotters" @@ -3263,7 +3231,7 @@ dependencies = [ "bitflags", "crc32fast", "deflate", - "miniz_oxide 0.3.7", + "miniz_oxide", ] [[package]] @@ -3276,9 +3244,9 @@ dependencies = [ [[package]] name = "ppv-lite86" -version = "0.2.9" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20" +checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea" [[package]] name = "proc-macro-crate" @@ -3296,9 +3264,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "18f33027081eba0a6d8aba6d1b1c3a3be58cbb12106341c2d5759fcd9b5277e7" dependencies = [ "proc-macro-error-attr 0.4.12", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", "version_check 0.9.2", ] @@ -3309,9 +3277,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr 1.0.4", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", "version_check 0.9.2", ] @@ -3321,9 +3289,9 @@ version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a5b4b77fdb63c1eca72173d68d24501c54ab1269409f6b672c85deb18af69de" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", "syn-mid", "version_check 0.9.2", ] @@ -3334,22 +3302,22 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", "version_check 0.9.2", ] [[package]] name = "proc-macro-hack" -version = "0.5.18" +version = "0.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99c605b9a0adc77b7211c6b1f722dcb613d68d66859a44f3d485a6da332b0598" +checksum = "7e0456befd48169b9f13ef0f0ad46d492cf9d2dbb918bcf38e01eed4ce3ec5e4" [[package]] name = "proc-macro-nested" -version = "0.1.6" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a" +checksum = "0afe1bd463b9e9ed51d0e0f0b50b6b146aec855c56fd182bb242388710a9b6de" [[package]] name = "proc-macro2" @@ -3362,11 +3330,11 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.19" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04f5f085b5d71e2188cb8271e5da0161ad52c3f227a661a3c135fdf28e258b12" +checksum = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa" dependencies = [ - "unicode-xid 0.2.1", + "unicode-xid 0.2.0", ] [[package]] @@ -3406,7 +3374,7 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", ] [[package]] @@ -3425,7 +3393,7 @@ dependencies = [ "fuchsia-cprng", "libc", "rand_core 0.3.1", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -3444,7 +3412,7 @@ dependencies = [ "rand_os", "rand_pcg 0.1.2", "rand_xorshift", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -3540,7 +3508,7 @@ checksum = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b" dependencies = [ "libc", "rand_core 0.4.2", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -3554,7 +3522,7 @@ dependencies = [ "libc", "rand_core 0.4.2", "rdrand", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -3596,11 +3564,10 @@ dependencies = [ [[package]] name = "rayon" -version = "1.4.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfd016f0c045ad38b5251be2c9c0ab806917f82da4d36b2a327e5166adad9270" +checksum = "db6ce3297f9c85e16621bb8cca38a06779ffc31bb8184e1be4bed2be4678a098" dependencies = [ - "autocfg 1.0.1", "crossbeam-deque", "either", "rayon-core", @@ -3608,12 +3575,12 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.8.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91739a34c4355b5434ce54c9086c5895604a9c278586d1f1aa95e04f66b525a0" +checksum = "08a89b46efaf957e52b18062fb2f4660f8b8a4dde1807ca002690868ef2c85a9" dependencies = [ - "crossbeam-channel 0.4.3", "crossbeam-deque", + "crossbeam-queue 0.2.3", "crossbeam-utils 0.7.2", "lazy_static", "num_cpus", @@ -3630,9 +3597,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.1.57" +version = "0.1.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" +checksum = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" [[package]] name = "redox_users" @@ -3675,9 +3642,9 @@ checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8" [[package]] name = "ring" -version = "0.16.15" +version = "0.16.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "952cd6b98c85bbc30efa1ba5783b8abf12fec8b3287ffa52605b9432313e34e4" +checksum = "06b3fefa4f12272808f809a0af618501fdaba41a58963c5fb72238ab0be09603" dependencies = [ "cc", "libc", @@ -3685,7 +3652,7 @@ dependencies = [ "spin", "untrusted", "web-sys", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -3702,11 +3669,11 @@ dependencies = [ [[package]] name = "ron" -version = "0.6.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a9d94cee22c8a4b5e2a1c7f9a20fdc315668ee8a75835949bb40d7456934634" +checksum = "a91260f321dbf3b5a16ff91c451dc9eb644ce72775a6812f9c3dfffe63818f8f" dependencies = [ - "base64 0.12.3", + "base64 0.12.1", "bitflags", "serde", ] @@ -3741,7 +3708,7 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9dab61250775933275e84053ac235621dfb739556d5c54a2f2e9313b7cf43a19" dependencies = [ - "base64 0.12.3", + "base64 0.12.1", "blake2b_simd", "constant_time_eq", ] @@ -3769,11 +3736,11 @@ dependencies = [ [[package]] name = "rustls" -version = "0.18.1" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81" +checksum = "c0d4a31f5d68413404705d6982529b0e11a9aacd4839d1d6222ee3b8cb4015e1" dependencies = [ - "base64 0.12.3", + "base64 0.11.0", "log", "ring", "sct", @@ -3813,7 +3780,7 @@ checksum = "d2aa654bc32eb9ca14cce1a084abc9dfe43949a4547c35269a094c39272db3bb" dependencies = [ "lazy_static", "log", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -3897,39 +3864,29 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.115" +version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e54c9a88f2da7238af84b5101443f0c0d0a3bbdc455e34a5c9497b1903ed55d5" +checksum = "5317f7588f0a5078ee60ef675ef96735a1442132dc645eb1d12c018620ed8cd3" dependencies = [ "serde_derive", ] -[[package]] -name = "serde_cbor" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e18acfa2f90e8b735b2836ab8d538de304cbb6729a7360729ea5a895d15a622" -dependencies = [ - "half", - "serde", -] - [[package]] name = "serde_derive" -version = "1.0.115" +version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "609feed1d0a73cc36a0182a840a9b37b4a82f0b1150369f0536a9e3f2a31dc48" +checksum = "2a0be94b04690fbaed37cddffc5c134bf537c8e3329d53e982fe04c374978f8e" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] name = "serde_json" -version = "1.0.57" +version = "1.0.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "164eacbdb13512ec2745fb09d51fd5b22b0d65ed294a1dcf7285a360c80a675c" +checksum = "ec2c5d7e739bc07a3e73381a39d61fdb5f671c60c1df26a130690665803d8226" dependencies = [ "itoa", "ryu", @@ -3954,9 +3911,9 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dc6b7951b17b051f3210b063f12cc17320e2fe30ae05b0fe2a3abb068551c76" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -4006,11 +3963,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c5f08237e667ac94ad20f8878b5943d91a93ccb231428446c57c21c57779016d" dependencies = [ "arrayvec 0.5.1", - "hashbrown 0.7.2", + "hashbrown", "mopa", "rayon", "shred-derive", - "smallvec 1.4.2", + "smallvec 1.4.0", "tynm", ] @@ -4020,9 +3977,9 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1f37080f2751fbf091dbdebaa95bd6cf9dbf74ad1d50396b1908518a1747fdf" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -4044,9 +4001,9 @@ dependencies = [ [[package]] name = "signal-hook-registry" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94f478ede9f64724c5d173d7bb56099ec3e2d9fc2774aac65d34b8b890405f41" +checksum = "a3e12110bc539e657a646068aaf5eb5b63af9d0c1f7b29c97113fad80e15f035" dependencies = [ "arc-swap", "libc", @@ -4069,9 +4026,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.4.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252" +checksum = "c7cb5678e1615754284ec264d9bb5b4c27d2018577fd90ac0ceb578591ed5ee4" [[package]] name = "smithay-client-toolkit" @@ -4108,7 +4065,7 @@ dependencies = [ "cfg-if", "libc", "redox_syscall", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -4117,7 +4074,7 @@ version = "0.16.1" source = "git+https://github.com/amethyst/specs.git?rev=7a2e348ab2223818bad487695c66c43db88050a5#7a2e348ab2223818bad487695c66c43db88050a5" dependencies = [ "crossbeam-queue 0.2.3", - "hashbrown 0.7.2", + "hashbrown", "hibitset", "log", "rayon", @@ -4184,11 +4141,11 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", "serde", "serde_derive", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -4198,13 +4155,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" dependencies = [ "base-x", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", "serde", "serde_derive", "serde_json", "sha1", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -4236,9 +4193,9 @@ checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" [[package]] name = "structopt" -version = "0.3.17" +version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cc388d94ffabf39b5ed5fadddc40147cb21e605f53db6f8f36a625d27489ac5" +checksum = "de5472fb24d7e80ae84a7801b7978f95a19ec32cb1876faea59ab711eb901976" dependencies = [ "clap", "lazy_static", @@ -4247,15 +4204,15 @@ dependencies = [ [[package]] name = "structopt-derive" -version = "0.4.10" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e2513111825077552a6751dfad9e11ce0fba07d7276a3943a037d7e93e64c5f" +checksum = "1e0eb37335aeeebe51be42e2dc07f031163fbabfa6ac67d7ea68b5c2f68d5f99" dependencies = [ "heck", "proc-macro-error 1.0.4", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -4283,13 +4240,13 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.39" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891d8d6567fe7c7f8835a3a98af4208f3846fba258c1bc3c31d6e506239f11f9" +checksum = "e8d5d96e8cbb005d6959f119f773bfaebb5684296108fb32600c00cde305b2cd" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "unicode-xid 0.2.1", + "unicode-xid 0.2.0", ] [[package]] @@ -4298,9 +4255,9 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7be3539f6c128a931cf19dcee741c1af532c7fd387baa739c03dd2e96479338a" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -4309,10 +4266,10 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", - "unicode-xid 0.2.1", + "syn 1.0.33", + "unicode-xid 0.2.0", ] [[package]] @@ -4339,9 +4296,9 @@ version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] @@ -4381,7 +4338,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" dependencies = [ "libc", - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -4409,9 +4366,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "0.3.4" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117" +checksum = "53953d2d3a5ad81d9f844a32f14ebb121f50b650cd59d0ee2a07cf13c617efed" [[package]] name = "tokio" @@ -4565,9 +4522,9 @@ dependencies = [ [[package]] name = "tracing" -version = "0.1.19" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d79ca061b032d6ce30c660fded31189ca0b9922bf483cd70759f13a2d86786c" +checksum = "a41f40ed0e162c911ac6fcb53ecdc8134c46905fdbbae8c50add462a538b495f" dependencies = [ "cfg-if", "tracing-attributes", @@ -4576,31 +4533,31 @@ dependencies = [ [[package]] name = "tracing-appender" -version = "0.1.1" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aa52d56cc0d79ab604e8a022a1cebc4de33cf09dc9933c94353bea2e00d6e88" +checksum = "1e86a61ff69b54f44ffdf02cf27f2da864639dde602d5f90d9f7ef2ea76629c0" dependencies = [ "chrono", - "crossbeam-channel 0.4.3", + "crossbeam-channel 0.4.2", "tracing-subscriber", ] [[package]] name = "tracing-attributes" -version = "0.1.11" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada" +checksum = "99bbad0de3fd923c9c3232ead88510b783e5a4d16a6154adffa3d53308de984c" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", ] [[package]] name = "tracing-core" -version = "0.1.15" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f0e00789804e99b20f12bc7003ca416309d28a6f495d6af58d1e2c2842461b5" +checksum = "0aa83a9a47081cd522c09c81b31aec2c9273424976f922ad61c053b58350b715" dependencies = [ "lazy_static", ] @@ -4627,21 +4584,33 @@ dependencies = [ ] [[package]] -name = "tracing-subscriber" -version = "0.2.11" +name = "tracing-serde" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abd165311cc4d7a555ad11cc77a37756df836182db0d81aac908c8184c584f40" +checksum = "b6ccba2f8f16e0ed268fc765d9b7ff22e965e7185d32f8f1ec8294fe17d86e79" dependencies = [ - "ansi_term 0.12.1", + "serde", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04a11b459109e38ff6e1b580bafef4142a11d44889f5d07424cbce2fd2a2a119" +dependencies = [ + "ansi_term", "chrono", "lazy_static", "matchers", "regex", + "serde", + "serde_json", "sharded-slab", - "smallvec 1.4.2", - "thread_local", + "smallvec 1.4.0", "tracing-core", "tracing-log", + "tracing-serde", ] [[package]] @@ -4656,9 +4625,9 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.3" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" +checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382" [[package]] name = "tui" @@ -4690,7 +4659,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "367fb781963961b4a90a3362c54b1871caaecb081f011005778242230f39d34e" dependencies = [ - "nom 5.1.2", + "nom 5.1.1", ] [[package]] @@ -4704,11 +4673,11 @@ dependencies = [ [[package]] name = "unicode-normalization" -version = "0.1.13" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977" +checksum = "5479532badd04e128284890390c1e876ef7a993d0570b3597ae43dfa1d59afa4" dependencies = [ - "tinyvec", + "smallvec 1.4.0", ] [[package]] @@ -4719,9 +4688,9 @@ checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" [[package]] name = "unicode-width" -version = "0.1.8" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" +checksum = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479" [[package]] name = "unicode-xid" @@ -4731,9 +4700,9 @@ checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" [[package]] name = "unicode-xid" -version = "0.2.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" +checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" [[package]] name = "untrusted" @@ -4743,11 +4712,11 @@ checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] name = "ureq" -version = "1.4.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b770aa61edaa144d3af86a8b0ccbb1bf8ca9dd0c1ac2a17081f35943aae6eb82" +checksum = "677df6896edc382f1a2abcbb3e4058edfe973cdc4e1ed764b11891a7a289bfc0" dependencies = [ - "base64 0.12.3", + "base64 0.12.1", "chunked_transfer", "lazy_static", "qstring", @@ -4869,7 +4838,7 @@ dependencies = [ "futures-executor", "futures-timer", "futures-util", - "hashbrown 0.7.2", + "hashbrown", "image", "num 0.2.1", "num_cpus", @@ -4892,7 +4861,7 @@ dependencies = [ "crossbeam", "dot_vox", "enum-iterator", - "hashbrown 0.7.2", + "hashbrown", "image", "indexmap", "lazy_static", @@ -4926,7 +4895,7 @@ dependencies = [ "futures-executor", "futures-timer", "futures-util", - "hashbrown 0.7.2", + "hashbrown", "lazy_static", "libsqlite3-sys", "portpicker", @@ -4990,7 +4959,7 @@ dependencies = [ "glsl-include", "glutin", "guillotiere", - "hashbrown 0.7.2", + "hashbrown", "image", "inline_tweak", "itertools", @@ -5027,7 +4996,7 @@ dependencies = [ "find_folder", "inline_tweak", "lazy_static", - "libloading 0.6.3", + "libloading 0.6.2", "notify", "tracing", "vek 0.12.0", @@ -5043,7 +5012,7 @@ dependencies = [ "bitvec", "criterion", "fxhash", - "hashbrown 0.7.2", + "hashbrown", "image", "itertools", "lazy_static", @@ -5071,7 +5040,7 @@ dependencies = [ "bincode", "bitflags", "clap", - "crossbeam-channel 0.4.3", + "crossbeam-channel 0.4.2", "futures 0.3.5", "lazy_static", "lz-fear", @@ -5111,7 +5080,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d" dependencies = [ "same-file", - "winapi 0.3.9", + "winapi 0.3.8", "winapi-util", ] @@ -5134,9 +5103,9 @@ checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" [[package]] name = "wasm-bindgen" -version = "0.2.67" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0563a9a4b071746dd5aedbc3a28c6fe9be4586fb3fbadb67c400d4f53c6b16c" +checksum = "4c2dc4aa152834bc334f506c1a06b866416a8b6697d5c9f75b9a689c8486def0" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -5144,24 +5113,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.67" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc71e4c5efa60fb9e74160e89b93353bc24059999c0ae0fb03affc39770310b0" +checksum = "ded84f06e0ed21499f6184df0e0cb3494727b0c5da89534e0fcc55c51d812101" dependencies = [ "bumpalo", "lazy_static", "log", - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.67" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97c57cefa5fa80e2ba15641578b44d36e7a64279bc5ed43c6dbaf329457a2ed2" +checksum = "838e423688dac18d73e31edce74ddfac468e37b1506ad163ffaf0a46f703ffe3" dependencies = [ "quote 1.0.7", "wasm-bindgen-macro-support", @@ -5169,22 +5138,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.67" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841a6d1c35c6f596ccea1f82504a192a60378f64b3bb0261904ad8f2f5657556" +checksum = "3156052d8ec77142051a533cdd686cba889537b213f948cd1d20869926e68e92" dependencies = [ - "proc-macro2 1.0.19", + "proc-macro2 1.0.18", "quote 1.0.7", - "syn 1.0.39", + "syn 1.0.33", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.67" +version = "0.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93b162580e34310e5931c4b792560108b10fd14d64915d7fff8ff00180e70092" +checksum = "c9ba19973a58daf4db6f352eda73dc0e289493cd29fb2632eb172085b6521acd" [[package]] name = "wayland-client" @@ -5248,9 +5217,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.44" +version = "0.3.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dda38f4e5ca63eda02c059d243aa25b5f35ab98451e518c51612cd0f1bd19a47" +checksum = "7b72fe77fd39e4bd3eaa4412fd299a0be6b3dfe9d2597e2f1c20beb968f41d17" dependencies = [ "js-sys", "wasm-bindgen", @@ -5268,9 +5237,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.20.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f20dea7535251981a9670857150d571846545088359b28e4951d350bdaf179f" +checksum = "f8eff4b7516a57307f9349c64bf34caa34b940b66fed4b2fb3136cb7386e5739" dependencies = [ "webpki", ] @@ -5283,9 +5252,9 @@ checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" [[package]] name = "winapi" -version = "0.3.9" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" dependencies = [ "winapi-i686-pc-windows-gnu", "winapi-x86_64-pc-windows-gnu", @@ -5309,7 +5278,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" dependencies = [ - "winapi 0.3.9", + "winapi 0.3.8", ] [[package]] @@ -5345,7 +5314,7 @@ dependencies = [ "serde", "smithay-client-toolkit", "wayland-client", - "winapi 0.3.9", + "winapi 0.3.8", "x11-dl", ] diff --git a/assets/voxygen/i18n/en.ron b/assets/voxygen/i18n/en.ron index f91586192b..eaf7366f07 100644 --- a/assets/voxygen/i18n/en.ron +++ b/assets/voxygen/i18n/en.ron @@ -299,11 +299,14 @@ magically infused items?"#, "hud.settings.fluid_rendering_mode.cheap": "Cheap", "hud.settings.fluid_rendering_mode.shiny": "Shiny", "hud.settings.cloud_rendering_mode.regular": "Regular", + "hud.settings.fullscreen": "Fullscreen", + "hud.settings.fullscreen_mode": "Fullscreen Mode", + "hud.settings.fullscreen_mode.exclusive": "Exclusive", + "hud.settings.fullscreen_mode.borderless": "Borderless", "hud.settings.particles": "Particles", "hud.settings.resolution": "Resolution", "hud.settings.bit_depth": "Bit Depth", "hud.settings.refresh_rate": "Refresh Rate", - "hud.settings.fullscreen": "Fullscreen", "hud.settings.save_window_size": "Save window size", "hud.settings.lighting_rendering_mode": "Lighting Rendering Mode", "hud.settings.lighting_rendering_mode.ashikhmin": "Type A", diff --git a/voxygen/src/hud/mod.rs b/voxygen/src/hud/mod.rs index 01a68eb1d0..64324936e0 100644 --- a/voxygen/src/hud/mod.rs +++ b/voxygen/src/hud/mod.rs @@ -19,7 +19,6 @@ mod social; mod spell; mod util; -use crate::{ecs::comp::HpFloaterList, hud::img_ids::ImgsRot, ui::img_ids::Rotations}; pub use hotbar::{SlotContents as HotbarSlotContents, State as HotbarState}; pub use settings_window::ScaleChange; @@ -44,15 +43,16 @@ use social::{Social, SocialTab}; use spell::Spell; use crate::{ - ecs::comp as vcomp, + ecs::{comp as vcomp, comp::HpFloaterList}, + hud::img_ids::ImgsRot, i18n::{i18n_asset_key, LanguageMetadata, VoxygenLocalization}, render::{Consts, Globals, RenderMode, Renderer}, scene::{ camera::{self, Camera}, lod, }, - ui::{fonts::ConrodVoxygenFonts, slot, Graphic, Ingameable, ScaleMode, Ui}, - window::{Event as WinEvent, GameInput}, + ui::{fonts::ConrodVoxygenFonts, img_ids::Rotations, slot, Graphic, Ingameable, ScaleMode, Ui}, + window::{Event as WinEvent, FullScreenSettings, GameInput}, GlobalState, }; use client::Client; @@ -285,11 +285,8 @@ pub enum Event { ChangeGamma(f32), MapZoom(f64), AdjustWindowSize([u16; 2]), + ChangeFullscreenMode(FullScreenSettings), ToggleParticlesEnabled(bool), - ToggleFullscreen, - ChangeResolution([u16; 2]), - ChangeBitDepth(Option), - ChangeRefreshRate(Option), CrosshairTransp(f32), ChatTransp(f32), ChatCharName(bool), @@ -1972,24 +1969,15 @@ impl Hud { settings_window::Event::ChangeRenderMode(new_render_mode) => { events.push(Event::ChangeRenderMode(new_render_mode)); }, - settings_window::Event::ChangeResolution(new_resolution) => { - events.push(Event::ChangeResolution(new_resolution)); - }, - settings_window::Event::ChangeBitDepth(new_bit_depth) => { - events.push(Event::ChangeBitDepth(new_bit_depth)); - }, - settings_window::Event::ChangeRefreshRate(new_refresh_rate) => { - events.push(Event::ChangeRefreshRate(new_refresh_rate)); - }, settings_window::Event::ChangeLanguage(language) => { events.push(Event::ChangeLanguage(language)); }, + settings_window::Event::ChangeFullscreenMode(new_fullscreen_settings) => { + events.push(Event::ChangeFullscreenMode(new_fullscreen_settings)); + }, settings_window::Event::ToggleParticlesEnabled(particles_enabled) => { events.push(Event::ToggleParticlesEnabled(particles_enabled)); }, - settings_window::Event::ToggleFullscreen => { - events.push(Event::ToggleFullscreen); - }, settings_window::Event::AdjustWindowSize(new_size) => { events.push(Event::AdjustWindowSize(new_size)); }, diff --git a/voxygen/src/hud/settings_window.rs b/voxygen/src/hud/settings_window.rs index 03738ab9b2..62f3a9cfa1 100644 --- a/voxygen/src/hud/settings_window.rs +++ b/voxygen/src/hud/settings_window.rs @@ -6,7 +6,7 @@ use crate::{ i18n::{list_localizations, LanguageMetadata, VoxygenLocalization}, render::{AaMode, CloudMode, FluidMode, LightingMode, RenderMode, ShadowMapMode, ShadowMode}, ui::{fonts::ConrodVoxygenFonts, ImageSlider, ScaleMode, ToggleButton}, - window::GameInput, + window::{FullScreenSettings, FullscreenMode, GameInput}, GlobalState, }; use conrod_core::{ @@ -119,6 +119,8 @@ widget_ids! { cloud_mode_list, fluid_mode_text, fluid_mode_list, + fullscreen_mode_text, + fullscreen_mode_list, // resolution, resolution_label, @@ -259,12 +261,9 @@ pub enum Event { AdjustLodDetail(u32), AdjustGamma(f32), AdjustWindowSize([u16; 2]), + ChangeFullscreenMode(FullScreenSettings), ToggleParticlesEnabled(bool), - ToggleFullscreen, ChangeRenderMode(Box), - ChangeResolution([u16; 2]), - ChangeBitDepth(Option), - ChangeRefreshRate(Option), AdjustMusicVolume(f32), AdjustSfxVolume(f32), ChangeAudioDevice(String), @@ -2284,9 +2283,9 @@ impl<'a> Widget for SettingsWindow<'a> { .map(|res| format!("{}x{}", res[0], res[1])) .collect::>() .as_slice(), - resolutions - .iter() - .position(|res| res == &self.global_state.settings.graphics.resolution), + resolutions.iter().position(|res| { + res == &self.global_state.settings.graphics.fullscreen.resolution + }), ) .w_h(128.0, 22.0) .color(MENU_BG) @@ -2295,17 +2294,22 @@ impl<'a> Widget for SettingsWindow<'a> { .down_from(state.ids.resolution_label, 10.0) .set(state.ids.resolution, ui) { - events.push(Event::ChangeResolution(resolutions[clicked])); + events.push(Event::ChangeFullscreenMode(FullScreenSettings { + resolution: resolutions[clicked], + ..self.global_state.settings.graphics.fullscreen + })); } // Bit Depth and Refresh Rate let correct_res: Vec = video_modes .into_iter() .filter(|mode| { - mode.size().width == self.global_state.settings.graphics.resolution[0] as u32 + mode.size().width + == self.global_state.settings.graphics.fullscreen.resolution[0] as u32 }) .filter(|mode| { - mode.size().height == self.global_state.settings.graphics.resolution[1] as u32 + mode.size().height + == self.global_state.settings.graphics.fullscreen.resolution[1] as u32 }) .collect(); @@ -2313,7 +2317,7 @@ impl<'a> Widget for SettingsWindow<'a> { let bit_depths: Vec = correct_res .iter() .filter( - |mode| match self.global_state.settings.graphics.refresh_rate { + |mode| match self.global_state.settings.graphics.fullscreen.refresh_rate { Some(refresh_rate) => mode.refresh_rate() == refresh_rate, None => true, }, @@ -2337,7 +2341,7 @@ impl<'a> Widget for SettingsWindow<'a> { .chain(bit_depths.iter().map(|depth| format!("{}", depth))) .collect::>() .as_slice(), - match self.global_state.settings.graphics.bit_depth { + match self.global_state.settings.graphics.fullscreen.bit_depth { Some(bit_depth) => bit_depths .iter() .position(|depth| depth == &bit_depth) @@ -2353,20 +2357,25 @@ impl<'a> Widget for SettingsWindow<'a> { .right_from(state.ids.resolution, 8.0) .set(state.ids.bit_depth, ui) { - events.push(Event::ChangeBitDepth(if clicked == 0 { - None - } else { - Some(bit_depths[clicked - 1]) + events.push(Event::ChangeFullscreenMode(FullScreenSettings { + bit_depth: if clicked == 0 { + None + } else { + Some(bit_depths[clicked - 1]) + }, + ..self.global_state.settings.graphics.fullscreen })); } // Refresh Rate let refresh_rates: Vec = correct_res .into_iter() - .filter(|mode| match self.global_state.settings.graphics.bit_depth { - Some(bit_depth) => mode.bit_depth() == bit_depth, - None => true, - }) + .filter( + |mode| match self.global_state.settings.graphics.fullscreen.bit_depth { + Some(bit_depth) => mode.bit_depth() == bit_depth, + None => true, + }, + ) .sorted_by_key(|mode| mode.refresh_rate()) .map(|mode| mode.refresh_rate()) .rev() @@ -2386,7 +2395,7 @@ impl<'a> Widget for SettingsWindow<'a> { .chain(refresh_rates.iter().map(|rate| format!("{}", rate))) .collect::>() .as_slice(), - match self.global_state.settings.graphics.refresh_rate { + match self.global_state.settings.graphics.fullscreen.refresh_rate { Some(refresh_rate) => refresh_rates .iter() .position(|rate| rate == &refresh_rate) @@ -2402,10 +2411,13 @@ impl<'a> Widget for SettingsWindow<'a> { .right_from(state.ids.bit_depth, 8.0) .set(state.ids.refresh_rate, ui) { - events.push(Event::ChangeRefreshRate(if clicked == 0 { - None - } else { - Some(refresh_rates[clicked - 1]) + events.push(Event::ChangeFullscreenMode(FullScreenSettings { + refresh_rate: if clicked == 0 { + None + } else { + Some(refresh_rates[clicked - 1]) + }, + ..self.global_state.settings.graphics.fullscreen })); } @@ -2417,8 +2429,8 @@ impl<'a> Widget for SettingsWindow<'a> { .color(TEXT_COLOR) .set(state.ids.fullscreen_label, ui); - let fullscreen = ToggleButton::new( - self.global_state.settings.graphics.fullscreen, + let enabled = ToggleButton::new( + self.global_state.settings.graphics.fullscreen.enabled, self.imgs.checkbox, self.imgs.checkbox_checked, ) @@ -2428,8 +2440,48 @@ impl<'a> Widget for SettingsWindow<'a> { .press_images(self.imgs.checkbox_press, self.imgs.checkbox_checked) .set(state.ids.fullscreen_button, ui); - if self.global_state.settings.graphics.fullscreen != fullscreen { - events.push(Event::ToggleFullscreen); + if self.global_state.settings.graphics.fullscreen.enabled != enabled { + events.push(Event::ChangeFullscreenMode(FullScreenSettings { + enabled, + ..self.global_state.settings.graphics.fullscreen + })); + } + + // Fullscreen Mode + Text::new(&self.localized_strings.get("hud.settings.fullscreen_mode")) + .down_from(state.ids.fullscreen_label, 8.0) + .font_size(self.fonts.cyri.scale(14)) + .font_id(self.fonts.cyri.conrod_id) + .color(TEXT_COLOR) + .set(state.ids.fullscreen_mode_text, ui); + + let mode_list = [FullscreenMode::Exclusive, FullscreenMode::Borderless]; + let mode_label_list = [ + &self + .localized_strings + .get("hud.settings.fullscreen_mode.exclusive"), + &self + .localized_strings + .get("hud.settings.fullscreen_mode.borderless"), + ]; + + // Get which fullscreen mode is currently active + let selected = mode_list + .iter() + .position(|x| *x == self.global_state.settings.graphics.fullscreen.mode); + + if let Some(clicked) = DropDownList::new(&mode_label_list, selected) + .w_h(400.0, 22.0) + .color(MENU_BG) + .label_color(TEXT_COLOR) + .label_font_id(self.fonts.cyri.conrod_id) + .down_from(state.ids.fullscreen_mode_text, 8.0) + .set(state.ids.fullscreen_mode_list, ui) + { + events.push(Event::ChangeFullscreenMode(FullScreenSettings { + mode: mode_list[clicked], + ..self.global_state.settings.graphics.fullscreen + })); } // Save current screen size @@ -2437,7 +2489,7 @@ impl<'a> Widget for SettingsWindow<'a> { .w_h(31.0 * 5.0, 12.0 * 2.0) .hover_image(self.imgs.settings_button_hover) .press_image(self.imgs.settings_button_press) - .down_from(state.ids.fullscreen_label, 12.0) + .down_from(state.ids.fullscreen_mode_list, 12.0) .label(&self.localized_strings.get("hud.settings.save_window_size")) .label_font_size(self.fonts.cyri.scale(14)) .label_color(TEXT_COLOR) diff --git a/voxygen/src/hud/spell.rs b/voxygen/src/hud/spell.rs index 4f2e0aefe1..4f1a3561ba 100644 --- a/voxygen/src/hud/spell.rs +++ b/voxygen/src/hud/spell.rs @@ -1,5 +1,5 @@ use super::{img_ids::Imgs, Show, TEXT_COLOR, UI_MAIN}; -use crate::ui::fonts::ConrodVoxygenFonts; +use crate::{i18n::VoxygenLocalization, ui::fonts::ConrodVoxygenFonts}; use conrod_core::{ color, widget::{self, Button, Image, Rectangle, Text}, @@ -8,8 +8,6 @@ use conrod_core::{ use client::{self, Client}; -use crate::i18n::VoxygenLocalization; - widget_ids! { pub struct Ids { spell_frame, diff --git a/voxygen/src/session.rs b/voxygen/src/session.rs index f6bafd4804..817e2e99c4 100644 --- a/voxygen/src/session.rs +++ b/voxygen/src/session.rs @@ -957,37 +957,6 @@ impl PlayState for SessionState { global_state.settings.graphics.render_mode = *new_render_mode; global_state.settings.save_to_file_warn(); }, - HudEvent::ChangeResolution(new_resolution) => { - // Do this first so if it crashes the setting isn't saved :) - global_state.window.fullscreen( - global_state.settings.graphics.fullscreen, - new_resolution, - global_state.settings.graphics.bit_depth, - global_state.settings.graphics.refresh_rate, - ); - global_state.settings.graphics.resolution = new_resolution; - global_state.settings.save_to_file_warn(); - }, - HudEvent::ChangeBitDepth(new_bit_depth) => { - global_state.window.fullscreen( - global_state.settings.graphics.fullscreen, - global_state.settings.graphics.resolution, - new_bit_depth, - global_state.settings.graphics.refresh_rate, - ); - global_state.settings.graphics.bit_depth = new_bit_depth; - global_state.settings.save_to_file_warn(); - }, - HudEvent::ChangeRefreshRate(new_refresh_rate) => { - global_state.window.fullscreen( - global_state.settings.graphics.fullscreen, - global_state.settings.graphics.resolution, - global_state.settings.graphics.bit_depth, - new_refresh_rate, - ); - global_state.settings.graphics.refresh_rate = new_refresh_rate; - global_state.settings.save_to_file_warn(); - }, HudEvent::ChangeLanguage(new_language) => { global_state.settings.language.selected_language = new_language.language_identifier; @@ -999,15 +968,17 @@ impl PlayState for SessionState { self.voxygen_i18n.log_missing_entries(); self.hud.update_language(self.voxygen_i18n.clone()); }, + HudEvent::ChangeFullscreenMode(new_fullscreen_settings) => { + global_state + .window + .set_fullscreen_mode(new_fullscreen_settings); + global_state.settings.graphics.fullscreen = new_fullscreen_settings; + global_state.settings.save_to_file_warn(); + }, HudEvent::ToggleParticlesEnabled(particles_enabled) => { global_state.settings.graphics.particles_enabled = particles_enabled; global_state.settings.save_to_file_warn(); }, - HudEvent::ToggleFullscreen => { - global_state - .window - .toggle_fullscreen(&mut global_state.settings); - }, HudEvent::AdjustWindowSize(new_size) => { global_state.window.set_size(new_size.into()); global_state.settings.graphics.window_size = new_size; diff --git a/voxygen/src/settings.rs b/voxygen/src/settings.rs index bca5eec04e..93a214d1d3 100644 --- a/voxygen/src/settings.rs +++ b/voxygen/src/settings.rs @@ -3,7 +3,7 @@ use crate::{ i18n, render::RenderMode, ui::ScaleMode, - window::{GameInput, KeyMouse}, + window::{FullScreenSettings, GameInput, KeyMouse}, }; use directories_next::{ProjectDirs, UserDirs}; use hashbrown::{HashMap, HashSet}; @@ -617,11 +617,8 @@ pub struct GraphicsSettings { pub fov: u16, pub gamma: f32, pub render_mode: RenderMode, - pub resolution: [u16; 2], - pub bit_depth: Option, - pub refresh_rate: Option, pub window_size: [u16; 2], - pub fullscreen: bool, + pub fullscreen: FullScreenSettings, pub lod_detail: u32, } @@ -636,11 +633,8 @@ impl Default for GraphicsSettings { fov: 50, gamma: 1.0, render_mode: RenderMode::default(), - resolution: [1920, 1080], - bit_depth: None, - refresh_rate: None, window_size: [1920, 1080], - fullscreen: false, + fullscreen: FullScreenSettings::default(), lod_detail: 300, } } diff --git a/voxygen/src/ui/mod.rs b/voxygen/src/ui/mod.rs index 23f1d608e4..3faf645eb9 100644 --- a/voxygen/src/ui/mod.rs +++ b/voxygen/src/ui/mod.rs @@ -65,6 +65,7 @@ enum DrawKind { // Text and non-textured geometry Plain, } + enum DrawCommand { Draw { kind: DrawKind, verts: Range }, Scissor(Aabr), diff --git a/voxygen/src/window.rs b/voxygen/src/window.rs index 2a53eb5328..dc3e56fcc3 100644 --- a/voxygen/src/window.rs +++ b/voxygen/src/window.rs @@ -489,7 +489,7 @@ pub struct Window { pub zoom_sensitivity: u32, pub zoom_inversion: bool, pub mouse_y_inversion: bool, - fullscreen: bool, + fullscreen: FullScreenSettings, modifiers: winit::event::ModifiersState, needs_refresh_resize: bool, keypress_map: HashMap, @@ -593,7 +593,7 @@ impl Window { zoom_sensitivity: settings.gameplay.zoom_sensitivity, zoom_inversion: settings.gameplay.zoom_inversion, mouse_y_inversion: settings.gameplay.mouse_y_inversion, - fullscreen: false, + fullscreen: FullScreenSettings::default(), modifiers: Default::default(), needs_refresh_resize: false, keypress_map, @@ -611,12 +611,7 @@ impl Window { toggle_fullscreen: false, }; - this.fullscreen( - settings.graphics.fullscreen, - settings.graphics.resolution, - settings.graphics.bit_depth, - settings.graphics.refresh_rate, - ); + this.set_fullscreen_mode(settings.graphics.fullscreen); Ok((this, event_loop)) } @@ -1062,17 +1057,17 @@ impl Window { } pub fn toggle_fullscreen(&mut self, settings: &mut Settings) { - self.fullscreen( - !self.is_fullscreen(), - settings.graphics.resolution, - settings.graphics.bit_depth, - settings.graphics.refresh_rate, - ); - settings.graphics.fullscreen = self.is_fullscreen(); + let fullscreen = FullScreenSettings { + enabled: !self.is_fullscreen(), + ..settings.graphics.fullscreen + }; + + self.set_fullscreen_mode(fullscreen); + settings.graphics.fullscreen = fullscreen; settings.save_to_file_warn(); } - pub fn is_fullscreen(&self) -> bool { self.fullscreen } + pub fn is_fullscreen(&self) -> bool { self.fullscreen.enabled } pub fn select_video_mode_rec( &self, @@ -1250,22 +1245,26 @@ impl Window { }) } - pub fn fullscreen( - &mut self, - fullscreen: bool, - resolution: [u16; 2], - bit_depth: Option, - refresh_rate: Option, - ) { + pub fn set_fullscreen_mode(&mut self, fullscreen: FullScreenSettings) { let window = self.window.window(); self.fullscreen = fullscreen; - if fullscreen { - window.set_fullscreen(Some(winit::window::Fullscreen::Exclusive( - self.select_video_mode(resolution, bit_depth, refresh_rate), - ))); - } else { - window.set_fullscreen(None); - } + window.set_fullscreen( + fullscreen + .enabled + .then(|| match fullscreen.mode { + FullscreenMode::Exclusive => { + winit::window::Fullscreen::Exclusive(self.select_video_mode( + fullscreen.resolution, + fullscreen.bit_depth, + fullscreen.refresh_rate, + )) + }, + FullscreenMode::Borderless => { + winit::window::Fullscreen::Borderless(window.current_monitor()) + }, + }) + .or_else(|| None), + ); } pub fn needs_refresh_resize(&mut self) { self.needs_refresh_resize = true; } @@ -1376,3 +1375,33 @@ impl Window { self.remapping_keybindings = Some(game_input); } } + +#[derive(Copy, Clone, Hash, Eq, PartialEq, Debug, Serialize, Deserialize)] +pub enum FullscreenMode { + Exclusive, + Borderless, +} + +impl Default for FullscreenMode { + fn default() -> Self { FullscreenMode::Borderless } +} +#[derive(PartialEq, Clone, Copy, Debug, Serialize, Deserialize)] +pub struct FullScreenSettings { + pub enabled: bool, + pub mode: FullscreenMode, + pub resolution: [u16; 2], + pub bit_depth: Option, + pub refresh_rate: Option, +} + +impl Default for FullScreenSettings { + fn default() -> Self { + Self { + enabled: false, + mode: FullscreenMode::Borderless, + resolution: [1920, 1080], + bit_depth: None, + refresh_rate: None, + } + } +}