aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authoralpaylan2021-04-12 22:15:17 +0300
committeralpaylan2021-04-12 22:15:17 +0300
commitaa169ad1b3c277859f01413a945ea2d6f1375615 (patch)
tree402042bce17641759fa28e5c9a7219025caefcbb /Cargo.lock
parent87e690420cb61efc172e82a29c38b479fc734247 (diff)
downloadgradecoin-aa169ad1b3c277859f01413a945ea2d6f1375615.tar.gz
gradecoin-aa169ad1b3c277859f01413a945ea2d6f1375615.tar.bz2
gradecoin-aa169ad1b3c277859f01413a945ea2d6f1375615.zip
implement user authentication using jwt
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock178
1 files changed, 178 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1116c65..9b91b30 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -75,6 +75,12 @@ dependencies = [
75] 75]
76 76
77[[package]] 77[[package]]
78name = "bumpalo"
79version = "3.6.1"
80source = "registry+https://github.com/rust-lang/crates.io-index"
81checksum = "63396b8a4b9de3f4fdfb320ab6080762242f66a8ef174c49d8e19b674db4cdbe"
82
83[[package]]
78name = "byteorder" 84name = "byteorder"
79version = "1.4.3" 85version = "1.4.3"
80source = "registry+https://github.com/rust-lang/crates.io-index" 86source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -93,6 +99,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
93checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040" 99checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040"
94 100
95[[package]] 101[[package]]
102name = "cc"
103version = "1.0.67"
104source = "registry+https://github.com/rust-lang/crates.io-index"
105checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd"
106
107[[package]]
96name = "cfg-if" 108name = "cfg-if"
97version = "0.1.10" 109version = "0.1.10"
98source = "registry+https://github.com/rust-lang/crates.io-index" 110source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -304,8 +316,10 @@ dependencies = [
304 "blake2", 316 "blake2",
305 "chrono", 317 "chrono",
306 "hex-literal", 318 "hex-literal",
319 "jsonwebtoken",
307 "lazy_static", 320 "lazy_static",
308 "log", 321 "log",
322 "md-5",
309 "parking_lot", 323 "parking_lot",
310 "pretty_env_logger", 324 "pretty_env_logger",
311 "serde", 325 "serde",
@@ -493,6 +507,29 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
493checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" 507checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
494 508
495[[package]] 509[[package]]
510name = "js-sys"
511version = "0.3.50"
512source = "registry+https://github.com/rust-lang/crates.io-index"
513checksum = "2d99f9e3e84b8f67f846ef5b4cbbc3b1c29f6c759fcbce6f01aa0e73d932a24c"
514dependencies = [
515 "wasm-bindgen",
516]
517
518[[package]]
519name = "jsonwebtoken"
520version = "7.2.0"
521source = "registry+https://github.com/rust-lang/crates.io-index"
522checksum = "afabcc15e437a6484fc4f12d0fd63068fe457bf93f1c148d3d9649c60b103f32"
523dependencies = [
524 "base64 0.12.3",
525 "pem",
526 "ring",
527 "serde",
528 "serde_json",
529 "simple_asn1",
530]
531
532[[package]]
496name = "kernel32-sys" 533name = "kernel32-sys"
497version = "0.2.2" 534version = "0.2.2"
498source = "registry+https://github.com/rust-lang/crates.io-index" 535source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -539,6 +576,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
539checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" 576checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
540 577
541[[package]] 578[[package]]
579name = "md-5"
580version = "0.9.1"
581source = "registry+https://github.com/rust-lang/crates.io-index"
582checksum = "7b5a279bb9607f9f53c22d496eade00d138d1bdcccd07d74650387cf94942a15"
583dependencies = [
584 "block-buffer",
585 "digest",
586 "opaque-debug",
587]
588
589[[package]]
542name = "memchr" 590name = "memchr"
543version = "2.3.4" 591version = "2.3.4"
544source = "registry+https://github.com/rust-lang/crates.io-index" 592source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -621,6 +669,17 @@ dependencies = [
621] 669]
622 670
623[[package]] 671[[package]]
672name = "num-bigint"
673version = "0.2.6"
674source = "registry+https://github.com/rust-lang/crates.io-index"
675checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304"
676dependencies = [
677 "autocfg",
678 "num-integer",
679 "num-traits",
680]
681
682[[package]]
624name = "num-integer" 683name = "num-integer"
625version = "0.1.44" 684version = "0.1.44"
626source = "registry+https://github.com/rust-lang/crates.io-index" 685source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -640,6 +699,12 @@ dependencies = [
640] 699]
641 700
642[[package]] 701[[package]]
702name = "once_cell"
703version = "1.7.2"
704source = "registry+https://github.com/rust-lang/crates.io-index"
705checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3"
706
707[[package]]
643name = "opaque-debug" 708name = "opaque-debug"
644version = "0.3.0" 709version = "0.3.0"
645source = "registry+https://github.com/rust-lang/crates.io-index" 710source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -670,6 +735,17 @@ dependencies = [
670] 735]
671 736
672[[package]] 737[[package]]
738name = "pem"
739version = "0.8.3"
740source = "registry+https://github.com/rust-lang/crates.io-index"
741checksum = "fd56cbd21fea48d0c440b41cd69c589faacade08c992d9a54e471b79d0fd13eb"
742dependencies = [
743 "base64 0.13.0",
744 "once_cell",
745 "regex",
746]
747
748[[package]]
673name = "percent-encoding" 749name = "percent-encoding"
674version = "2.1.0" 750version = "2.1.0"
675source = "registry+https://github.com/rust-lang/crates.io-index" 751source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -897,6 +973,21 @@ dependencies = [
897] 973]
898 974
899[[package]] 975[[package]]
976name = "ring"
977version = "0.16.20"
978source = "registry+https://github.com/rust-lang/crates.io-index"
979checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
980dependencies = [
981 "cc",
982 "libc",
983 "once_cell",
984 "spin",
985 "untrusted",
986 "web-sys",
987 "winapi 0.3.9",
988]
989
990[[package]]
900name = "ryu" 991name = "ryu"
901version = "1.0.5" 992version = "1.0.5"
902source = "registry+https://github.com/rust-lang/crates.io-index" 993source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -986,6 +1077,17 @@ dependencies = [
986] 1077]
987 1078
988[[package]] 1079[[package]]
1080name = "simple_asn1"
1081version = "0.4.1"
1082source = "registry+https://github.com/rust-lang/crates.io-index"
1083checksum = "692ca13de57ce0613a363c8c2f1de925adebc81b04c923ac60c5488bb44abe4b"
1084dependencies = [
1085 "chrono",
1086 "num-bigint",
1087 "num-traits",
1088]
1089
1090[[package]]
989name = "slab" 1091name = "slab"
990version = "0.4.2" 1092version = "0.4.2"
991source = "registry+https://github.com/rust-lang/crates.io-index" 1093source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1009,6 +1111,12 @@ dependencies = [
1009] 1111]
1010 1112
1011[[package]] 1113[[package]]
1114name = "spin"
1115version = "0.5.2"
1116source = "registry+https://github.com/rust-lang/crates.io-index"
1117checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
1118
1119[[package]]
1012name = "subtle" 1120name = "subtle"
1013version = "2.4.0" 1121version = "2.4.0"
1014source = "registry+https://github.com/rust-lang/crates.io-index" 1122source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1241,6 +1349,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1241checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" 1349checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
1242 1350
1243[[package]] 1351[[package]]
1352name = "untrusted"
1353version = "0.7.1"
1354source = "registry+https://github.com/rust-lang/crates.io-index"
1355checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
1356
1357[[package]]
1244name = "url" 1358name = "url"
1245version = "2.2.1" 1359version = "2.2.1"
1246source = "registry+https://github.com/rust-lang/crates.io-index" 1360source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1321,6 +1435,70 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1321checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" 1435checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
1322 1436
1323[[package]] 1437[[package]]
1438name = "wasm-bindgen"
1439version = "0.2.73"
1440source = "registry+https://github.com/rust-lang/crates.io-index"
1441checksum = "83240549659d187488f91f33c0f8547cbfef0b2088bc470c116d1d260ef623d9"
1442dependencies = [
1443 "cfg-if 1.0.0",
1444 "wasm-bindgen-macro",
1445]
1446
1447[[package]]
1448name = "wasm-bindgen-backend"
1449version = "0.2.73"
1450source = "registry+https://github.com/rust-lang/crates.io-index"
1451checksum = "ae70622411ca953215ca6d06d3ebeb1e915f0f6613e3b495122878d7ebec7dae"
1452dependencies = [
1453 "bumpalo",
1454 "lazy_static",
1455 "log",
1456 "proc-macro2",
1457 "quote",
1458 "syn",
1459 "wasm-bindgen-shared",
1460]
1461
1462[[package]]
1463name = "wasm-bindgen-macro"
1464version = "0.2.73"
1465source = "registry+https://github.com/rust-lang/crates.io-index"
1466checksum = "3e734d91443f177bfdb41969de821e15c516931c3c3db3d318fa1b68975d0f6f"
1467dependencies = [
1468 "quote",
1469 "wasm-bindgen-macro-support",
1470]
1471
1472[[package]]
1473name = "wasm-bindgen-macro-support"
1474version = "0.2.73"
1475source = "registry+https://github.com/rust-lang/crates.io-index"
1476checksum = "d53739ff08c8a68b0fdbcd54c372b8ab800b1449ab3c9d706503bc7dd1621b2c"
1477dependencies = [
1478 "proc-macro2",
1479 "quote",
1480 "syn",
1481 "wasm-bindgen-backend",
1482 "wasm-bindgen-shared",
1483]
1484
1485[[package]]
1486name = "wasm-bindgen-shared"
1487version = "0.2.73"
1488source = "registry+https://github.com/rust-lang/crates.io-index"
1489checksum = "d9a543ae66aa233d14bb765ed9af4a33e81b8b58d1584cf1b47ff8cd0b9e4489"
1490
1491[[package]]
1492name = "web-sys"
1493version = "0.3.50"
1494source = "registry+https://github.com/rust-lang/crates.io-index"
1495checksum = "a905d57e488fec8861446d3393670fb50d27a262344013181c2cdf9fff5481be"
1496dependencies = [
1497 "js-sys",
1498 "wasm-bindgen",
1499]
1500
1501[[package]]
1324name = "winapi" 1502name = "winapi"
1325version = "0.2.8" 1503version = "0.2.8"
1326source = "registry+https://github.com/rust-lang/crates.io-index" 1504source = "registry+https://github.com/rust-lang/crates.io-index"