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
Generated
+1448
-723
File diff suppressed because it is too large
Load Diff
@@ -24,9 +24,6 @@ lto = true
|
||||
[profile.release.package.lldap_app]
|
||||
opt-level = 's'
|
||||
|
||||
[patch.crates-io.lber]
|
||||
git = 'https://github.com/inejge/ldap3/'
|
||||
|
||||
[workspace.dependencies.sea-orm]
|
||||
version = "1.1.8"
|
||||
default-features = false
|
||||
|
||||
@@ -7,8 +7,8 @@ use sea_orm::{
|
||||
DbErr, DeriveValueType, QueryResult, TryFromU64, TryGetError, TryGetable, Value,
|
||||
entity::IntoActiveValue,
|
||||
sea_query::{
|
||||
ArrayType, ColumnType, Nullable, SeaRc, StringLen, ValueTypeErr,
|
||||
extension::mysql::MySqlType, value::ValueType,
|
||||
ArrayType, ColumnType, SeaRc, StringLen, ValueTypeErr, extension::mysql::MySqlType,
|
||||
value::ValueType,
|
||||
},
|
||||
};
|
||||
use serde::{Deserialize, Serialize};
|
||||
@@ -415,12 +415,6 @@ impl JpegPhoto {
|
||||
}
|
||||
}
|
||||
|
||||
impl Nullable for JpegPhoto {
|
||||
fn null() -> Value {
|
||||
JpegPhoto::null().into()
|
||||
}
|
||||
}
|
||||
|
||||
impl IntoActiveValue<Serialized> for JpegPhoto {
|
||||
fn into_active_value(self) -> sea_orm::ActiveValue<Serialized> {
|
||||
if self.is_empty() {
|
||||
|
||||
@@ -34,7 +34,7 @@ features = ["json", "blocking", "rustls-tls"]
|
||||
[dependencies.ldap3]
|
||||
version = "*"
|
||||
default-features = false
|
||||
features = ["sync", "tls-rustls"]
|
||||
features = ["sync", "tls-rustls-ring"]
|
||||
|
||||
[dependencies.serde]
|
||||
workspace = true
|
||||
|
||||
+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