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