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
Generated
+1448 -723
View File
File diff suppressed because it is too large Load Diff
-3
View File
@@ -24,9 +24,6 @@ lto = true
[profile.release.package.lldap_app] [profile.release.package.lldap_app]
opt-level = 's' opt-level = 's'
[patch.crates-io.lber]
git = 'https://github.com/inejge/ldap3/'
[workspace.dependencies.sea-orm] [workspace.dependencies.sea-orm]
version = "1.1.8" version = "1.1.8"
default-features = false default-features = false
+2 -8
View File
@@ -7,8 +7,8 @@ use sea_orm::{
DbErr, DeriveValueType, QueryResult, TryFromU64, TryGetError, TryGetable, Value, DbErr, DeriveValueType, QueryResult, TryFromU64, TryGetError, TryGetable, Value,
entity::IntoActiveValue, entity::IntoActiveValue,
sea_query::{ sea_query::{
ArrayType, ColumnType, Nullable, SeaRc, StringLen, ValueTypeErr, ArrayType, ColumnType, SeaRc, StringLen, ValueTypeErr, extension::mysql::MySqlType,
extension::mysql::MySqlType, value::ValueType, value::ValueType,
}, },
}; };
use serde::{Deserialize, Serialize}; 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 { impl IntoActiveValue<Serialized> for JpegPhoto {
fn into_active_value(self) -> sea_orm::ActiveValue<Serialized> { fn into_active_value(self) -> sea_orm::ActiveValue<Serialized> {
if self.is_empty() { if self.is_empty() {
+1 -1
View File
@@ -34,7 +34,7 @@ features = ["json", "blocking", "rustls-tls"]
[dependencies.ldap3] [dependencies.ldap3]
version = "*" version = "*"
default-features = false default-features = false
features = ["sync", "tls-rustls"] features = ["sync", "tls-rustls-ring"]
[dependencies.serde] [dependencies.serde]
workspace = true workspace = true
+1 -1
View File
@@ -185,7 +185,7 @@ version = "0.11"
[dev-dependencies.ldap3] [dev-dependencies.ldap3]
version = "*" version = "*"
default-features = false default-features = false
features = ["sync", "tls-rustls"] features = ["sync", "tls-rustls-ring"]
[dev-dependencies.lldap_auth] [dev-dependencies.lldap_auth]
path = "../crates/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, 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::{ use nix::{
sys::signal::{self, Signal}, sys::signal::{self, Signal},
unistd::Pid, unistd::Pid,
@@ -226,7 +226,7 @@ pub fn new_id(prefix: Option<&str>) -> String {
} }
fn create_lldap_command(subcommand: &str) -> Command { 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/ // This gives us the absolute path of the repo base instead of running it in server/
let path = canonicalize("..").expect("canonical path"); let path = canonicalize("..").expect("canonical path");
let db_url = env::database_url(); let db_url = env::database_url();