diff options
| author | Matthieu <matthieu@developershouse.xyz> | 2021-10-12 22:51:30 +0400 | 
|---|---|---|
| committer | Matthieu <matthieu@developershouse.xyz> | 2021-10-12 22:51:30 +0400 | 
| commit | 005dadb342c6a79d154d3eaf5a5fbb86f3a7e641 (patch) | |
| tree | 8363ea7992b6275e32e019e68678f28bfe40fdb1 /Cargo.lock | |
| parent | a02b25f235ba6eff33c6fd965c97071d5f112b6d (diff) | |
tests, cleanup & rest base
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 384 | 
1 files changed, 121 insertions, 263 deletions
@@ -12,12 +12,6 @@ dependencies = [  ]  [[package]] -name = "anyhow" -version = "1.0.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28ae2b3dec75a406790005a200b1bd89785afc02517a00ca99ecfe093ee9e6cf" - -[[package]]  name = "arrayvec"  version = "0.5.2"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -35,27 +29,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" @@ -222,6 +195,7 @@ dependencies = [   "pretty_env_logger",   "prometheus",   "serde 1.0.130", + "testcontainers",   "tokio",  ] @@ -296,6 +270,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" @@ -351,12 +335,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" @@ -406,18 +384,27 @@ dependencies = [  ]  [[package]] -name = "fixedbitset" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" - -[[package]]  name = "fnv"  version = "1.0.7"  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" @@ -544,7 +531,6 @@ dependencies = [   "enumflags2",   "futures",   "futures-util", - "log",   "num",   "num-derive",   "num-traits 0.2.14", @@ -614,15 +600,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" @@ -638,6 +615,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" @@ -705,15 +692,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]] @@ -747,15 +735,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" @@ -872,10 +851,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" @@ -1077,12 +1068,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" @@ -1120,16 +1138,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" @@ -1220,57 +1228,6 @@ dependencies = [  ]  [[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" @@ -1423,13 +1380,15 @@ dependencies = [  ]  [[package]] -name = "rest-ratelimiter" +name = "rest"  version = "0.1.0"  dependencies = [ - "prost", + "common", + "futures-util", + "hyper", + "hyper-tls", + "serde 1.0.130",   "tokio", - "tonic", - "tonic-build",  ]  [[package]] @@ -1757,6 +1716,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" @@ -1823,16 +1797,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" @@ -1844,25 +1808,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]] @@ -1906,75 +1869,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" @@ -1987,24 +1881,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" @@ -2014,16 +1895,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" @@ -2073,12 +1944,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" @@ -2109,6 +1974,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" @@ -2222,12 +2093,10 @@ name = "webhook"  version = "0.1.0"  dependencies = [   "common", - "config",   "hex",   "hyper", + "libc",   "libsodium-sys", - "log", - "nats",   "serde 1.0.130",   "serde_json",   "tokio", @@ -2253,17 +2122,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"  | 
