Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ keywords = ["ldap", "protocol", "authentication", "chaos"]
ldap3_client = { path = "./client", version = "=0.6.2" }
ldap3_proto = { path = "./proto", version = "=0.6.2" }

base64 = "0.21"
base64 = "0.22"
bytes = "^1.1.0"
clap = "^3.2"
clap_complete = "^3.2.3"
clap = "^4.0"
clap_complete = "^4.0"
futures = "^0.3.21"
futures-util = "^0.3.21"
lber = "^0.4.0"
# Must match lber
nom = "7"
peg = "0.8.1"
ron = "^0.8.0"
ron = "^0.12.0"
rpassword = "7.0.0"
serde = { version = "^1.0.136", features = ["derive"] }
serde_json = "^1.0.79"
serde_test = "^1.0.56"
serde_with = "3.9.0"
thiserror = "1.0"
thiserror = "2.0"
tokio = "^1.17.0"
tokio-util = "^0.7.1"
rustls = "0.23.36"
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cldap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ async fn main() {
ldap3_cli_common::start_tracing(true);
trace!("cldap command line utility");

let _opt = CldapOpt::from_args();
let _opt = CldapOpt::parse();
}
2 changes: 1 addition & 1 deletion cli/src/ldap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include!("./ldap_opt.rs");

#[tokio::main(flavor = "current_thread")]
async fn main() {
let opt = LdapOpt::from_args();
let opt = LdapOpt::parse();
ldap3_cli_common::start_tracing(opt.verbose);
info!("ldap command line utility");

Expand Down
2 changes: 1 addition & 1 deletion cli/src/ldap_debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use tracing::*;
include!("ldap_debug_opt.rs");

fn main() {
let opt = LdapDebugOpt::from_args();
let opt = LdapDebugOpt::parse();
ldap3_cli_common::start_tracing(opt.verbose);
info!("ldap debugging assistance tool");

Expand Down
2 changes: 1 addition & 1 deletion cli/src/ldap_debug_opt.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::fmt;
use std::str::FromStr;

#[derive(Debug, clap::Subcommand)]
#[derive(Debug, clap::ValueEnum, Clone)]
enum DumpFormat {
OpenLDAPMemDump,
}
Expand Down
Loading