diff --git a/Cargo.lock b/Cargo.lock index a1e4401..336b711 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ dependencies = [ "bytes 0.5.6", "crossbeam-channel", "derive_more", - "futures 0.3.5", + "futures 0.3.6", "lazy_static", "log", "parking_lot 0.10.2", @@ -75,7 +75,7 @@ dependencies = [ name = "actix-casbin-example" version = "0.1.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "casbin", "loge", ] @@ -123,7 +123,7 @@ dependencies = [ "actix-utils 1.0.6", "derive_more", "either", - "futures 0.3.5", + "futures 0.3.6", "http", "log", "trust-dns-proto 0.18.0-alpha.2", @@ -156,12 +156,12 @@ dependencies = [ [[package]] name = "actix-cors" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d88ea83af46935098feec2e19a28c919b54eb3cbf0e239b330298e2e69d4b76b" +checksum = "f3e5c769e4d332bfad27f11b8139b5818c4bbddb02c385b8f16344d93ff1a8eb" dependencies = [ "actix-service", - "actix-web 3.0.0", + "actix-web 3.1.0", "derive_more", "futures-util", ] @@ -195,7 +195,7 @@ checksum = "8035f08f194893b199f4928b40425bd727c0257cf0fcf36f4ac214968d649ec7" dependencies = [ "actix-http 2.0.0", "actix-service", - "actix-web 3.0.0", + "actix-web 3.1.0", "bitflags", "bytes 0.5.6", "derive_more", @@ -205,7 +205,7 @@ dependencies = [ "mime", "mime_guess", "percent-encoding", - "v_htmlescape 0.10.0", + "v_htmlescape 0.10.4", ] [[package]] @@ -301,21 +301,21 @@ dependencies = [ "serde_urlencoded", "sha-1 0.9.1", "slab", - "time 0.2.18", + "time 0.2.22", ] [[package]] name = "actix-identity" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7719a5386aa8a0c1f34b9d84906c588d825f9b359f3b5d34f9da196dc4c86e78" +checksum = "3263fe74cf505c6f9e18209c89fbdba5569cfd3905a7e907b42aa1c85c18fae5" dependencies = [ "actix-service", - "actix-web 3.0.0", + "actix-web 3.1.0", "futures-util", "serde 1.0.116", "serde_json", - "time 0.2.18", + "time 0.2.22", ] [[package]] @@ -336,7 +336,7 @@ checksum = "774bfeb11b54bf9c857a005b8ab893293da4eaff79261a66a9200dab7f5ab6e3" dependencies = [ "actix-service", "actix-utils 2.0.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "bytes 0.5.6", "derive_more", "futures-util", @@ -353,7 +353,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af362615b2f93a278580d218b6485cb2afa4e7a22cbc9ab36e44ba3d79c66967" dependencies = [ "actix-rt", - "actix-web 3.0.0", + "actix-web 3.1.0", "bytes 0.5.6", "derive_more", "futures-util", @@ -362,9 +362,9 @@ dependencies = [ [[package]] name = "actix-redis" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27c31a49ce0fc993c973ad59ecbf28523e0a84bc780604e69d808c3cd015cc08" +checksum = "6856e8adb0b1683817fc6504fed3eba36aba49bea450eb7437a0777a9adc78bc" dependencies = [ "actix 0.10.0", "actix-http 2.0.0", @@ -372,7 +372,7 @@ dependencies = [ "actix-service", "actix-session", "actix-utils 2.0.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "backoff", "derive_more", "futures-util", @@ -381,16 +381,16 @@ dependencies = [ "redis-async", "serde 1.0.116", "serde_json", - "time 0.2.18", + "time 0.2.22", "tokio", "tokio-util 0.3.1", ] [[package]] name = "actix-router" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d7a10ca4d94e8c8e7a87c5173aba1b97ba9a6563ca02b0e1cd23531093d3ec8" +checksum = "bbd1f7dbda1645bf7da33554db60891755f6c01c1b2169e2f4c492098d30c235" dependencies = [ "bytestring", "http", @@ -416,14 +416,14 @@ dependencies = [ [[package]] name = "actix-server" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d74b464215a473c973a2d7d03a69cc10f4ce1f4b38a7659c5193dc5c675630" +checksum = "45407e6e672ca24784baa667c5d32ef109ccdd8d5e0b5ebb9ef8a67f4dfb708e" dependencies = [ - "actix-codec 0.2.0", + "actix-codec 0.3.0", "actix-rt", "actix-service", - "actix-utils 1.0.6", + "actix-utils 2.0.0", "futures-channel", "futures-util", "log", @@ -451,13 +451,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfe0c795741b7a1a6f8eb46680c5a0f6f53484d054226a7af9a86195dfc2c14d" dependencies = [ "actix-service", - "actix-web 3.0.0", + "actix-web 3.1.0", "bytes 0.5.6", "derive_more", "futures-util", "serde 1.0.116", "serde_json", - "time 0.2.18", + "time 0.2.22", ] [[package]] @@ -501,7 +501,7 @@ dependencies = [ "actix-utils 1.0.6", "derive_more", "either", - "futures 0.3.5", + "futures 0.3.6", "log", ] @@ -529,11 +529,11 @@ version = "2.0.0" dependencies = [ "actix-files 0.3.0", "actix-session", - "actix-web 3.0.0", + "actix-web 3.1.0", "diesel", "dotenv", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "log", "serde 1.0.116", "serde_json", @@ -552,7 +552,7 @@ dependencies = [ "bitflags", "bytes 0.5.6", "either", - "futures 0.3.5", + "futures 0.3.6", "log", "pin-project", "slab", @@ -600,7 +600,7 @@ dependencies = [ "bytes 0.5.6", "derive_more", "encoding_rs", - "futures 0.3.5", + "futures 0.3.6", "fxhash", "log", "mime", @@ -616,9 +616,9 @@ dependencies = [ [[package]] name = "actix-web" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e665de333edabd0421799822dac3e7d8a25a63bb995ae1f60cd99619d8ddda8" +checksum = "c1b12fe25e11cd9ed2ef2e428427eb6178a1b363f3f7f0dab8278572f11b2da1" dependencies = [ "actix-codec 0.3.0", "actix-http 2.0.0", @@ -650,8 +650,8 @@ dependencies = [ "serde_json", "serde_urlencoded", "socket2", - "time 0.2.18", - "tinyvec", + "time 0.2.22", + "tinyvec 1.0.1", "url", ] @@ -666,7 +666,7 @@ dependencies = [ "actix-http 1.0.1", "actix-web 2.0.0", "bytes 0.5.6", - "futures 0.3.5", + "futures 0.3.6", "pin-project", ] @@ -679,7 +679,7 @@ dependencies = [ "actix 0.10.0", "actix-codec 0.3.0", "actix-http 2.0.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "bytes 0.5.6", "futures-channel", "futures-core", @@ -692,7 +692,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a71bf475cbe07281d0b3696abb48212db118e7e23219f13596ce865235ff5766" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -703,7 +703,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "750ca8fb60bbdc79491991650ba5d2ae7cd75f3fc00ead51390cfe9efda0d4d8" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -713,9 +713,9 @@ name = "actix-web-cors" version = "1.0.0" dependencies = [ "actix-cors", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "serde 1.0.116", "serde_json", ] @@ -726,7 +726,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b95aceadaf327f18f0df5962fedc1bde2f870566a0b9f65c89508a3b1f79334c" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -737,9 +737,9 @@ version = "1.0.0" dependencies = [ "actix 0.10.0", "actix-redis", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "redis-async", "serde 1.0.116", ] @@ -814,10 +814,16 @@ dependencies = [ ] [[package]] -name = "aho-corasick" -version = "0.7.13" +name = "ahash" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86" +checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217" + +[[package]] +name = "aho-corasick" +version = "0.7.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b476ce7103678b0c6d3d395dbbae31d48ff910bd28be979ba5d48c6351131d0d" dependencies = [ "memchr", ] @@ -860,9 +866,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.32" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b602bfe940d21c130f3895acd65221e8a61270debe89d628b9cb4e3ccb8569b" +checksum = "a1fd36ffbb1fb7c834eac128ea8d0e310c5aeb635548f9d58861e1308d46e71c" [[package]] name = "arc-swap" @@ -879,9 +885,9 @@ dependencies = [ "bindgen", "bitflags", "cc", - "cfg-if", + "cfg-if 0.1.10", "failure", - "futures 0.1.29", + "futures 0.1.30", "futures-cpupool", "libc", "log", @@ -932,7 +938,7 @@ checksum = "e1012c270085fa35ece6a48a569544fde85b6d9ee41074c7b706cc912a03f939" dependencies = [ "askama_shared", "nom 5.1.2", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -958,9 +964,9 @@ dependencies = [ [[package]] name = "async-channel" -version = "1.4.2" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21279cfaa4f47df10b1816007e738ca3747ef2ee53ffc51cdbf57a8bb266fee3" +checksum = "59740d83946db6a5af71ae25ddf9562c2b176b2ca42cf99a455f09f4a220d6b9" dependencies = [ "concurrent-queue", "event-listener", @@ -969,45 +975,62 @@ dependencies = [ [[package]] name = "async-executor" -version = "0.1.2" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90f47c78ea98277cb1f5e6f60ba4fc762f5eafe9f6511bc2f7dfd8b75c225650" +checksum = "d373d78ded7d0b3fa8039375718cde0aace493f2e34fb60f51cbf567562ca801" dependencies = [ + "async-task", + "concurrent-queue", + "fastrand", + "futures-lite", + "once_cell", + "vec-arena", +] + +[[package]] +name = "async-global-executor" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fefeb39da249f4c33af940b779a56723ce45809ef5c54dad84bb538d4ffb6d9e" +dependencies = [ + "async-executor", "async-io", - "futures-lite 0.1.11", - "multitask", - "parking 1.0.6", - "scoped-tls", - "waker-fn", + "futures-lite", + "num_cpus", + "once_cell", ] [[package]] name = "async-graphql" -version = "2.0.0-alpha.13" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0a00bd676140e0b4b9dfee0e2cb6dbd69f31819c047c66593bb98e6c666d9d" +checksum = "2c4ad0433b3b114db22303083b5fdbb43cdd3a7a7053cabb78dc1a77420a9be7" dependencies = [ "async-graphql-derive", "async-graphql-parser", + "async-graphql-value", "async-stream", "async-trait", - "blocking 1.0.0", + "blocking", "bson", "bytes 0.5.6", "chrono", "chrono-tz", "fnv", - "futures 0.3.5", + "futures 0.3.6", "indexmap", "itertools 0.9.0", "log", + "lru", "multer", + "num-traits 0.2.12", "once_cell", "pin-project-lite", "regex", "serde 1.0.116", "serde_json", "spin", + "static_assertions 1.1.0", "tempfile", "thiserror", "tracing", @@ -1017,17 +1040,17 @@ dependencies = [ [[package]] name = "async-graphql-actix-web" -version = "2.0.0-alpha.13" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27f2466c6ba1e8efe6cdfa77cbed7d4305d17f489ba3e7a3fcf27dba6d87842" +checksum = "b09f159aa2d1cc30d54b0e6f2a7b359d09c818193e7ddfbc166402bdab83e644" dependencies = [ "actix 0.10.0", "actix-http 2.0.0", "actix-rt", - "actix-web 3.0.0", + "actix-web 3.1.0", "actix-web-actors 3.0.0", "async-graphql", - "futures 0.3.5", + "futures 0.3.6", "serde_json", ] @@ -1035,7 +1058,7 @@ dependencies = [ name = "async-graphql-demo" version = "0.1.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "async-graphql", "async-graphql-actix-web", "slab", @@ -1043,25 +1066,28 @@ dependencies = [ [[package]] name = "async-graphql-derive" -version = "2.0.0-alpha.13" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28bc786e6d42bd7cc846aeb6e14cf155f35c3685e7a76d0da3d16237010f07b2" +checksum = "bc58814b6514bbf206ba7d27a3e4a7eea20b874549fafd2061610b98248d2de5" dependencies = [ "Inflector", "async-graphql-parser", + "darling", "itertools 0.9.0", "proc-macro-crate", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", + "thiserror", ] [[package]] name = "async-graphql-parser" -version = "2.0.0-alpha.13" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3547382648cc78db136deced524a2d2d399e5ac14cae580ba0ce92a27a1a1779" +checksum = "d79077561e3d93f905961a75cc4958660a21a8cf9471fa58b0156c7c2f17ea42" dependencies = [ + "async-graphql-value", "pest", "pest_derive", "serde 1.0.116", @@ -1069,49 +1095,60 @@ dependencies = [ ] [[package]] -name = "async-io" -version = "0.1.11" +name = "async-graphql-value" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae22a338d28c75b53702b66f77979062cb29675db376d99e451af4fa79dedb3" +checksum = "c6e402ad33a8e9d657758a58d41d6bb1b7a47deac4ef647f789668654638bb82" +dependencies = [ + "serde 1.0.116", + "serde_json", +] + +[[package]] +name = "async-io" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d54bc4c1c7292475efb2253227dbcfad8fe1ca4c02bc62c510cc2f3da5c4704e" dependencies = [ - "cfg-if", "concurrent-queue", - "futures-lite 0.1.11", + "fastrand", + "futures-lite", "libc", + "log", + "nb-connect", "once_cell", - "parking 2.0.0", + "parking", "polling", - "socket2", "vec-arena", - "wepoll-sys-stjepang", + "waker-fn", "winapi 0.3.9", ] [[package]] name = "async-mutex" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66941c2577c4fa351e4ce5fdde8f86c69b88d623f3b955be1bc7362a23434632" +checksum = "479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e" dependencies = [ "event-listener", ] [[package]] name = "async-std" -version = "1.6.3" +version = "1.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c8da367da62b8ff2313c406c9ac091c1b31d67a165becdd2de380d846260f7" +checksum = "a9fa76751505e8df1c7a77762f60486f60c71bbd9b8557f4da6ad47d083732ed" dependencies = [ - "async-executor", + "async-global-executor", "async-io", "async-mutex", - "async-task", - "blocking 0.5.2", + "blocking", "crossbeam-utils", "futures-channel", "futures-core", "futures-io", - "futures-lite 0.1.11", + "futures-lite", + "gloo-timers", "kv-log-macro", "log", "memchr", @@ -1139,24 +1176,24 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3548b8efc9f8e8a5a0a2808c5bd8451a9031b9e5b879a79590304ae928b0a70" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] [[package]] name = "async-task" -version = "3.0.0" +version = "4.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17772156ef2829aadc587461c7753af20b7e8db1529bc66855add962a3b35d3" +checksum = "8ab27c1aa62945039e44edaeee1dc23c74cc0c303dd5fe0fb462a184f1c3a518" [[package]] name = "async-trait" -version = "0.1.40" +version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "687c230d85c0a52504709705fc8a53e4a692b83a2184f03dae73e38e1e93a783" +checksum = "b246867b8b3b6ae56035f1eb1ed557c1d8eae97f0d53696138a50fa0e3a3b8c0" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -1165,7 +1202,7 @@ dependencies = [ name = "async_data_factory" version = "0.1.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "num_cpus", "redis", "redis_tang", @@ -1175,10 +1212,10 @@ dependencies = [ name = "async_db" version = "2.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", "failure", - "futures 0.3.5", + "futures 0.3.6", "num_cpus", "r2d2", "r2d2_sqlite", @@ -1193,10 +1230,10 @@ version = "0.1.0" dependencies = [ "actix-rt", "actix-service", - "actix-web 3.0.0", + "actix-web 3.1.0", "bytes 0.5.6", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "serde 1.0.116", "serde_json", "time 0.1.44", @@ -1206,7 +1243,7 @@ dependencies = [ name = "async_pg" version = "0.1.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "config", "deadpool-postgres", "derive_more", @@ -1292,9 +1329,9 @@ dependencies = [ name = "awc_examples" version = "2.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "serde 1.0.116", "serde_json", "validator", @@ -1305,7 +1342,7 @@ dependencies = [ name = "awc_https" version = "0.1.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "openssl", ] @@ -1321,12 +1358,12 @@ dependencies = [ [[package]] name = "backtrace" -version = "0.3.50" +version = "0.3.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46254cf2fdcdf1badb5934448c1bcbe046a56537b3987d96c51a7afc5d03f293" +checksum = "707b586e0e2f247cbde68cdd2c3ce69ea7b7be43e1c5b426e37c9319c4b9838e" dependencies = [ "addr2line", - "cfg-if", + "cfg-if 1.0.0", "libc", "miniz_oxide", "object", @@ -1367,7 +1404,7 @@ dependencies = [ "actix-files 0.3.0", "actix-session", "actix-utils 2.0.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", ] @@ -1401,7 +1438,7 @@ checksum = "cb0e5a5f74b2bafe0b39379f616b5975e08bcaca4e779c078d5c31324147e9ba" dependencies = [ "bitflags", "cexpr", - "cfg-if", + "cfg-if 0.1.10", "clang-sys", "clap", "env_logger 0.6.2", @@ -1474,29 +1511,16 @@ dependencies = [ [[package]] name = "blocking" -version = "0.5.2" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea5800d29218fea137b0880387e5948694a23c93fcdde157006966693a865c7c" -dependencies = [ - "async-channel", - "atomic-waker", - "futures-lite 0.1.11", - "once_cell", - "waker-fn", -] - -[[package]] -name = "blocking" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2640778f8053e72c11f621b0a5175a0560a269282aa98ed85107773ab8e2a556" +checksum = "c5e170dbede1f740736619b776d7251cb1b9095c435c34d8ca9f57fcd2f335e9" dependencies = [ "async-channel", + "async-task", "atomic-waker", "fastrand", - "futures-lite 1.7.0", + "futures-lite", "once_cell", - "waker-fn", ] [[package]] @@ -1632,9 +1656,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.59" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66120af515773fb005778dc07c261bd201ec8ce50bd6e7144c927753fe013381" +checksum = "ed67cbde08356238e75fc4656be4749481eeffb09e19f320a25237d5221c985d" dependencies = [ "jobserver", ] @@ -1655,15 +1679,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] -name = "chrono" -version = "0.4.15" +name = "cfg-if" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942f72db697d8767c22d46a598e01f2d3b475501ea43d0db4f16d90259182d0b" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chrono" +version = "0.4.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" dependencies = [ + "libc", "num-integer", "num-traits 0.2.12", "serde 1.0.116", "time 0.1.44", + "winapi 0.3.9", ] [[package]] @@ -1832,7 +1864,7 @@ dependencies = [ "percent-encoding", "rand", "sha2 0.9.1", - "time 0.2.18", + "time 0.2.22", "version_check 0.9.2", ] @@ -1841,7 +1873,7 @@ name = "cookie-auth" version = "2.0.0" dependencies = [ "actix-identity", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", "rand", ] @@ -1851,7 +1883,7 @@ name = "cookie-session" version = "1.0.0" dependencies = [ "actix-session", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", ] @@ -1889,7 +1921,7 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", ] [[package]] @@ -1908,7 +1940,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "crossbeam-utils", "maybe-uninit", ] @@ -1920,7 +1952,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8" dependencies = [ "autocfg", - "cfg-if", + "cfg-if 0.1.10", "lazy_static", ] @@ -1962,7 +1994,7 @@ checksum = "f0c960ae2da4de88a91b2d920c2a7233b400bc33cb28453a2987822d8392519b" dependencies = [ "fnv", "ident_case", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "strsim 0.9.3", "syn", @@ -2002,7 +2034,7 @@ dependencies = [ "async-trait", "config", "deadpool", - "futures 0.3.5", + "futures 0.3.6", "log", "serde 1.0.116", "tokio", @@ -2017,7 +2049,7 @@ checksum = "a2658621297f2cf68762a6f7dc0bb7e1ff2cfd6583daef8ee0fed6f7ec468ec0" dependencies = [ "darling", "derive_builder_core", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -2029,18 +2061,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2791ea3e372c8495c0bc2033991d76b512cd799d07491fbd6890124db9458bef" dependencies = [ "darling", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] [[package]] name = "derive_more" -version = "0.99.10" +version = "0.99.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dcfabdab475c16a93d669dddfc393027803e347d09663f524447f642fbb84ba" +checksum = "41cb0e6161ad61ed084a36ba71fbba9e3ac5aee3606fb607fe08da6acbcf3d8c" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -2051,7 +2083,7 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3df5480412da86cdf5d6b7f3b682422c84359ff7399aa658df1d15ee83244b1d" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -2082,12 +2114,12 @@ dependencies = [ name = "diesel-example" version = "1.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "diesel", "dotenv", "env_logger 0.7.1", "failure", - "futures 0.3.5", + "futures 0.3.6", "r2d2", "serde 1.0.116", "serde_json", @@ -2100,7 +2132,7 @@ version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45f5098f628d02a7a0f68ddba586fb61e80edec3bdc1be3b921f4ceec60858d3" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -2129,7 +2161,7 @@ version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "551a778172a450d7fc12e629ca3b0428d00f6afa9a43da1b630d54604e97371c" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "dirs-sys", ] @@ -2150,7 +2182,7 @@ version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "dirs-sys", ] @@ -2175,7 +2207,7 @@ checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" name = "docker_sample" version = "0.1.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", ] [[package]] @@ -2192,9 +2224,9 @@ checksum = "134951f4028bdadb9b84baf4232681efbf277da25144b9b0ad65df75946c422b" [[package]] name = "either" -version = "1.6.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f" +checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "encode_unicode" @@ -2272,7 +2304,7 @@ version = "0.8.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a51b8cf747471cb9499b6d59e59b0444f4c90eba8968c4e44874e92b5b64ace2" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", ] [[package]] @@ -2282,7 +2314,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c5f0096a91d210159eceb2ff5e1c4da18388a170e1e3ce948aac9c8fdbbf595" dependencies = [ "heck", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -2327,7 +2359,7 @@ dependencies = [ name = "error_handling" version = "1.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "derive_more", "env_logger 0.7.1", "rand", @@ -2335,9 +2367,9 @@ dependencies = [ [[package]] name = "event-listener" -version = "2.4.0" +version = "2.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cd41440ae7e4734bbd42302f63eaba892afc93a3912dad84006247f0dedb0e" +checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59" [[package]] name = "failure" @@ -2355,7 +2387,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", "synstructure", @@ -2381,17 +2413,20 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" [[package]] name = "fastrand" -version = "1.3.5" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c85295147490b8fcf2ea3d104080a105a8b2c63f9c319e82c02d8e952388919" +checksum = "ca5faf057445ce5c9d4329e382b2ce7ca38550ef3b73a5348362d5f24e0c7fe3" +dependencies = [ + "instant", +] [[package]] name = "flate2" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "766d0e77a2c1502169d4a93ff3b8c15a71fd946cd0126309752104e5f3c46d94" +checksum = "da80be589a72651dcda34d8b35bcdc9b7254ad06325611074d9cc0fbb19f60ee" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "crc32fast", "libc", "libz-sys", @@ -2424,7 +2459,7 @@ name = "form-example" version = "1.0.0" dependencies = [ "actix-rt", - "actix-web 3.0.0", + "actix-web 3.1.0", "serde 1.0.116", ] @@ -2456,15 +2491,15 @@ dependencies = [ [[package]] name = "futures" -version = "0.1.29" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef" +checksum = "4c7e4c2612746b0df8fed4ce0c69156021b704c9aefa360311c04e6e9e002eed" [[package]] name = "futures" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e05b85ec287aac0dc34db7d4a569323df697f9c55b99b15d6b4ef8cde49f613" +checksum = "5d8e3078b7b2a8a671cb7a3d17b4760e4181ea243227776ba83fd043b4ca034e" dependencies = [ "futures-channel", "futures-core", @@ -2477,9 +2512,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f366ad74c28cca6ba456d95e6422883cfb4b252a83bed929c83abfdbbf2967d5" +checksum = "a7a4d35f7401e948629c9c3d6638fb9bf94e0b2121e96c3b428cc4e631f3eb74" dependencies = [ "futures-core", "futures-sink", @@ -2487,9 +2522,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59f5fff90fd5d971f936ad674802482ba441b6f09ba5e15fd8b39145582ca399" +checksum = "d674eaa0056896d5ada519900dbf97ead2e46a7b6621e8160d79e2f2e1e2784b" [[package]] name = "futures-cpupool" @@ -2497,15 +2532,15 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" dependencies = [ - "futures 0.1.29", + "futures 0.1.30", "num_cpus", ] [[package]] name = "futures-executor" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10d6bb888be1153d3abeb9006b11b02cf5e9b209fda28693c31ae1e4e012e314" +checksum = "cc709ca1da6f66143b8c9bec8e6260181869893714e9b5a490b169b0414144ab" dependencies = [ "futures-core", "futures-task", @@ -2514,72 +2549,57 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de27142b013a8e869c14957e6d2edeef89e97c289e69d042ee3a49acd8b51789" +checksum = "5fc94b64bb39543b4e432f1790b6bf18e3ee3b74653c5449f63310e9a74b123c" [[package]] name = "futures-lite" -version = "0.1.11" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97999970129b808f0ccba93211201d431fcc12d7e1ffae03a61b5cedd1a7ced2" +checksum = "381a7ad57b1bad34693f63f6f377e1abded7a9c85c9d3eb6771e11c60aaadab9" dependencies = [ "fastrand", "futures-core", "futures-io", "memchr", - "parking 2.0.0", - "pin-project-lite", - "waker-fn", -] - -[[package]] -name = "futures-lite" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b77e08e656f472d8ea84c472fa8b0a7a917883048e1cf2d4e34a323cd0aaf63" -dependencies = [ - "fastrand", - "futures-core", - "futures-io", - "memchr", - "parking 2.0.0", + "parking", "pin-project-lite", "waker-fn", ] [[package]] name = "futures-macro" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0b5a30a4328ab5473878237c447333c093297bded83a4983d10f4deea240d39" +checksum = "f57ed14da4603b2554682e9f2ff3c65d7567b53188db96cb71538217fc64581b" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] [[package]] name = "futures-sink" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f2032893cb734c7a05d85ce0cc8b8c4075278e93b24b66f9de99d6eb0fa8acc" +checksum = "0d8764258ed64ebc5d9ed185cf86a95db5cac810269c5d20ececb32e0088abbd" [[package]] name = "futures-task" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdb66b5f09e22019b1ab0830f7785bcea8e7a42148683f99214f73f8ec21a626" +checksum = "4dd26820a9f3637f1302da8bceba3ff33adbe53464b54ca24d4e2d4f1db30f94" dependencies = [ "once_cell", ] [[package]] name = "futures-util" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8764574ff08b701a084482c3c7031349104b07ac897393010494beaa18ce32c6" +checksum = "8a894a0acddba51a2d49a6f4263b1e64b8c579ece8af50fa86503d52cd1eea34" dependencies = [ "futures-channel", "futures-core", @@ -2629,7 +2649,7 @@ version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "libc", "wasi 0.9.0+wasi-snapshot-preview1", ] @@ -2679,6 +2699,19 @@ dependencies = [ "walkdir", ] +[[package]] +name = "gloo-timers" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "h2" version = "0.2.6" @@ -2700,9 +2733,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5deefd4816fb852b1ff3cb48f6c41da67be2d0e1d20b26a7a3b076da11f064b1" +checksum = "dcd1b5399b9884f9ae18b5d4105d180720c8f602aeb73d3ceae9d6b1d13a5fa7" dependencies = [ "log", "pest", @@ -2715,9 +2748,19 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.9.0" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00d63df3d41950fb462ed38308eea019113ad1508da725bbedcd0fa5a85ef5f7" +checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25" +dependencies = [ + "ahash", + "autocfg", +] + +[[package]] +name = "hashbrown" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" [[package]] name = "heck" @@ -2733,15 +2776,15 @@ name = "hello-world" version = "2.0.0" dependencies = [ "actix-rt", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", ] [[package]] name = "hermit-abi" -version = "0.1.15" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9" +checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8" dependencies = [ "libc", ] @@ -2818,7 +2861,7 @@ dependencies = [ name = "http-proxy" version = "2.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "clap", "url", ] @@ -2829,6 +2872,12 @@ version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" +[[package]] +name = "httpdate" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" + [[package]] name = "humansize" version = "1.1.0" @@ -2846,9 +2895,9 @@ dependencies = [ [[package]] name = "hyper" -version = "0.13.7" +version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e68a8dd9716185d9e64ea473ea6ef63529252e3e27623295a0378a19665d5eb" +checksum = "2f3afcfae8af5ad0576a31e768415edb627824129e8e5a29b8bfccb2f234e835" dependencies = [ "bytes 0.5.6", "futures-channel", @@ -2858,10 +2907,10 @@ dependencies = [ "http", "http-body", "httparse", + "httpdate", "itoa", "pin-project", "socket2", - "time 0.1.44", "tokio", "tower-service", "tracing", @@ -2900,9 +2949,9 @@ dependencies = [ [[package]] name = "if_chain" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3360c7b59e5ffa2653671fb74b4741a5d343c03f331c0a4aeda42b5c2b0ec7d" +checksum = "1f7280c75fb2e2fc47080ec80ccc481376923acb04501957fc38f935c3de5088" [[package]] name = "ignore" @@ -2929,15 +2978,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.9.1", "serde 1.0.116", ] [[package]] name = "instant" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485" +checksum = "63312a18f7ea8760cdd0a7c5aac1a619752a246b833545e3e36d1f81f7cd9e66" +dependencies = [ + "cfg-if 0.1.10", +] [[package]] name = "io-enum" @@ -3037,9 +3089,9 @@ version = "0.1.0" dependencies = [ "actix-rt", "actix-service", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "json", "serde 1.0.116", "serde_json", @@ -3049,7 +3101,7 @@ dependencies = [ name = "json_decode_error" version = "0.1.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "serde 1.0.116", ] @@ -3057,7 +3109,7 @@ dependencies = [ name = "json_error" version = "1.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "failure", "serde 1.0.116", "serde_json", @@ -3067,10 +3119,10 @@ dependencies = [ name = "jsonrpc-example" version = "2.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "bytes 0.5.6", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "log", "serde 1.0.116", "serde_json", @@ -3096,7 +3148,7 @@ dependencies = [ name = "juniper-advanced" version = "2.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "dotenv", "env_logger 0.7.1", "juniper", @@ -3114,7 +3166,7 @@ name = "juniper-example" version = "0.2.0" dependencies = [ "actix-cors", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", "juniper", "serde 1.0.116", @@ -3128,7 +3180,7 @@ version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d40af234d8e971a9d7dda93ffbcc8a44a93f17e69e3067f72ce7a6894c41d51b" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -3176,7 +3228,7 @@ version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0afaeae1c07c575338ef6809875bfea8daa9ea8b2ee381ef1f93ba0c6e32f003" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "lexical-core 0.6.2", "rustc_version", ] @@ -3188,7 +3240,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7043aa5c05dd34fb73b47acb8c3708eac428de4545ea3682ed2f11293ebd890" dependencies = [ "arrayvec 0.4.12", - "cfg-if", + "cfg-if 0.1.10", "rustc_version", "ryu", "static_assertions 0.3.4", @@ -3202,16 +3254,16 @@ checksum = "db65c6da02e61f55dae90a0ae427b2a5f6b3e8db09f58d10efab23af92592616" dependencies = [ "arrayvec 0.5.1", "bitflags", - "cfg-if", + "cfg-if 0.1.10", "ryu", "static_assertions 1.1.0", ] [[package]] name = "libc" -version = "0.2.77" +version = "0.2.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235" +checksum = "2448f6066e80e3bfc792e9c98bf705b4b0fc6e8ef5b43e5889aff0eaa9c58743" [[package]] name = "libloading" @@ -3293,7 +3345,7 @@ version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", ] [[package]] @@ -3309,6 +3361,15 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "lru" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "111b945ac72ec09eb7bc62a0fbdc3cc6e80555a7245f52a69d3921a75b53b153" +dependencies = [ + "hashbrown 0.8.2", +] + [[package]] name = "lru-cache" version = "0.1.2" @@ -3382,9 +3443,9 @@ name = "middleware-example" version = "2.0.0" dependencies = [ "actix-service", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "pin-project", ] @@ -3406,11 +3467,12 @@ dependencies = [ [[package]] name = "miniz_oxide" -version = "0.4.1" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d7559a8a40d0f97e1edea3220f698f78b1c5ab67532e49f68fde3910323b722" +checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d" dependencies = [ "adler", + "autocfg", ] [[package]] @@ -3419,7 +3481,7 @@ version = "0.6.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "fuchsia-zircon", "fuchsia-zircon-sys", "iovec", @@ -3486,7 +3548,7 @@ dependencies = [ "bytes 0.5.6", "derive_more", "encoding_rs", - "futures 0.3.5", + "futures 0.3.6", "http", "httparse", "lazy_static", @@ -3501,9 +3563,9 @@ name = "multipart-async-std-example" version = "0.3.0" dependencies = [ "actix-multipart", - "actix-web 3.0.0", + "actix-web 3.1.0", "async-std", - "futures 0.3.5", + "futures 0.3.6", "sanitize-filename", ] @@ -3512,8 +3574,8 @@ name = "multipart-example" version = "0.3.0" dependencies = [ "actix-multipart", - "actix-web 3.0.0", - "futures 0.3.5", + "actix-web 3.1.0", + "futures 0.3.6", "sanitize-filename", ] @@ -3522,10 +3584,10 @@ name = "multipart-s3" version = "0.1.0" dependencies = [ "actix-multipart", - "actix-web 3.0.0", + "actix-web 3.1.0", "bytes 0.5.6", "dotenv", - "futures 0.3.5", + "futures 0.3.6", "rusoto_core", "rusoto_s3", "sanitize-filename", @@ -3533,17 +3595,6 @@ dependencies = [ "serde_json", ] -[[package]] -name = "multitask" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c09c35271e7dcdb5f709779111f2c8e8ab8e06c1b587c1c6a9e179d865aaa5b4" -dependencies = [ - "async-task", - "concurrent-queue", - "fastrand", -] - [[package]] name = "mysql" version = "17.0.0" @@ -3624,13 +3675,23 @@ dependencies = [ "tempfile", ] +[[package]] +name = "nb-connect" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8123a81538e457d44b933a02faf885d3fe8408806b23fa700e8f01c6c3a98998" +dependencies = [ + "libc", + "winapi 0.3.9", +] + [[package]] name = "net2" version = "0.2.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ebc3ec692ed7c9a255596c67808dee269f64655d8baf7b4f0638e51ba1d6853" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "libc", "winapi 0.3.9", ] @@ -3649,7 +3710,7 @@ checksum = "3b2e0b4f3320ed72aaedb9a5ac838690a8047c7b275da22711fddff4f8a14229" dependencies = [ "bitflags", "cc", - "cfg-if", + "cfg-if 0.1.10", "libc", "void", ] @@ -3732,9 +3793,9 @@ dependencies = [ [[package]] name = "object" -version = "0.20.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5" +checksum = "37fd5004feb2ce328a52b0b3d01dbf4ffff72583493900ed15f22d4111c51693" [[package]] name = "once_cell" @@ -3783,7 +3844,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d575eff3665419f9b83678ff2815858ad9d11567e082f5ac1814baba4e2bcb4" dependencies = [ "bitflags", - "cfg-if", + "cfg-if 0.1.10", "foreign-types", "lazy_static", "libc", @@ -3794,7 +3855,7 @@ dependencies = [ name = "openssl-example" version = "0.2.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", "openssl", ] @@ -3818,12 +3879,6 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "parking" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cb300f271742d4a2a66c01b6b2fa0c83dfebd2e0bf11addb879a3547b4ed87c" - [[package]] name = "parking" version = "2.0.0" @@ -3857,7 +3912,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "cloudabi 0.0.3", "libc", "redox_syscall", @@ -3871,7 +3926,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c361aa727dd08437f2f1447be8b59a33b0edd15e0fcee698f935613d9efbca9b" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "cloudabi 0.1.0", "instant", "libc", @@ -3928,7 +3983,7 @@ checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55" dependencies = [ "pest", "pest_meta", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -3984,29 +4039,29 @@ dependencies = [ [[package]] name = "pin-project" -version = "0.4.23" +version = "0.4.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca4433fff2ae79342e497d9f8ee990d174071408f28f726d6d83af93e58e48aa" +checksum = "2ffbc8e94b38ea3d2d8ba92aea2983b503cd75d0888d75b86bb37970b5698e15" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "0.4.23" +version = "0.4.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f" +checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] [[package]] name = "pin-project-lite" -version = "0.1.7" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715" +checksum = "e555d9e657502182ac97b539fb3dae8b79cda19e3e4f8ffb5e8de4f18df93c95" [[package]] name = "pin-utils" @@ -4036,24 +4091,24 @@ dependencies = [ [[package]] name = "polling" -version = "0.1.9" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fffa183f6bd5f1a8a3e1f60ce2f8d5621e350eed84a62d6daaa5b9d1aaf6fbd" +checksum = "ab773feb154f12c49ffcfd66ab8bdcf9a1843f950db48b0d8be9d4393783b058" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "libc", "log", - "wepoll-sys-stjepang", + "wepoll-sys", "winapi 0.3.9", ] [[package]] name = "polyval" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9a50142b55ab3ed0e9f68dfb3709f1d90d29da24e91033f28b96330643107dc" +checksum = "a5884790f1ce3553ad55fec37b5aaac5882e0e845a2612df744d6c85c9bf046c" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "universal-hash", ] @@ -4160,9 +4215,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.21" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36e28516df94f3dd551a587da5357459d9b36d945a7c37c3557928c1c2ff2a2c" +checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" dependencies = [ "unicode-xid 0.2.1", ] @@ -4194,7 +4249,7 @@ checksum = "537aa19b95acde10a12fec4301466386f757403de4cd4e5b4fa78fb5ecb18f72" dependencies = [ "anyhow", "itertools 0.8.2", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -4205,7 +4260,7 @@ version = "0.2.0" dependencies = [ "actix 0.10.0", "actix-protobuf", - "actix-web 3.0.0", + "actix-web 3.1.0", "bytes 0.5.6", "env_logger 0.7.1", "prost", @@ -4239,7 +4294,7 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", ] [[package]] @@ -4266,7 +4321,7 @@ dependencies = [ name = "r2d2-example" version = "1.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", "r2d2", "r2d2_sqlite", @@ -4388,12 +4443,12 @@ dependencies = [ "actix-rt", "actix-service", "actix-session", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", "rand", "serde 1.0.116", "serde_json", - "time 0.2.18", + "time 0.2.22", ] [[package]] @@ -4426,9 +4481,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.3.9" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6" +checksum = "36f45b719a674bf4b828ff318906d6c133264c793eff7a41e30074a45b5099e2" dependencies = [ "aho-corasick", "memchr", @@ -4438,9 +4493,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.18" +version = "0.6.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8" +checksum = "c17be88d9eaa858870aa5e48cc406c206e4600e983fc4f06bbe5750d93d09761" [[package]] name = "remove_dir_all" @@ -4525,7 +4580,7 @@ dependencies = [ name = "run-in-thread" version = "2.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", ] @@ -4538,7 +4593,7 @@ dependencies = [ "async-trait", "base64 0.12.3", "bytes 0.5.6", - "futures 0.3.5", + "futures 0.3.6", "hmac 0.7.1", "http", "hyper", @@ -4567,7 +4622,7 @@ dependencies = [ "async-trait", "chrono", "dirs 2.0.2", - "futures 0.3.5", + "futures 0.3.6", "hyper", "pin-project", "regex", @@ -4586,7 +4641,7 @@ checksum = "2b6bc3221ae5a2c036d5757eee68a2ffb6b7f87b8a83adbf4271c8133fdee01c" dependencies = [ "async-trait", "bytes 0.5.6", - "futures 0.3.5", + "futures 0.3.6", "rusoto_core", "xml-rs", ] @@ -4599,7 +4654,7 @@ checksum = "62940a2bd479900a1bf8935b8f254d3e19368ac3ac4570eb4bd48eb46551a1b7" dependencies = [ "base64 0.12.3", "bytes 0.5.6", - "futures 0.3.5", + "futures 0.3.6", "hex", "hmac 0.7.1", "http", @@ -4612,7 +4667,7 @@ dependencies = [ "rustc_version", "serde 1.0.116", "sha2 0.8.2", - "time 0.2.18", + "time 0.2.22", "tokio", ] @@ -4651,9 +4706,9 @@ checksum = "3e52c148ef37f8c375d49d5a73aa70713125b7f19095948a923f80afdeb22ec2" [[package]] name = "rust_decimal" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ba36e8c41bf675947e200af432325f332f60a0aea0ef2dc456636c2f6037d7" +checksum = "c9e81662973c7a8d9663e64a0de4cd642b89a21d64966e3d99606efdc5fb0cc6" dependencies = [ "num-traits 0.2.12", "serde 1.0.116", @@ -4661,9 +4716,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.16" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" +checksum = "b2610b7f643d18c87dff3b489950269617e6601a51f1f05aa5daefee36f64f0b" [[package]] name = "rustc_version" @@ -4692,7 +4747,7 @@ name = "rustls-example" version = "1.0.0" dependencies = [ "actix-files 0.3.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", "rustls", ] @@ -4747,12 +4802,6 @@ dependencies = [ "parking_lot 0.11.0", ] -[[package]] -name = "scoped-tls" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" - [[package]] name = "scopeguard" version = "1.1.0" @@ -4841,16 +4890,16 @@ version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f630a6370fd8e457873b4bd2ffdae75408bc291ba72be773772a4c2a065d9ae8" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] [[package]] name = "serde_json" -version = "1.0.57" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "164eacbdb13512ec2745fb09d51fd5b22b0d65ed294a1dcf7285a360c80a675c" +checksum = "dcac07dbffa1c65e7f816ab9eba78eb142c6d44410f4eeba1e26e4f5dfa56b95" dependencies = [ "indexmap", "itoa", @@ -4883,9 +4932,9 @@ dependencies = [ name = "server-sent-events" version = "1.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "tokio", ] @@ -4908,7 +4957,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "170a36ea86c864a3f16dd2687712dd6646f7019f301e57537c7f4dc9f5916770" dependencies = [ "block-buffer 0.9.0", - "cfg-if", + "cfg-if 0.1.10", "cpuid-bool", "digest 0.9.0", "opaque-debug 0.3.0", @@ -4939,7 +4988,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2933378ddfeda7ea26f48c555bdad8bb446bf8a3d17832dc83e380d444cfb8c1" dependencies = [ "block-buffer 0.9.0", - "cfg-if", + "cfg-if 0.1.10", "cpuid-bool", "digest 0.9.0", "opaque-debug 0.3.0", @@ -4961,9 +5010,9 @@ checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" name = "shutdown-server" version = "2.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "tokio", ] @@ -4982,20 +5031,20 @@ name = "simple-auth-server" version = "2.0.0" dependencies = [ "actix-identity", - "actix-web 3.0.0", + "actix-web 3.1.0", "argonautica", "chrono", "derive_more", "diesel", "dotenv", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "lazy_static", "r2d2", "serde 1.0.116", "serde_json", "sparkpost", - "time 0.2.18", + "time 0.2.22", "uuid 0.8.1", ] @@ -5032,7 +5081,7 @@ version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1fa70dc5c8104ec096f4fe7ede7a221d35ae13dcd19ba1ad9a81d2cab9a1c44" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "libc", "redox_syscall", "winapi 0.3.9", @@ -5059,9 +5108,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "standback" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33a71ea1ea5f8747d1af1979bfb7e65c3a025a70609f04ceb78425bc5adad8e6" +checksum = "f4e0831040d2cf2bdfd51b844be71885783d489898a192f254ae25d57cce725c" dependencies = [ "version_check 0.9.2", ] @@ -5070,7 +5119,7 @@ dependencies = [ name = "state" version = "2.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", ] @@ -5091,7 +5140,7 @@ name = "static_index" version = "2.0.0" dependencies = [ "actix-files 0.3.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", ] @@ -5115,7 +5164,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "serde 1.0.116", "serde_derive", @@ -5129,7 +5178,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11" dependencies = [ "base-x", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "serde 1.0.116", "serde_derive", @@ -5165,7 +5214,7 @@ checksum = "f24c8e5e19d22a726626f1a5e16fe15b132dcf21d10177fa5a45ce7962996b97" dependencies = [ "phf_generator", "phf_shared", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", ] @@ -5205,11 +5254,11 @@ checksum = "343f3f510c2915908f155e94f17220b19ccfacf2a64a2a5d8004f2c3e311e7fd" [[package]] name = "syn" -version = "1.0.40" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "963f7d3cc59b59b9325165add223142bbf1df27655d07789f109896d353d8350" +checksum = "e03e57e4fcbfe7749842d53e24ccb9aa12b7252dbe5e91d2acad31834c8b8fdd" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "unicode-xid 0.2.1", ] @@ -5231,7 +5280,7 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", "unicode-xid 0.2.1", @@ -5270,7 +5319,7 @@ version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "libc", "rand", "redox_syscall", @@ -5282,7 +5331,7 @@ dependencies = [ name = "template-askama" version = "2.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "askama", ] @@ -5291,7 +5340,7 @@ name = "template-tera" version = "2.0.0" dependencies = [ "actix-http 2.0.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", "tera", ] @@ -5315,7 +5364,7 @@ name = "template_handlebars" version = "1.0.0" dependencies = [ "actix-http 2.0.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "handlebars", "serde_json", ] @@ -5325,7 +5374,7 @@ name = "template_yarte" version = "0.0.1" dependencies = [ "actix-rt", - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", "yarte", "yarte_helpers", @@ -5385,9 +5434,9 @@ dependencies = [ [[package]] name = "termios" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0fcee7b24a25675de40d5bb4de6e41b0df07bc9856295e7e2b3a3600c400c2" +checksum = "411c5bf740737c7918b8b1fe232dca4dc9f8e754b8ad5e20966814001ed0ac6b" dependencies = [ "libc", ] @@ -5403,20 +5452,20 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dfdd070ccd8ccb78f4ad66bf1982dc37f620ef696c6b5028fe2ed83dd3d0d08" +checksum = "318234ffa22e0920fe9a40d7b8369b5f649d490980cf7aadcf1eb91594869b42" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793" +checksum = "cae2447b6282786c3493999f40a9be2a6ad20cb8bd268b0a0dbf5a065535c0ab" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -5452,9 +5501,9 @@ dependencies = [ [[package]] name = "time" -version = "0.2.18" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12785163ae8a1cbb52a5db39af4a5baabd3fe49f07f76f952f89d7e89e5ce531" +checksum = "55b7151c9065e80917fbf285d9a5d1432f60db41d170ccafc749a136b41a93af" dependencies = [ "const_fn", "libc", @@ -5467,9 +5516,9 @@ dependencies = [ [[package]] name = "time-macros" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ae9b6e9f095bc105e183e3cd493d72579be3181ad4004fceb01adbe9eecab2d" +checksum = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1" dependencies = [ "proc-macro-hack", "time-macros-impl", @@ -5482,7 +5531,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5c3be1edfad6027c69f5491cf4cb310d1a71ecd6af742788c6ff8bced86b8fa" dependencies = [ "proc-macro-hack", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "standback", "syn", @@ -5504,6 +5553,21 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117" +[[package]] +name = "tinyvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b78a366903f506d2ad52ca8dc552102ffdd3e937ba8a227f024dc1d1eae28575" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" + [[package]] name = "tokio" version = "0.2.22" @@ -5534,7 +5598,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0c3acc6aa564495a0f2e1d59fab677cd7f81a19994cfc7f3ad0e64301560389" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -5579,7 +5643,7 @@ dependencies = [ "byteorder", "bytes 0.5.6", "fallible-iterator", - "futures 0.3.5", + "futures 0.3.6", "log", "parking_lot 0.11.0", "percent-encoding", @@ -5644,9 +5708,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.5.6" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a" +checksum = "75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645" dependencies = [ "serde 1.0.116", ] @@ -5672,12 +5736,13 @@ checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" [[package]] name = "tracing" -version = "0.1.19" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d79ca061b032d6ce30c660fded31189ca0b9922bf483cd70759f13a2d86786c" +checksum = "b0987850db3733619253fe60e17cb59b82d37c7e6c0236bb81e4d6b87c879f27" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "log", + "pin-project-lite", "tracing-attributes", "tracing-core", ] @@ -5688,16 +5753,16 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] [[package]] name = "tracing-core" -version = "0.1.16" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bcf46c1f1f06aeea2d6b81f3c863d0930a596c86ad1920d4e5bad6dd1d7119a" +checksum = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f" dependencies = [ "lazy_static", ] @@ -5711,7 +5776,7 @@ dependencies = [ "async-trait", "enum-as-inner", "failure", - "futures 0.3.5", + "futures 0.3.6", "idna", "lazy_static", "log", @@ -5731,7 +5796,7 @@ dependencies = [ "async-trait", "backtrace", "enum-as-inner", - "futures 0.3.5", + "futures 0.3.6", "idna", "lazy_static", "log", @@ -5748,9 +5813,9 @@ version = "0.18.0-alpha.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f90b1502b226f8b2514c6d5b37bafa8c200d7ca4102d57dc36ee0f3b7a04a2f" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "failure", - "futures 0.3.5", + "futures 0.3.6", "ipconfig", "lazy_static", "log", @@ -5768,8 +5833,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f23cdfdc3d8300b3c50c9e84302d3bd6d860fb9529af84ace6cf9665f181b77" dependencies = [ "backtrace", - "cfg-if", - "futures 0.3.5", + "cfg-if 0.1.10", + "futures 0.3.6", "ipconfig", "lazy_static", "log", @@ -5834,7 +5899,7 @@ dependencies = [ "actix 0.10.0", "actix-rt", "bytes 0.5.6", - "futures 0.3.5", + "futures 0.3.6", "futures-util", "tokio", "tokio-util 0.3.1", @@ -5920,7 +5985,7 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977" dependencies = [ - "tinyvec", + "tinyvec 0.3.4", ] [[package]] @@ -5961,7 +6026,7 @@ dependencies = [ name = "unix-socket" version = "1.0.0" dependencies = [ - "actix-web 3.0.0", + "actix-web 3.1.0", "env_logger 0.7.1", ] @@ -6015,12 +6080,12 @@ dependencies = [ [[package]] name = "v_escape" -version = "0.12.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b2d5ca56f0412d5ad5e642202e5c8fb61b61ad39435a53ed501fbd45380e8d3" +checksum = "039a44473286eb84e4e74f90165feff67c802dbeced7ee4c5b00d719b0d0475e" dependencies = [ "buf-min", - "v_escape_derive 0.8.1", + "v_escape_derive 0.8.4", ] [[package]] @@ -6030,19 +6095,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2ca2a14bc3fc5b64d188b087a7d3a927df87b152e941ccfbc66672e20c467ae" dependencies = [ "nom 4.2.3", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] [[package]] name = "v_escape_derive" -version = "0.8.1" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cae7cffca0b1f9af9b20610f6fdeee9ffcce61417b5ad186a5d482dc904e24cd" +checksum = "c860ad1273f4eee7006cee05db20c9e60e5d24cba024a32e1094aa8e574f3668" dependencies = [ "nom 4.2.3", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", ] @@ -6063,18 +6128,18 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e33e939c0d8cf047514fb6ba7d5aac78bc56677a6938b2ee67000b91f2e97e41" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "v_escape 0.7.4", ] [[package]] name = "v_htmlescape" -version = "0.10.0" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5fd25529cb2f78527b5ee507bcfb357b26d057b5e480853c26d49a4ead5c629" +checksum = "11d7c2a33ed7cf0dc1b42bcf39e01b6512f9df08f09e1cd8a49d9dc49a6a9482" dependencies = [ - "cfg-if", - "v_escape 0.12.1", + "cfg-if 1.0.0", + "v_escape 0.13.2", ] [[package]] @@ -6100,7 +6165,7 @@ checksum = "0d577dfb8ca9440a5c0b053d5a19b68f5c92ef57064bac87c8205c3f6072c20f" dependencies = [ "if_chain", "lazy_static", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "regex", "syn", @@ -6115,9 +6180,9 @@ checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c" [[package]] name = "vec-arena" -version = "0.5.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cb18268690309760d59ee1a9b21132c126ba384f374c59a94db4bc03adeb561" +checksum = "eafc1b9b2dfc6f5529177b62cf806484db55b32dc7c9658a118e11bbeb33061d" [[package]] name = "vec_map" @@ -6188,7 +6253,7 @@ version = "0.2.68" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "serde 1.0.116", "serde_json", "wasm-bindgen-macro", @@ -6203,7 +6268,7 @@ dependencies = [ "bumpalo", "lazy_static", "log", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", "wasm-bindgen-shared", @@ -6215,7 +6280,7 @@ version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7866cab0aa01de1edf8b5d7936938a7e397ee50ce24119aef3e1eaa3b6171da" dependencies = [ - "cfg-if", + "cfg-if 0.1.10", "js-sys", "wasm-bindgen", "web-sys", @@ -6237,7 +6302,7 @@ version = "0.2.68" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f249f06ef7ee334cc3b8ff031bfc11ec99d00f34d86da7498396dc1e3b1498fe" dependencies = [ - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", "wasm-bindgen-backend", @@ -6286,12 +6351,12 @@ dependencies = [ "actix 0.10.0", "actix-codec 0.3.0", "actix-files 0.3.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "actix-web-actors 3.0.0", "awc 2.0.0", "bytes 0.5.6", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", ] [[package]] @@ -6299,7 +6364,7 @@ name = "websocket-autobahn" version = "2.0.0" dependencies = [ "actix 0.10.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "actix-web-actors 3.0.0", "env_logger 0.7.1", ] @@ -6315,7 +6380,7 @@ dependencies = [ "actix-web 2.0.0", "actix-web-actors 2.0.0", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "log", "rand", ] @@ -6326,12 +6391,12 @@ version = "2.0.0" dependencies = [ "actix 0.10.0", "actix-files 0.3.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "actix-web-actors 3.0.0", "byteorder", "bytes 0.5.6", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "rand", "serde 1.0.116", "serde_json", @@ -6344,12 +6409,12 @@ dependencies = [ "actix 0.10.0", "actix-codec 0.3.0", "actix-files 0.3.0", - "actix-web 3.0.0", + "actix-web 3.1.0", "actix-web-actors 3.0.0", "byteorder", "bytes 0.5.6", "env_logger 0.7.1", - "futures 0.3.5", + "futures 0.3.6", "rand", "serde 1.0.116", "serde_json", @@ -6358,10 +6423,10 @@ dependencies = [ ] [[package]] -name = "wepoll-sys-stjepang" -version = "1.0.6" +name = "wepoll-sys" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fd319e971980166b53e17b1026812ad66c6b54063be879eb182342b55284694" +checksum = "142bc2cba3fe88be1a8fcb55c727fa4cd5b0cf2d7438722792e22f26f04bc1e0" dependencies = [ "cc", ] @@ -6378,9 +6443,9 @@ dependencies = [ [[package]] name = "widestring" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a763e303c0e0f23b0da40888724762e802a8ffefbc22de4127ef42493c2ea68c" +checksum = "c168940144dd21fd8046987c16a46a33d5fc84eec29ef9dcddc2ac9e31526b7c" [[package]] name = "winapi" @@ -6570,7 +6635,7 @@ dependencies = [ "log", "mac", "markup5ever", - "proc-macro2 1.0.21", + "proc-macro2 1.0.24", "quote 1.0.7", "syn", "yarte_parser", @@ -6593,6 +6658,6 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cbac2ed2ba24cc90f5e06485ac8c7c1e5449fe8911aef4d8877218af021a5b8" +checksum = "05f33972566adbd2d3588b0491eb94b98b43695c4ef897903470ede4f3f5a28a" diff --git a/async-graphql-demo/Cargo.toml b/async-graphql-demo/Cargo.toml index 3957125..e0ad14b 100644 --- a/async-graphql-demo/Cargo.toml +++ b/async-graphql-demo/Cargo.toml @@ -6,8 +6,6 @@ edition = "2018" [dependencies] actix-web = "3.0.0" - -async-graphql = "=2.0.0-alpha.13" -async-graphql-actix-web = "=2.0.0-alpha.13" - +async-graphql = "2.0.0" +async-graphql-actix-web = "2.0.0" slab = "0.4.2" diff --git a/async-graphql-demo/src/main.rs b/async-graphql-demo/src/main.rs index 06f12dd..5d7f8e6 100644 --- a/async-graphql-demo/src/main.rs +++ b/async-graphql-demo/src/main.rs @@ -3,10 +3,10 @@ mod starwars; use actix_web::{guard, web, App, HttpResponse, HttpServer, Result}; use async_graphql::http::{playground_source, GraphQLPlaygroundConfig}; use async_graphql::{EmptyMutation, EmptySubscription, Schema}; -use async_graphql_actix_web::{GQLRequest, GQLResponse}; +use async_graphql_actix_web::{Request, Response}; use starwars::{QueryRoot, StarWars, StarWarsSchema}; -async fn index(schema: web::Data, req: GQLRequest) -> GQLResponse { +async fn index(schema: web::Data, req: Request) -> Response { schema.execute(req.into_inner()).await.into() } diff --git a/async-graphql-demo/src/starwars/model.rs b/async-graphql-demo/src/starwars/model.rs index 2348c4b..9acb2de 100644 --- a/async-graphql-demo/src/starwars/model.rs +++ b/async-graphql-demo/src/starwars/model.rs @@ -92,7 +92,7 @@ impl QueryRoot { async fn hero( &self, ctx: &Context<'_>, - #[arg( + #[graphql( desc = "If omitted, returns the hero of the whole saga. If provided, returns the hero of that particular episode." )] episode: Episode, @@ -107,7 +107,7 @@ impl QueryRoot { async fn human( &self, ctx: &Context<'_>, - #[arg(desc = "id of the human")] id: String, + #[graphql(desc = "id of the human")] id: String, ) -> Option { ctx.data_unchecked::().human(&id).map(Human) } @@ -134,7 +134,7 @@ impl QueryRoot { async fn droid( &self, ctx: &Context<'_>, - #[arg(desc = "id of the droid")] id: String, + #[graphql(desc = "id of the droid")] id: String, ) -> Option { ctx.data_unchecked::().droid(&id).map(Droid) } @@ -161,10 +161,10 @@ impl QueryRoot { #[derive(Interface)] #[graphql( - field(name = "id", type = "&str", context), - field(name = "name", type = "&str", context), - field(name = "friends", type = "Vec", context), - field(name = "appears_in", type = "&'ctx [Episode]", context) + field(name = "id", type = "&str"), + field(name = "name", type = "&str"), + field(name = "friends", type = "Vec"), + field(name = "appears_in", type = "&'ctx [Episode]") )] pub enum Character { Human(Human),