Procházet zdrojové kódy

chore(auth): remove unused crates

Bryan Lee před 1 rokem
rodič
revize
690749b6f3
2 změnil soubory, kde provedl 0 přidání a 41 odebrání
  1. 0 38
      authentication/Cargo.lock
  2. 0 3
      authentication/Cargo.toml

+ 0 - 38
authentication/Cargo.lock

@@ -196,21 +196,6 @@ dependencies = [
  "syn 2.0.48",
 ]
 
-[[package]]
-name = "actix-web-httpauth"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d613edf08a42ccc6864c941d30fe14e1b676a77d16f1dbadc1174d065a0a775"
-dependencies = [
- "actix-utils",
- "actix-web",
- "base64",
- "futures-core",
- "futures-util",
- "log",
- "pin-project-lite",
-]
-
 [[package]]
 name = "addr2line"
 version = "0.21.0"
@@ -343,7 +328,6 @@ version = "0.1.0"
 dependencies = [
  "actix-cors",
  "actix-web",
- "actix-web-httpauth",
  "async-trait",
  "base64",
  "bb8",
@@ -354,12 +338,10 @@ dependencies = [
  "diesel_async_migrations",
  "dotenvy",
  "env_logger",
- "is_empty",
  "jsonwebtoken",
  "lazy_static",
  "openssl",
  "paste",
- "rand_core",
  "reqwest",
  "serde",
  "uuid",
@@ -1052,26 +1034,6 @@ version = "2.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
 
-[[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"

+ 0 - 3
authentication/Cargo.toml

@@ -6,7 +6,6 @@ edition = "2021"
 [dependencies]
 actix-cors = "0.7.0"
 actix-web = "4.5.1"
-actix-web-httpauth = "0.8.1"
 async-trait = "0.1.77"
 base64 = "0.21.7"
 bb8 = "0.8.3"
@@ -17,12 +16,10 @@ diesel-derive-enum = { version = "2.1.0", features = ["postgres"] }
 diesel_async_migrations = "0.12.0"
 dotenvy = "0.15.7"
 env_logger = "0.11.1"
-is_empty = "0.2.0"
 jsonwebtoken = "9.2.0"
 lazy_static = "1.4.0"
 openssl = "0.10.63"
 paste = "1.0.14"
-rand_core = { version = "0.6.4", features = ["std"] }
 reqwest = { version = "0.11.24", features = ["json"] }
 serde = { version = "1.0.196", features = ["derive"] }
 uuid = { version = "1.7.0", features = ["v4", "fast-rng", "serde"] }