Skip to content

Commit

Permalink
Update Base64 Dep and Release (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstyear authored May 1, 2024
1 parent 43ed9b5 commit fa53d1e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ members = ["proto", "client", "cli"]


[workspace.package]
version = "0.4.4"
version = "0.5.0"
authors = ["William Brown <william@blackhats.net.au>"]
rust-version = "1.74"
edition = "2021"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion client/src/addirsync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion client/src/syncrepl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fa53d1e

Please sign in to comment.