2 Commity 4d638c44eb ... fc75dbf843

Autor SHA1 Wiadomość Data
  clement fc75dbf843 Fixing error: Cannot find dervie macro Deserialize 3 tygodni temu
  clement 8d1f26f099 Updating all dependencies 3 tygodni temu
4 zmienionych plików z 324 dodań i 184 usunięć
  1. 307 167
      Cargo.lock
  2. 13 13
      Cargo.toml
  3. 2 2
      src/handler.rs
  4. 2 2
      src/ldap/lib.rs

Plik diff jest za duży
+ 307 - 167
Cargo.lock


+ 13 - 13
Cargo.toml

@@ -6,20 +6,20 @@ edition = "2021"
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-actix-web = "4.9.0"
-actix-session = { version = "0.10.1", features = ["redis-session-native-tls"] }
-ldap3 = "0.11.5"
-tera = "1.20.0"
-serde = "1.0.217"
-serde_derive = "1.0.217"
-config = "0.15.4"
-deadpool = "0.12.1"
-regex = "1.11.1"
-ring = "0.17.8"
+actix-web = "4.13.0"
+actix-session = { version = "0.11.0", features = ["redis-session-native-tls"] }
+ldap3 = "0.12.1"
+tera = "1.20.1"
+serde = "1.0.228"
+serde_derive = "1.0.228"
+config = "0.15.9"
+deadpool = "0.13.0"
+regex = "1.12.3"
+ring = "0.17.14"
 base64 = "0.22.1"
-digest = "0.10.7"
-sha2 = "0.10.8"
+digest = "0.11.1"
+sha2 = "0.10.9"
 
 [lib]
 name = "ldap"
-path = "src/ldap/lib.rs"
+path = "src/ldap/lib.rs"

+ 2 - 2
src/handler.rs

@@ -3,7 +3,7 @@ use std::collections::HashMap;
 use actix_session::Session;
 use actix_web::{http::{header, StatusCode}, web, HttpResponse, Responder};
 use ldap::LdapWrapper;
-use serde::Deserialize;
+use serde_derive::Deserialize;
 use tera::Tera;
 
 #[derive(Deserialize)]
@@ -237,4 +237,4 @@ pub async fn del_ssh_key(ldap_wrapper: web::Data<LdapWrapper>, form: web::Form<F
 pub async fn signout(session: Session) -> impl Responder {
     session.purge();
     return redirect_to("/");
-}
+}

+ 2 - 2
src/ldap/lib.rs

@@ -5,7 +5,7 @@ use deadpool::managed::Pool;
 use ldap3::{Mod, SearchEntry};
 use regex::{Captures, Regex};
 use ring::rand::{self, SecureRandom};
-use serde::Serialize;
+use serde_derive::Serialize;
 use sha2::{Sha512, Digest};
 
 pub mod pool;
@@ -227,4 +227,4 @@ impl LdapWrapper {
             Err(e) => Err(Error::LdapServerError { message: format!("An error occured, contact admins: {}", e)}),
         }
     }
-}
+}

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików