diff --git a/Cargo.toml b/Cargo.toml index 51a21a8..d096b44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ members = ["proto", "client", "cli"] [workspace.package] -version = "0.4.4" +version = "0.5.0" authors = ["William Brown "] rust-version = "1.74" edition = "2021" @@ -18,8 +18,11 @@ repository = "https://github.com/kanidm/ldap3/" keywords = ["ldap", "protocol", "authentication", "chaos"] [workspace.dependencies] +ldap3_client = { path = "./client", version = "0.5.0" } +ldap3_proto = { path = "./proto", version = "0.5.0" } + base64 = "0.21" -base64urlsafedata = "0.1.3" +base64urlsafedata = "0.5.0" bytes = "^1.1.0" clap = "^3.2" clap_complete = "^3.2.3" @@ -28,8 +31,6 @@ futures-util = "^0.3.21" lber = "^0.4.0" # Must match lber nom = "7" -ldap3_client = { path = "./client", version = "^0.4.3" } -ldap3_proto = { path = "./proto", version = "^0.4.3" } peg = "0.8.1" openssl = "^0.10.38" ron = "^0.8.0" diff --git a/client/src/addirsync.rs b/client/src/addirsync.rs index 71f0502..898c903 100644 --- a/client/src/addirsync.rs +++ b/client/src/addirsync.rs @@ -69,7 +69,7 @@ impl LdapClient { cookie, }) = msg.ctrl.pop() { - let cookie = cookie.map(Base64UrlSafeData); + let cookie = cookie.map(Base64UrlSafeData::from); break Ok(LdapSyncRepl { cookie, entries, diff --git a/client/src/syncrepl.rs b/client/src/syncrepl.rs index af47173..bf50e13 100644 --- a/client/src/syncrepl.rs +++ b/client/src/syncrepl.rs @@ -96,7 +96,7 @@ impl LdapClient { refresh_deletes, }) = msg.ctrl.pop() { - let cookie = cookie.map(Base64UrlSafeData); + let cookie = cookie.map(Base64UrlSafeData::from); break Ok(LdapSyncRepl::Success { cookie, refresh_deletes,