mirror of
https://github.com/lldap/lldap.git
synced 2026-03-31 15:07:48 +01:00
cargo: Update dependencies
This commit is contained in:
committed by
nitnelave
parent
ee9fec71a5
commit
469f35c12c
+1
-1
@@ -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"
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user