cargo: Update dependencies

This commit is contained in:
Valentin Tolmer
2025-12-24 15:07:55 +01:00
committed by nitnelave
parent ee9fec71a5
commit 469f35c12c
6 changed files with 1454 additions and 738 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ version = "0.11"
[dev-dependencies.ldap3]
version = "*"
default-features = false
features = ["sync", "tls-rustls"]
features = ["sync", "tls-rustls-ring"]
[dev-dependencies.lldap_auth]
path = "../crates/auth"
+2 -2
View File
@@ -6,7 +6,7 @@ use crate::common::{
add_user_to_group, create_group, create_user, delete_group_query, delete_user_query, post,
},
};
use assert_cmd::prelude::*;
use assert_cmd::cargo_bin;
use nix::{
sys::signal::{self, Signal},
unistd::Pid,
@@ -226,7 +226,7 @@ pub fn new_id(prefix: Option<&str>) -> String {
}
fn create_lldap_command(subcommand: &str) -> Command {
let mut cmd = Command::cargo_bin(env!("CARGO_PKG_NAME")).expect("cargo bin not found");
let mut cmd = Command::new(cargo_bin!());
// This gives us the absolute path of the repo base instead of running it in server/
let path = canonicalize("..").expect("canonical path");
let db_url = env::database_url();