diff options
| author | n1c00o <34602094+n1c00o@users.noreply.github.com> | 2021-10-16 22:26:09 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-16 22:26:09 +0200 | 
| commit | e58e816ceb8caa3c77dd98a952761b7e7f05b6cb (patch) | |
| tree | ca5c9409986ff538e7a674473c1d642627d1055c /Cargo.lock | |
| parent | 03908129599260587fe7b9fd8254d28ad50b8714 (diff) | |
| parent | b94b0552f81e667bec31352901bbc8c76f1b4216 (diff) | |
Merge branch 'main' into nats-structs-discord-gateway
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 460 | 
1 files changed, 203 insertions, 257 deletions
@@ -3,6 +3,12 @@  version = 3  [[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]]  name = "aho-corasick"  version = "0.7.18"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -12,10 +18,10 @@ dependencies = [  ]  [[package]] -name = "anyhow" -version = "1.0.43" +name = "arc-swap" +version = "1.4.0"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28ae2b3dec75a406790005a200b1bd89785afc02517a00ca99ecfe093ee9e6cf" +checksum = "e6df5aef5c5830360ce5218cecb8f018af3438af5686ae945094affc86fdec63"  [[package]]  name = "arrayvec" @@ -35,27 +41,6 @@ dependencies = [  ]  [[package]] -name = "async-stream" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "171374e7e3b2504e0e5236e3b59260560f9fe94bfe9ac39ba5e4e929c5590625" -dependencies = [ - "async-stream-impl", - "futures-core", -] - -[[package]] -name = "async-stream-impl" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "648ed8c8d2ce5409ccd57453d9d1b214b342a0d69376a6feda1fd6cae3299308" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]]  name = "async-task"  version = "4.0.3"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -208,7 +193,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "a909e4d93292cd8e9c42e189f61681eff9d67b6541f96b8a1a737f23737bd001"  dependencies = [   "bytes", + "futures-core",   "memchr", + "pin-project-lite", + "tokio", + "tokio-util",  ]  [[package]] @@ -222,8 +211,10 @@ dependencies = [   "nats",   "pretty_env_logger",   "prometheus", + "redis",   "serde 1.0.130",   "serde_repr", + "testcontainers",   "tokio",  ] @@ -278,6 +269,21 @@ dependencies = [  ]  [[package]] +name = "crc16" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "338089f42c427b86394a5ee60ff321da23a5c89c9d89514c829687b26359fcff" + +[[package]] +name = "crc32fast" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a" +dependencies = [ + "cfg-if", +] + +[[package]]  name = "crossbeam-channel"  version = "0.5.1"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -298,6 +304,16 @@ dependencies = [  ]  [[package]] +name = "crypto-mac" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bff07008ec701e8028e2ceb8f83f0e4274ee62bd2dbdc4fefff2e9a91824081a" +dependencies = [ + "generic-array", + "subtle", +] + +[[package]]  name = "curve25519-dalek"  version = "3.2.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -353,12 +369,6 @@ dependencies = [  ]  [[package]] -name = "either" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" - -[[package]]  name = "enumflags2"  version = "0.7.1"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -408,10 +418,16 @@ dependencies = [  ]  [[package]] -name = "fixedbitset" -version = "0.2.0" +name = "flate2" +version = "1.0.22"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" +checksum = "1e6988e897c1c9c485f43b47a529cef42fde0547f9d8d41a7062518f1d8fc53f" +dependencies = [ + "cfg-if", + "crc32fast", + "libc", + "miniz_oxide", +]  [[package]]  name = "fnv" @@ -420,6 +436,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"  [[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + +[[package]]  name = "form_urlencoded"  version = "1.0.1"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -546,7 +577,6 @@ dependencies = [   "enumflags2",   "futures",   "futures-util", - "log",   "num",   "num-derive",   "num-traits 0.2.14", @@ -616,15 +646,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"  [[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]]  name = "hermit-abi"  version = "0.1.19"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -640,6 +661,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"  [[package]] +name = "hmac" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15" +dependencies = [ + "crypto-mac", + "digest", +] + +[[package]]  name = "http"  version = "0.2.4"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -707,15 +738,16 @@ dependencies = [  ]  [[package]] -name = "hyper-timeout" -version = "0.4.1" +name = "hyper-tls" +version = "0.5.0"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" +checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"  dependencies = [ + "bytes",   "hyper", - "pin-project-lite", + "native-tls",   "tokio", - "tokio-io-timeout", + "tokio-native-tls",  ]  [[package]] @@ -749,15 +781,6 @@ dependencies = [  ]  [[package]] -name = "itertools" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" -dependencies = [ - "either", -] - -[[package]]  name = "itoa"  version = "0.4.8"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -852,6 +875,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"  [[package]] +name = "miniz_oxide" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b" +dependencies = [ + "adler", + "autocfg", +] + +[[package]]  name = "mio"  version = "0.7.13"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -874,10 +907,22 @@ dependencies = [  ]  [[package]] -name = "multimap" -version = "0.8.3" +name = "native-tls" +version = "0.2.8"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +checksum = "48ba9f7719b5a0f42f338907614285fb5fd70e53858141f69898a1fb7203b24d" +dependencies = [ + "lazy_static", + "libc", + "log", + "openssl", + "openssl-probe", + "openssl-sys", + "schannel", + "security-framework", + "security-framework-sys", + "tempfile", +]  [[package]]  name = "nats" @@ -1079,12 +1124,39 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"  [[package]] +name = "openssl" +version = "0.10.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d9facdb76fec0b73c406f125d44d86fdad818d66fef0531eec9233ca425ff4a" +dependencies = [ + "bitflags", + "cfg-if", + "foreign-types", + "libc", + "once_cell", + "openssl-sys", +] + +[[package]]  name = "openssl-probe"  version = "0.1.4"  source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"  [[package]] +name = "openssl-sys" +version = "0.9.67" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69df2d8dfc6ce3aaf44b40dec6f487d5a886516cf6879c49e98e0710f310a058" +dependencies = [ + "autocfg", + "cc", + "libc", + "pkg-config", + "vcpkg", +] + +[[package]]  name = "parking"  version = "2.0.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1122,16 +1194,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"  [[package]] -name = "petgraph" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" -dependencies = [ - "fixedbitset", - "indexmap", -] - -[[package]]  name = "pin-project"  version = "1.0.8"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1207,6 +1269,20 @@ dependencies = [  ]  [[package]] +name = "procfs" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab8809e0c18450a2db0f236d2a44ec0b4c1412d0eb936233579f0990faa5d5cd" +dependencies = [ + "bitflags", + "byteorder", + "flate2", + "hex", + "lazy_static", + "libc", +] + +[[package]]  name = "prometheus"  version = "0.12.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1215,64 +1291,15 @@ dependencies = [   "cfg-if",   "fnv",   "lazy_static", + "libc",   "memchr",   "parking_lot", + "procfs",   "protobuf",   "thiserror",  ]  [[package]] -name = "prost" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020" -dependencies = [ - "bytes", - "prost-derive", -] - -[[package]] -name = "prost-build" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "355f634b43cdd80724ee7848f95770e7e70eefa6dcf14fea676216573b8fd603" -dependencies = [ - "bytes", - "heck", - "itertools", - "log", - "multimap", - "petgraph", - "prost", - "prost-types", - "tempfile", - "which", -] - -[[package]] -name = "prost-derive" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "600d2f334aa05acb02a755e217ef1ab6dea4d51b58b7846588b747edec04efba" -dependencies = [ - "anyhow", - "itertools", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "prost-types" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b" -dependencies = [ - "bytes", - "prost", -] - -[[package]]  name = "protobuf"  version = "2.25.1"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1380,12 +1407,21 @@ version = "0.21.2"  source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "202c5bf92cad3d57605c366e644a7fbf305a83f19754fc66678c6265dcc9b8b4"  dependencies = [ + "arc-swap",   "async-trait", + "bytes",   "combine", + "crc16",   "dtoa", + "futures", + "futures-util",   "itoa",   "percent-encoding", + "pin-project-lite", + "rand 0.8.4",   "sha1", + "tokio", + "tokio-util",   "url",  ] @@ -1425,13 +1461,17 @@ dependencies = [  ]  [[package]] -name = "rest-ratelimiter" +name = "rest"  version = "0.1.0"  dependencies = [ - "prost", + "common", + "futures-util", + "hyper", + "hyper-tls", + "lazy_static", + "serde 1.0.130",   "tokio", - "tonic", - "tonic-build", + "xxhash-rust",  ]  [[package]] @@ -1759,6 +1799,21 @@ dependencies = [  ]  [[package]] +name = "testcontainers" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5e3ed6e3598dbf32cba8cb356b881c085e0adea57597f387723430dd94b4084" +dependencies = [ + "hex", + "hmac", + "log", + "rand 0.8.4", + "serde 1.0.130", + "serde_json", + "sha2", +] + +[[package]]  name = "thiserror"  version = "1.0.29"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1825,16 +1880,6 @@ dependencies = [  ]  [[package]] -name = "tokio-io-timeout" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90c49f106be240de154571dd31fbe48acb10ba6c6dd6f6517ad603abffa42de9" -dependencies = [ - "pin-project-lite", - "tokio", -] - -[[package]]  name = "tokio-macros"  version = "1.3.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1846,25 +1891,24 @@ dependencies = [  ]  [[package]] -name = "tokio-rustls" -version = "0.22.0" +name = "tokio-native-tls" +version = "0.3.0"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6" +checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b"  dependencies = [ - "rustls", + "native-tls",   "tokio", - "webpki",  ]  [[package]] -name = "tokio-stream" -version = "0.1.7" +name = "tokio-rustls" +version = "0.22.0"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f" +checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"  dependencies = [ - "futures-core", - "pin-project-lite", + "rustls",   "tokio", + "webpki",  ]  [[package]] @@ -1908,75 +1952,6 @@ dependencies = [  ]  [[package]] -name = "tonic" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "796c5e1cd49905e65dd8e700d4cb1dffcbfdb4fc9d017de08c1a537afd83627c" -dependencies = [ - "async-stream", - "async-trait", - "base64", - "bytes", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-timeout", - "percent-encoding", - "pin-project", - "prost", - "prost-derive", - "tokio", - "tokio-stream", - "tokio-util", - "tower", - "tower-layer", - "tower-service", - "tracing", - "tracing-futures", -] - -[[package]] -name = "tonic-build" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b52d07035516c2b74337d2ac7746075e7dcae7643816c1b12c5ff8a7484c08" -dependencies = [ - "proc-macro2", - "prost-build", - "quote", - "syn", -] - -[[package]] -name = "tower" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f60422bc7fefa2f3ec70359b8ff1caff59d785877eb70595904605bcc412470f" -dependencies = [ - "futures-core", - "futures-util", - "indexmap", - "pin-project", - "rand 0.8.4", - "slab", - "tokio", - "tokio-stream", - "tokio-util", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-layer" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "343bc9466d3fe6b0f960ef45960509f84480bf4fd96f92901afe7ff3df9d3a62" - -[[package]]  name = "tower-service"  version = "0.3.1"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1989,24 +1964,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d"  dependencies = [   "cfg-if", - "log",   "pin-project-lite", - "tracing-attributes",   "tracing-core",  ]  [[package]] -name = "tracing-attributes" -version = "0.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c42e6fa53307c8a17e4ccd4dc81cf5ec38db9209f59b222210375b54ee40d1e2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]]  name = "tracing-core"  version = "0.1.19"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2016,16 +1978,6 @@ dependencies = [  ]  [[package]] -name = "tracing-futures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" -dependencies = [ - "pin-project", - "tracing", -] - -[[package]]  name = "try-lock"  version = "0.2.3"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2075,12 +2027,6 @@ dependencies = [  ]  [[package]] -name = "unicode-segmentation" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" - -[[package]]  name = "unicode-xid"  version = "0.2.2"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2111,6 +2057,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"  [[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]]  name = "version_check"  version = "0.9.3"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2224,12 +2176,11 @@ name = "webhook"  version = "0.1.0"  dependencies = [   "common", - "config",   "hex",   "hyper", + "lazy_static", + "libc",   "libsodium-sys", - "log", - "nats",   "serde 1.0.130",   "serde_json",   "tokio", @@ -2255,17 +2206,6 @@ dependencies = [  ]  [[package]] -name = "which" -version = "4.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9" -dependencies = [ - "either", - "lazy_static", - "libc", -] - -[[package]]  name = "winapi"  version = "0.3.9"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2297,6 +2237,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"  [[package]] +name = "xxhash-rust" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e575e15bedf6e57b5c2d763ffc6c3c760143466cbd09d762d539680ab5992ded" + +[[package]]  name = "yaml-rust"  version = "0.4.5"  source = "registry+https://github.com/rust-lang/crates.io-index"  | 
