Skip to content

Commit dea9d36

Browse files
authored
update dependencies (#78)
1 parent 0371775 commit dea9d36

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ keywords = ["ldap", "protocol", "authentication", "chaos"]
2121
ldap3_client = { path = "./client", version = "=0.6.2" }
2222
ldap3_proto = { path = "./proto", version = "=0.6.2" }
2323

24-
base64 = "0.21"
24+
base64 = "0.22"
2525
bytes = "^1.1.0"
26-
clap = "^3.2"
27-
clap_complete = "^3.2.3"
26+
clap = "^4.0"
27+
clap_complete = "^4.0"
2828
futures = "^0.3.21"
2929
futures-util = "^0.3.21"
3030
lber = "^0.4.0"
3131
# Must match lber
3232
nom = "7"
3333
peg = "0.8.1"
34-
ron = "^0.8.0"
34+
ron = "^0.12.0"
3535
rpassword = "7.0.0"
3636
serde = { version = "^1.0.136", features = ["derive"] }
3737
serde_json = "^1.0.79"
3838
serde_test = "^1.0.56"
3939
serde_with = "3.9.0"
40-
thiserror = "1.0"
40+
thiserror = "2.0"
4141
tokio = "^1.17.0"
4242
tokio-util = "^0.7.1"
4343
rustls = "0.23.36"

cli/src/cldap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ async fn main() {
2121
ldap3_cli_common::start_tracing(true);
2222
trace!("cldap command line utility");
2323

24-
let _opt = CldapOpt::from_args();
24+
let _opt = CldapOpt::parse();
2525
}

cli/src/ldap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ include!("./ldap_opt.rs");
2323

2424
#[tokio::main(flavor = "current_thread")]
2525
async fn main() {
26-
let opt = LdapOpt::from_args();
26+
let opt = LdapOpt::parse();
2727
ldap3_cli_common::start_tracing(opt.verbose);
2828
info!("ldap command line utility");
2929

cli/src/ldap_debug.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use tracing::*;
2121
include!("ldap_debug_opt.rs");
2222

2323
fn main() {
24-
let opt = LdapDebugOpt::from_args();
24+
let opt = LdapDebugOpt::parse();
2525
ldap3_cli_common::start_tracing(opt.verbose);
2626
info!("ldap debugging assistance tool");
2727

cli/src/ldap_debug_opt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::fmt;
22
use std::str::FromStr;
33

4-
#[derive(Debug, clap::Subcommand)]
4+
#[derive(Debug, clap::ValueEnum, Clone)]
55
enum DumpFormat {
66
OpenLDAPMemDump,
77
}

0 commit comments

Comments
 (0)