neon_arch
commited on
Commit
•
88e569b
1
Parent(s):
51937a0
✨ feat: add `actix-governor` crate (#203)
Browse files- Cargo.lock +170 -18
- Cargo.toml +1 -0
Cargo.lock
CHANGED
@@ -57,6 +57,18 @@ dependencies = [
|
|
57 |
"pin-project-lite",
|
58 |
]
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
[[package]]
|
61 |
name = "actix-http"
|
62 |
version = "3.4.0"
|
@@ -801,6 +813,19 @@ dependencies = [
|
|
801 |
"syn 2.0.29",
|
802 |
]
|
803 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
804 |
[[package]]
|
805 |
name = "deranged"
|
806 |
version = "0.3.8"
|
@@ -1049,6 +1074,21 @@ version = "0.1.31"
|
|
1049 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1050 |
checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678"
|
1051 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1052 |
[[package]]
|
1053 |
name = "futures-channel"
|
1054 |
version = "0.3.28"
|
@@ -1056,6 +1096,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1056 |
checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"
|
1057 |
dependencies = [
|
1058 |
"futures-core",
|
|
|
1059 |
]
|
1060 |
|
1061 |
[[package]]
|
@@ -1070,10 +1111,38 @@ version = "0.1.8"
|
|
1070 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1071 |
checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
|
1072 |
dependencies = [
|
1073 |
-
"futures",
|
1074 |
"num_cpus",
|
1075 |
]
|
1076 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1077 |
[[package]]
|
1078 |
name = "futures-sink"
|
1079 |
version = "0.3.28"
|
@@ -1086,16 +1155,28 @@ version = "0.3.28"
|
|
1086 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1087 |
checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65"
|
1088 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1089 |
[[package]]
|
1090 |
name = "futures-util"
|
1091 |
version = "0.3.28"
|
1092 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1093 |
checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
|
1094 |
dependencies = [
|
|
|
1095 |
"futures-core",
|
|
|
|
|
|
|
1096 |
"futures-task",
|
|
|
1097 |
"pin-project-lite",
|
1098 |
"pin-utils",
|
|
|
1099 |
]
|
1100 |
|
1101 |
[[package]]
|
@@ -1143,6 +1224,24 @@ version = "0.28.0"
|
|
1143 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1144 |
checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0"
|
1145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1146 |
[[package]]
|
1147 |
name = "h2"
|
1148 |
version = "0.1.26"
|
@@ -1152,7 +1251,7 @@ dependencies = [
|
|
1152 |
"byteorder",
|
1153 |
"bytes 0.4.12",
|
1154 |
"fnv",
|
1155 |
-
"futures",
|
1156 |
"http 0.1.21",
|
1157 |
"indexmap",
|
1158 |
"log",
|
@@ -1207,6 +1306,12 @@ version = "0.12.3"
|
|
1207 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1208 |
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
1209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1210 |
[[package]]
|
1211 |
name = "hermit-abi"
|
1212 |
version = "0.3.2"
|
@@ -1270,7 +1375,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1270 |
checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"
|
1271 |
dependencies = [
|
1272 |
"bytes 0.4.12",
|
1273 |
-
"futures",
|
1274 |
"http 0.1.21",
|
1275 |
"tokio-buf",
|
1276 |
]
|
@@ -1317,7 +1422,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1317 |
checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52"
|
1318 |
dependencies = [
|
1319 |
"bytes 0.4.12",
|
1320 |
-
"futures",
|
1321 |
"futures-cpupool",
|
1322 |
"h2 0.1.26",
|
1323 |
"http 0.1.21",
|
@@ -1371,7 +1476,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1371 |
checksum = "3a800d6aa50af4b5850b2b0f659625ce9504df908e9733b635720483be26174f"
|
1372 |
dependencies = [
|
1373 |
"bytes 0.4.12",
|
1374 |
-
"futures",
|
1375 |
"hyper 0.12.36",
|
1376 |
"native-tls",
|
1377 |
"tokio-io",
|
@@ -1429,7 +1534,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1429 |
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
|
1430 |
dependencies = [
|
1431 |
"autocfg 1.1.0",
|
1432 |
-
"hashbrown",
|
1433 |
]
|
1434 |
|
1435 |
[[package]]
|
@@ -1580,6 +1685,15 @@ version = "0.1.1"
|
|
1580 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1581 |
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
1582 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1583 |
[[package]]
|
1584 |
name = "markup5ever"
|
1585 |
version = "0.8.1"
|
@@ -1762,6 +1876,18 @@ version = "0.5.0"
|
|
1762 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1763 |
checksum = "ab250442c86f1850815b5d268639dff018c0627022bc1940eb2d642ca1ce12f0"
|
1764 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1765 |
[[package]]
|
1766 |
name = "num-traits"
|
1767 |
version = "0.2.16"
|
@@ -2162,6 +2288,22 @@ dependencies = [
|
|
2162 |
"url 2.4.1",
|
2163 |
]
|
2164 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2165 |
[[package]]
|
2166 |
name = "quote"
|
2167 |
version = "0.6.13"
|
@@ -2316,6 +2458,15 @@ dependencies = [
|
|
2316 |
"rand_core 0.3.1",
|
2317 |
]
|
2318 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2319 |
[[package]]
|
2320 |
name = "rayon"
|
2321 |
version = "1.7.0"
|
@@ -2418,7 +2569,7 @@ dependencies = [
|
|
2418 |
"cookie_store",
|
2419 |
"encoding_rs",
|
2420 |
"flate2",
|
2421 |
-
"futures",
|
2422 |
"http 0.1.21",
|
2423 |
"hyper 0.12.36",
|
2424 |
"hyper-tls 0.3.2",
|
@@ -3071,7 +3222,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3071 |
checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"
|
3072 |
dependencies = [
|
3073 |
"bytes 0.4.12",
|
3074 |
-
"futures",
|
3075 |
"mio 0.6.23",
|
3076 |
"num_cpus",
|
3077 |
"tokio-current-thread",
|
@@ -3110,7 +3261,7 @@ checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46"
|
|
3110 |
dependencies = [
|
3111 |
"bytes 0.4.12",
|
3112 |
"either",
|
3113 |
-
"futures",
|
3114 |
]
|
3115 |
|
3116 |
[[package]]
|
@@ -3119,7 +3270,7 @@ version = "0.1.7"
|
|
3119 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3120 |
checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"
|
3121 |
dependencies = [
|
3122 |
-
"futures",
|
3123 |
"tokio-executor",
|
3124 |
]
|
3125 |
|
@@ -3130,7 +3281,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3130 |
checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"
|
3131 |
dependencies = [
|
3132 |
"crossbeam-utils 0.7.2",
|
3133 |
-
"futures",
|
3134 |
]
|
3135 |
|
3136 |
[[package]]
|
@@ -3140,7 +3291,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3140 |
checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"
|
3141 |
dependencies = [
|
3142 |
"bytes 0.4.12",
|
3143 |
-
"futures",
|
3144 |
"log",
|
3145 |
]
|
3146 |
|
@@ -3172,7 +3323,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3172 |
checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"
|
3173 |
dependencies = [
|
3174 |
"crossbeam-utils 0.7.2",
|
3175 |
-
"futures",
|
3176 |
"lazy_static",
|
3177 |
"log",
|
3178 |
"mio 0.6.23",
|
@@ -3191,7 +3342,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3191 |
checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"
|
3192 |
dependencies = [
|
3193 |
"fnv",
|
3194 |
-
"futures",
|
3195 |
]
|
3196 |
|
3197 |
[[package]]
|
@@ -3201,7 +3352,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3201 |
checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"
|
3202 |
dependencies = [
|
3203 |
"bytes 0.4.12",
|
3204 |
-
"futures",
|
3205 |
"iovec",
|
3206 |
"mio 0.6.23",
|
3207 |
"tokio-io",
|
@@ -3217,7 +3368,7 @@ dependencies = [
|
|
3217 |
"crossbeam-deque 0.7.4",
|
3218 |
"crossbeam-queue",
|
3219 |
"crossbeam-utils 0.7.2",
|
3220 |
-
"futures",
|
3221 |
"lazy_static",
|
3222 |
"log",
|
3223 |
"num_cpus",
|
@@ -3232,7 +3383,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3232 |
checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"
|
3233 |
dependencies = [
|
3234 |
"crossbeam-utils 0.7.2",
|
3235 |
-
"futures",
|
3236 |
"slab",
|
3237 |
"tokio-executor",
|
3238 |
]
|
@@ -3427,7 +3578,7 @@ version = "0.2.0"
|
|
3427 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3428 |
checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230"
|
3429 |
dependencies = [
|
3430 |
-
"futures",
|
3431 |
"log",
|
3432 |
"try-lock",
|
3433 |
]
|
@@ -3535,6 +3686,7 @@ version = "0.18.6"
|
|
3535 |
dependencies = [
|
3536 |
"actix-cors",
|
3537 |
"actix-files",
|
|
|
3538 |
"actix-web",
|
3539 |
"async-trait",
|
3540 |
"criterion",
|
|
|
57 |
"pin-project-lite",
|
58 |
]
|
59 |
|
60 |
+
[[package]]
|
61 |
+
name = "actix-governor"
|
62 |
+
version = "0.4.1"
|
63 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
64 |
+
checksum = "46ff2d40f2bc627b8054c5e20fa6b0b0cf9428699b54bd41634e9ae3098ad555"
|
65 |
+
dependencies = [
|
66 |
+
"actix-http",
|
67 |
+
"actix-web",
|
68 |
+
"futures 0.3.28",
|
69 |
+
"governor",
|
70 |
+
]
|
71 |
+
|
72 |
[[package]]
|
73 |
name = "actix-http"
|
74 |
version = "3.4.0"
|
|
|
813 |
"syn 2.0.29",
|
814 |
]
|
815 |
|
816 |
+
[[package]]
|
817 |
+
name = "dashmap"
|
818 |
+
version = "5.5.3"
|
819 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
820 |
+
checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
|
821 |
+
dependencies = [
|
822 |
+
"cfg-if 1.0.0",
|
823 |
+
"hashbrown 0.14.0",
|
824 |
+
"lock_api 0.4.10",
|
825 |
+
"once_cell",
|
826 |
+
"parking_lot_core 0.9.8",
|
827 |
+
]
|
828 |
+
|
829 |
[[package]]
|
830 |
name = "deranged"
|
831 |
version = "0.3.8"
|
|
|
1074 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1075 |
checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678"
|
1076 |
|
1077 |
+
[[package]]
|
1078 |
+
name = "futures"
|
1079 |
+
version = "0.3.28"
|
1080 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1081 |
+
checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40"
|
1082 |
+
dependencies = [
|
1083 |
+
"futures-channel",
|
1084 |
+
"futures-core",
|
1085 |
+
"futures-executor",
|
1086 |
+
"futures-io",
|
1087 |
+
"futures-sink",
|
1088 |
+
"futures-task",
|
1089 |
+
"futures-util",
|
1090 |
+
]
|
1091 |
+
|
1092 |
[[package]]
|
1093 |
name = "futures-channel"
|
1094 |
version = "0.3.28"
|
|
|
1096 |
checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"
|
1097 |
dependencies = [
|
1098 |
"futures-core",
|
1099 |
+
"futures-sink",
|
1100 |
]
|
1101 |
|
1102 |
[[package]]
|
|
|
1111 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1112 |
checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
|
1113 |
dependencies = [
|
1114 |
+
"futures 0.1.31",
|
1115 |
"num_cpus",
|
1116 |
]
|
1117 |
|
1118 |
+
[[package]]
|
1119 |
+
name = "futures-executor"
|
1120 |
+
version = "0.3.28"
|
1121 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1122 |
+
checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0"
|
1123 |
+
dependencies = [
|
1124 |
+
"futures-core",
|
1125 |
+
"futures-task",
|
1126 |
+
"futures-util",
|
1127 |
+
]
|
1128 |
+
|
1129 |
+
[[package]]
|
1130 |
+
name = "futures-io"
|
1131 |
+
version = "0.3.28"
|
1132 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1133 |
+
checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964"
|
1134 |
+
|
1135 |
+
[[package]]
|
1136 |
+
name = "futures-macro"
|
1137 |
+
version = "0.3.28"
|
1138 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1139 |
+
checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
|
1140 |
+
dependencies = [
|
1141 |
+
"proc-macro2 1.0.66",
|
1142 |
+
"quote 1.0.33",
|
1143 |
+
"syn 2.0.29",
|
1144 |
+
]
|
1145 |
+
|
1146 |
[[package]]
|
1147 |
name = "futures-sink"
|
1148 |
version = "0.3.28"
|
|
|
1155 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1156 |
checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65"
|
1157 |
|
1158 |
+
[[package]]
|
1159 |
+
name = "futures-timer"
|
1160 |
+
version = "3.0.2"
|
1161 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1162 |
+
checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c"
|
1163 |
+
|
1164 |
[[package]]
|
1165 |
name = "futures-util"
|
1166 |
version = "0.3.28"
|
1167 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1168 |
checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
|
1169 |
dependencies = [
|
1170 |
+
"futures-channel",
|
1171 |
"futures-core",
|
1172 |
+
"futures-io",
|
1173 |
+
"futures-macro",
|
1174 |
+
"futures-sink",
|
1175 |
"futures-task",
|
1176 |
+
"memchr",
|
1177 |
"pin-project-lite",
|
1178 |
"pin-utils",
|
1179 |
+
"slab",
|
1180 |
]
|
1181 |
|
1182 |
[[package]]
|
|
|
1224 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1225 |
checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0"
|
1226 |
|
1227 |
+
[[package]]
|
1228 |
+
name = "governor"
|
1229 |
+
version = "0.5.1"
|
1230 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1231 |
+
checksum = "c390a940a5d157878dd057c78680a33ce3415bcd05b4799509ea44210914b4d5"
|
1232 |
+
dependencies = [
|
1233 |
+
"cfg-if 1.0.0",
|
1234 |
+
"dashmap",
|
1235 |
+
"futures 0.3.28",
|
1236 |
+
"futures-timer",
|
1237 |
+
"no-std-compat",
|
1238 |
+
"nonzero_ext",
|
1239 |
+
"parking_lot 0.12.1",
|
1240 |
+
"quanta",
|
1241 |
+
"rand 0.8.5",
|
1242 |
+
"smallvec 1.11.0",
|
1243 |
+
]
|
1244 |
+
|
1245 |
[[package]]
|
1246 |
name = "h2"
|
1247 |
version = "0.1.26"
|
|
|
1251 |
"byteorder",
|
1252 |
"bytes 0.4.12",
|
1253 |
"fnv",
|
1254 |
+
"futures 0.1.31",
|
1255 |
"http 0.1.21",
|
1256 |
"indexmap",
|
1257 |
"log",
|
|
|
1306 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1307 |
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
1308 |
|
1309 |
+
[[package]]
|
1310 |
+
name = "hashbrown"
|
1311 |
+
version = "0.14.0"
|
1312 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1313 |
+
checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
|
1314 |
+
|
1315 |
[[package]]
|
1316 |
name = "hermit-abi"
|
1317 |
version = "0.3.2"
|
|
|
1375 |
checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"
|
1376 |
dependencies = [
|
1377 |
"bytes 0.4.12",
|
1378 |
+
"futures 0.1.31",
|
1379 |
"http 0.1.21",
|
1380 |
"tokio-buf",
|
1381 |
]
|
|
|
1422 |
checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52"
|
1423 |
dependencies = [
|
1424 |
"bytes 0.4.12",
|
1425 |
+
"futures 0.1.31",
|
1426 |
"futures-cpupool",
|
1427 |
"h2 0.1.26",
|
1428 |
"http 0.1.21",
|
|
|
1476 |
checksum = "3a800d6aa50af4b5850b2b0f659625ce9504df908e9733b635720483be26174f"
|
1477 |
dependencies = [
|
1478 |
"bytes 0.4.12",
|
1479 |
+
"futures 0.1.31",
|
1480 |
"hyper 0.12.36",
|
1481 |
"native-tls",
|
1482 |
"tokio-io",
|
|
|
1534 |
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
|
1535 |
dependencies = [
|
1536 |
"autocfg 1.1.0",
|
1537 |
+
"hashbrown 0.12.3",
|
1538 |
]
|
1539 |
|
1540 |
[[package]]
|
|
|
1685 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1686 |
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
1687 |
|
1688 |
+
[[package]]
|
1689 |
+
name = "mach"
|
1690 |
+
version = "0.3.2"
|
1691 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1692 |
+
checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"
|
1693 |
+
dependencies = [
|
1694 |
+
"libc",
|
1695 |
+
]
|
1696 |
+
|
1697 |
[[package]]
|
1698 |
name = "markup5ever"
|
1699 |
version = "0.8.1"
|
|
|
1876 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1877 |
checksum = "ab250442c86f1850815b5d268639dff018c0627022bc1940eb2d642ca1ce12f0"
|
1878 |
|
1879 |
+
[[package]]
|
1880 |
+
name = "no-std-compat"
|
1881 |
+
version = "0.4.1"
|
1882 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1883 |
+
checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c"
|
1884 |
+
|
1885 |
+
[[package]]
|
1886 |
+
name = "nonzero_ext"
|
1887 |
+
version = "0.3.0"
|
1888 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1889 |
+
checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21"
|
1890 |
+
|
1891 |
[[package]]
|
1892 |
name = "num-traits"
|
1893 |
version = "0.2.16"
|
|
|
2288 |
"url 2.4.1",
|
2289 |
]
|
2290 |
|
2291 |
+
[[package]]
|
2292 |
+
name = "quanta"
|
2293 |
+
version = "0.9.3"
|
2294 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2295 |
+
checksum = "20afe714292d5e879d8b12740aa223c6a88f118af41870e8b6196e39a02238a8"
|
2296 |
+
dependencies = [
|
2297 |
+
"crossbeam-utils 0.8.16",
|
2298 |
+
"libc",
|
2299 |
+
"mach",
|
2300 |
+
"once_cell",
|
2301 |
+
"raw-cpuid",
|
2302 |
+
"wasi 0.10.0+wasi-snapshot-preview1",
|
2303 |
+
"web-sys",
|
2304 |
+
"winapi 0.3.9",
|
2305 |
+
]
|
2306 |
+
|
2307 |
[[package]]
|
2308 |
name = "quote"
|
2309 |
version = "0.6.13"
|
|
|
2458 |
"rand_core 0.3.1",
|
2459 |
]
|
2460 |
|
2461 |
+
[[package]]
|
2462 |
+
name = "raw-cpuid"
|
2463 |
+
version = "10.7.0"
|
2464 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2465 |
+
checksum = "6c297679cb867470fa8c9f67dbba74a78d78e3e98d7cf2b08d6d71540f797332"
|
2466 |
+
dependencies = [
|
2467 |
+
"bitflags 1.3.2",
|
2468 |
+
]
|
2469 |
+
|
2470 |
[[package]]
|
2471 |
name = "rayon"
|
2472 |
version = "1.7.0"
|
|
|
2569 |
"cookie_store",
|
2570 |
"encoding_rs",
|
2571 |
"flate2",
|
2572 |
+
"futures 0.1.31",
|
2573 |
"http 0.1.21",
|
2574 |
"hyper 0.12.36",
|
2575 |
"hyper-tls 0.3.2",
|
|
|
3222 |
checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"
|
3223 |
dependencies = [
|
3224 |
"bytes 0.4.12",
|
3225 |
+
"futures 0.1.31",
|
3226 |
"mio 0.6.23",
|
3227 |
"num_cpus",
|
3228 |
"tokio-current-thread",
|
|
|
3261 |
dependencies = [
|
3262 |
"bytes 0.4.12",
|
3263 |
"either",
|
3264 |
+
"futures 0.1.31",
|
3265 |
]
|
3266 |
|
3267 |
[[package]]
|
|
|
3270 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3271 |
checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"
|
3272 |
dependencies = [
|
3273 |
+
"futures 0.1.31",
|
3274 |
"tokio-executor",
|
3275 |
]
|
3276 |
|
|
|
3281 |
checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"
|
3282 |
dependencies = [
|
3283 |
"crossbeam-utils 0.7.2",
|
3284 |
+
"futures 0.1.31",
|
3285 |
]
|
3286 |
|
3287 |
[[package]]
|
|
|
3291 |
checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"
|
3292 |
dependencies = [
|
3293 |
"bytes 0.4.12",
|
3294 |
+
"futures 0.1.31",
|
3295 |
"log",
|
3296 |
]
|
3297 |
|
|
|
3323 |
checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"
|
3324 |
dependencies = [
|
3325 |
"crossbeam-utils 0.7.2",
|
3326 |
+
"futures 0.1.31",
|
3327 |
"lazy_static",
|
3328 |
"log",
|
3329 |
"mio 0.6.23",
|
|
|
3342 |
checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"
|
3343 |
dependencies = [
|
3344 |
"fnv",
|
3345 |
+
"futures 0.1.31",
|
3346 |
]
|
3347 |
|
3348 |
[[package]]
|
|
|
3352 |
checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"
|
3353 |
dependencies = [
|
3354 |
"bytes 0.4.12",
|
3355 |
+
"futures 0.1.31",
|
3356 |
"iovec",
|
3357 |
"mio 0.6.23",
|
3358 |
"tokio-io",
|
|
|
3368 |
"crossbeam-deque 0.7.4",
|
3369 |
"crossbeam-queue",
|
3370 |
"crossbeam-utils 0.7.2",
|
3371 |
+
"futures 0.1.31",
|
3372 |
"lazy_static",
|
3373 |
"log",
|
3374 |
"num_cpus",
|
|
|
3383 |
checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"
|
3384 |
dependencies = [
|
3385 |
"crossbeam-utils 0.7.2",
|
3386 |
+
"futures 0.1.31",
|
3387 |
"slab",
|
3388 |
"tokio-executor",
|
3389 |
]
|
|
|
3578 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3579 |
checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230"
|
3580 |
dependencies = [
|
3581 |
+
"futures 0.1.31",
|
3582 |
"log",
|
3583 |
"try-lock",
|
3584 |
]
|
|
|
3686 |
dependencies = [
|
3687 |
"actix-cors",
|
3688 |
"actix-files",
|
3689 |
+
"actix-governor",
|
3690 |
"actix-web",
|
3691 |
"async-trait",
|
3692 |
"criterion",
|
Cargo.toml
CHANGED
@@ -15,6 +15,7 @@ scraper = {version="0.17.1"}
|
|
15 |
actix-web = {version="4.4.0", features = ["cookies"]}
|
16 |
actix-files = {version="0.6.2"}
|
17 |
actix-cors = {version="0.6.4"}
|
|
|
18 |
serde_json = {version="1.0.105"}
|
19 |
fake-useragent = {version="0.1.3"}
|
20 |
env_logger = {version="0.10.0"}
|
|
|
15 |
actix-web = {version="4.4.0", features = ["cookies"]}
|
16 |
actix-files = {version="0.6.2"}
|
17 |
actix-cors = {version="0.6.4"}
|
18 |
+
actix-governor = {version="0.4.1"}
|
19 |
serde_json = {version="1.0.105"}
|
20 |
fake-useragent = {version="0.1.3"}
|
21 |
env_logger = {version="0.10.0"}
|