Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
* Update dependencies

* Update documentation

* Update Cargo.toml for ldap3 and lber
  • Loading branch information
inejge committed Dec 20, 2022
1 parent 95d2704 commit c03a448
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 33 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## v0.11.0-beta.1, 2022-12-20

* Add an LDAP introductory document (LDAP-primer.md).

* Update `nom` to 7.x.

* Add `Ldap::get_peer_certificate()` and its sync counterpart,
which return the server certificate for the connection if present.

## v0.10.5, 2022-05-12

* Fix SASL EXTERNAL binds ([#83](https://github.com/inejge/ldap3/issues/83)).
Expand Down
36 changes: 18 additions & 18 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@ license = "MIT/Apache-2.0"
name = "ldap3"
readme = "README.md"
repository = "https://github.com/inejge/ldap3"
version = "0.10.5"
version = "0.11.0-beta.1"
edition = "2021"

[dependencies]
tokio = { version = "1.17.0", features = ["macros", "io-util", "sync", "time", "net"] }
tokio-util = { version = "0.7.0", features = ["codec"] }
tokio-stream = "0.1.8"
bytes = "1.2.1"
tokio = { version = "1.23.0", features = ["macros", "io-util", "sync", "time", "net"] }
tokio-util = { version = "0.7.4", features = ["codec"] }
tokio-stream = "0.1.11"
bytes = "1.3.0"
nom = "7.1.1"
url = "2.2.2"
futures = "0.3.6"
percent-encoding = "2.1.0"
futures-util = "0.3.6"
log = "0.4.8"
url = "2.3.1"
futures = "0.3.25"
percent-encoding = "2.2.0"
futures-util = "0.3.25"
log = "0.4.17"
lazy_static = "1.4.0"
thiserror = "1.0.21"
native-tls = { version = "0.2.6", optional = true }
thiserror = "1.0.38"
native-tls = { version = "0.2.11", optional = true }
tokio-native-tls = { version = "0.3.0", optional = true }
rustls = { version = "0.20.4", optional = true }
tokio-rustls = { version = "0.23.2", optional = true, features = ["dangerous_configuration"] }
rustls-native-certs = { version = "0.6.1", optional = true }
x509-parser = { version = "0.13.1", optional = true }
rustls = { version = "0.20.7", optional = true }
tokio-rustls = { version = "0.23.4", optional = true, features = ["dangerous_configuration"] }
rustls-native-certs = { version = "0.6.2", optional = true }
x509-parser = { version = "0.14.0", optional = true }
ring = { version = "0.16.20", optional = true }
cross-krb5 = { version = "0.3.0", optional = true }
async-trait = "0.1.41"
async-trait = "0.1.60"

[dependencies.lber]
path = "lber"
Expand All @@ -47,7 +47,7 @@ gssapi = ["cross-krb5"]

[dev-dependencies]
tokio = { version = "1", features = ["macros", "io-util", "sync", "time", "net", "rt-multi-thread"] }
env_logger = "0.9.0"
env_logger = "0.10.0"

[package.metadata.docs.rs]
default-features = false
Expand Down
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,31 @@ A pure-Rust LDAP client library using the Tokio stack.

### Version notice

New starting with 0.10.3: cross-platform Kerberos/GSSAPI support if compiled
The 0.11 branch, currently in beta, has had a belated but important dependency
upgrade: the `nom` parser combinator crate, both in the `lber` support library
and `ldap3` proper. This should be an implementation detail invisible to the user,
and the parsers have a battery of tests, but the version was nevertheless bumped up
out of abundance of caution. There are no functional differences between 0.10.6
and 0.11.0.

Starting with 0.10.3, there is cross-platform Kerberos/GSSAPI support if compiled
with the __gssapi__ feature. This feature enables the use of integrated Windows
authentication in Active Directory domains. See the description of the feature
in this README for the details of compile-time requirements.

The 0.10 branch gets a dependencies update, move to Edition 2021, and an
experimental API update which lets the user pass either owned or borrowed
attribute lists. This is a breaking change, especially if you've used or
written your own search adapters, although type inference should cover
most cases. If the change is too disruptive, the dual attribute list
support could be removed in a future release.

The 0.9 branch will only get bug fixes.
The 0.11 branch is actively developed. Bug fixes will be ported to 0.10.x. The 0.9
branch is hence retired.

### Documentation

- [Version 0.10.x](https://docs.rs/ldap3/0.10.5/ldap3/)
API reference:

- [Version 0.11.x](https://docs.rs/ldap3/0.11.0-beta.1/ldap3/)

- [Version 0.10.x](https://docs.rs/ldap3/0.10.6/ldap3/)

- [Version 0.9.x](https://docs.rs/ldap3/0.9.4/ldap3/)
There is an [LDAP introduction](https://github.com/inejge/ldap3/blob/95d2704de0955edf023e913458decaab9d2df81c/LDAP-primer.md)
for those still looking for bearings in the LDAP world.

### Note

Expand All @@ -35,7 +41,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies.ldap3]
version = "0.10.5"
version = "0.11.0-beta.1"
```

The library can be used either synchronously or asynchronously. The aim is to
Expand Down
2 changes: 1 addition & 1 deletion lber/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ documentation = "https://docs.rs/ldap3"
version = "0.4.0"

[dependencies]
bytes = "1.2.1"
bytes = "1.3.0"
nom = "7.1.1"
6 changes: 4 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//!
//! ```toml
//! [dependencies.ldap3]
//! version = "0.10.5"
//! version = "0.11.0-beta.1"
//! ```
//!
//! ## Summary
Expand All @@ -20,7 +20,9 @@
//! the short description.
//!
//! The documentation is written for readers familiar with LDAP concepts and terminology,
//! which it won't attempt to explain.
//! which it won't attempt to explain. If you need an introductory text, you can try the
//! [primer](https://github.com/inejge/ldap3/blob/95d2704de0955edf023e913458decaab9d2df81c/LDAP-primer.md)
//! included in this library.
//!
//! ## Compile-time features
//!
Expand Down

0 comments on commit c03a448

Please sign in to comment.