|
@@ -233,6 +233,21 @@ dependencies = [
|
|
|
"alloc-no-stdlib",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "android-tzdata"
|
|
|
+version = "0.1.1"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "android_system_properties"
|
|
|
+version = "0.1.5"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
|
|
+dependencies = [
|
|
|
+ "libc",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "anstream"
|
|
|
version = "0.6.11"
|
|
@@ -286,7 +301,12 @@ name = "authentication"
|
|
|
version = "0.1.0"
|
|
|
dependencies = [
|
|
|
"actix-web",
|
|
|
+ "diesel",
|
|
|
+ "dotenvy",
|
|
|
"env_logger",
|
|
|
+ "is_empty",
|
|
|
+ "serde",
|
|
|
+ "uuid",
|
|
|
]
|
|
|
|
|
|
[[package]]
|
|
@@ -358,6 +378,18 @@ dependencies = [
|
|
|
"alloc-stdlib",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "bumpalo"
|
|
|
+version = "3.14.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec"
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "byteorder"
|
|
|
+version = "1.5.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "bytes"
|
|
|
version = "1.5.0"
|
|
@@ -389,6 +421,18 @@ version = "1.0.0"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "chrono"
|
|
|
+version = "0.4.33"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "9f13690e35a5e4ace198e7beea2895d29f3a9cc55015fcebe6336bd2010af9eb"
|
|
|
+dependencies = [
|
|
|
+ "android-tzdata",
|
|
|
+ "iana-time-zone",
|
|
|
+ "num-traits",
|
|
|
+ "windows-targets 0.52.0",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "colorchoice"
|
|
|
version = "1.0.0"
|
|
@@ -412,6 +456,12 @@ dependencies = [
|
|
|
"version_check",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "core-foundation-sys"
|
|
|
+version = "0.8.6"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "cpufeatures"
|
|
|
version = "0.2.12"
|
|
@@ -462,6 +512,43 @@ dependencies = [
|
|
|
"syn 1.0.109",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "diesel"
|
|
|
+version = "2.1.4"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "62c6fcf842f17f8c78ecf7c81d75c5ce84436b41ee07e03f490fbb5f5a8731d8"
|
|
|
+dependencies = [
|
|
|
+ "bitflags 2.4.2",
|
|
|
+ "byteorder",
|
|
|
+ "chrono",
|
|
|
+ "diesel_derives",
|
|
|
+ "itoa",
|
|
|
+ "pq-sys",
|
|
|
+ "r2d2",
|
|
|
+ "uuid",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "diesel_derives"
|
|
|
+version = "2.1.2"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "ef8337737574f55a468005a83499da720f20c65586241ffea339db9ecdfd2b44"
|
|
|
+dependencies = [
|
|
|
+ "diesel_table_macro_syntax",
|
|
|
+ "proc-macro2",
|
|
|
+ "quote",
|
|
|
+ "syn 2.0.48",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "diesel_table_macro_syntax"
|
|
|
+version = "0.1.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "fc5557efc453706fed5e4fa85006fe9817c224c3f480a34c7e5959fd700921c5"
|
|
|
+dependencies = [
|
|
|
+ "syn 2.0.48",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "digest"
|
|
|
version = "0.10.7"
|
|
@@ -472,6 +559,12 @@ dependencies = [
|
|
|
"crypto-common",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "dotenvy"
|
|
|
+version = "0.15.7"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "encoding_rs"
|
|
|
version = "0.8.33"
|
|
@@ -646,6 +739,29 @@ version = "2.1.0"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "iana-time-zone"
|
|
|
+version = "0.1.60"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
|
|
|
+dependencies = [
|
|
|
+ "android_system_properties",
|
|
|
+ "core-foundation-sys",
|
|
|
+ "iana-time-zone-haiku",
|
|
|
+ "js-sys",
|
|
|
+ "wasm-bindgen",
|
|
|
+ "windows-core",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "iana-time-zone-haiku"
|
|
|
+version = "0.1.2"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
|
|
+dependencies = [
|
|
|
+ "cc",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "idna"
|
|
|
version = "0.5.0"
|
|
@@ -666,6 +782,26 @@ dependencies = [
|
|
|
"hashbrown",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "is_empty"
|
|
|
+version = "0.2.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "0a936154b7f653894729875d5593b3251d90619c90994581dceec44334df4021"
|
|
|
+dependencies = [
|
|
|
+ "is_empty_derive",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "is_empty_derive"
|
|
|
+version = "0.1.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "d8903009eceffe882e7cb6adadd29001f4f0e46f67616247f40841a5604f1610"
|
|
|
+dependencies = [
|
|
|
+ "proc-macro2",
|
|
|
+ "quote",
|
|
|
+ "syn 1.0.109",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "itoa"
|
|
|
version = "1.0.10"
|
|
@@ -681,6 +817,15 @@ dependencies = [
|
|
|
"libc",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "js-sys"
|
|
|
+version = "0.3.67"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1"
|
|
|
+dependencies = [
|
|
|
+ "wasm-bindgen",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "language-tags"
|
|
|
version = "0.3.2"
|
|
@@ -765,6 +910,15 @@ version = "0.1.0"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "num-traits"
|
|
|
+version = "0.2.17"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c"
|
|
|
+dependencies = [
|
|
|
+ "autocfg",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "object"
|
|
|
version = "0.32.2"
|
|
@@ -845,6 +999,15 @@ version = "0.2.17"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "pq-sys"
|
|
|
+version = "0.4.8"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "31c0052426df997c0cbd30789eb44ca097e3541717a7b8fa36b1c464ee7edebd"
|
|
|
+dependencies = [
|
|
|
+ "vcpkg",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "proc-macro2"
|
|
|
version = "1.0.78"
|
|
@@ -863,6 +1026,17 @@ dependencies = [
|
|
|
"proc-macro2",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "r2d2"
|
|
|
+version = "0.8.10"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "51de85fb3fb6524929c8a2eb85e6b6d363de4e8c48f9e2c2eac4944abc181c93"
|
|
|
+dependencies = [
|
|
|
+ "log",
|
|
|
+ "parking_lot",
|
|
|
+ "scheduled-thread-pool",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "rand"
|
|
|
version = "0.8.5"
|
|
@@ -952,6 +1126,15 @@ version = "1.0.16"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "scheduled-thread-pool"
|
|
|
+version = "0.2.7"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "3cbc66816425a074528352f5789333ecff06ca41b36b0b0efdfbb29edc391a19"
|
|
|
+dependencies = [
|
|
|
+ "parking_lot",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "scopeguard"
|
|
|
version = "1.2.0"
|
|
@@ -1215,6 +1398,23 @@ version = "0.2.1"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "uuid"
|
|
|
+version = "1.7.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a"
|
|
|
+dependencies = [
|
|
|
+ "getrandom",
|
|
|
+ "rand",
|
|
|
+ "serde",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "vcpkg"
|
|
|
+version = "0.2.15"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "version_check"
|
|
|
version = "0.9.4"
|
|
@@ -1227,6 +1427,69 @@ version = "0.11.0+wasi-snapshot-preview1"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "wasm-bindgen"
|
|
|
+version = "0.2.90"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406"
|
|
|
+dependencies = [
|
|
|
+ "cfg-if",
|
|
|
+ "wasm-bindgen-macro",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "wasm-bindgen-backend"
|
|
|
+version = "0.2.90"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd"
|
|
|
+dependencies = [
|
|
|
+ "bumpalo",
|
|
|
+ "log",
|
|
|
+ "once_cell",
|
|
|
+ "proc-macro2",
|
|
|
+ "quote",
|
|
|
+ "syn 2.0.48",
|
|
|
+ "wasm-bindgen-shared",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "wasm-bindgen-macro"
|
|
|
+version = "0.2.90"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999"
|
|
|
+dependencies = [
|
|
|
+ "quote",
|
|
|
+ "wasm-bindgen-macro-support",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "wasm-bindgen-macro-support"
|
|
|
+version = "0.2.90"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7"
|
|
|
+dependencies = [
|
|
|
+ "proc-macro2",
|
|
|
+ "quote",
|
|
|
+ "syn 2.0.48",
|
|
|
+ "wasm-bindgen-backend",
|
|
|
+ "wasm-bindgen-shared",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "wasm-bindgen-shared"
|
|
|
+version = "0.2.90"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b"
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "windows-core"
|
|
|
+version = "0.52.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
|
|
|
+dependencies = [
|
|
|
+ "windows-targets 0.52.0",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "windows-sys"
|
|
|
version = "0.48.0"
|