Skip to content

Commit 9ea1b1c

Browse files
committed
Bump version to 3.0.1 and update dependencies in Cargo.toml; remove sync feature; add important note about TLS features in README.md
1 parent e0c0a83 commit 9ea1b1c

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

Cargo.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,36 @@ readme = "README.md"
66
repository = "https://github.com/keaz/simple-ldap"
77
keywords = ["ldap", "ldap3", "async", "high-level"]
88
name = "simple-ldap"
9-
version = "3.0.0"
9+
version = "3.0.1"
1010
edition = "2021"
1111

1212

1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

1515
[dependencies]
16-
deadpool = { version = "0.12.1", optional = true}
16+
deadpool = { version = "0.12.2", optional = true }
1717
futures = "0.3.31"
1818
ldap3 = { version = "0.11.5", default-features = false }
1919
serde = { version = "1.0.214", features = ["derive"] }
2020
serde-value = "0.7.0"
21-
serde_json = "1.0.132"
22-
thiserror = "2.0.2"
21+
thiserror = "2.0.11"
2322
tracing = "0.1.41"
2423
url = "2.5.4"
2524

2625
[dev-dependencies]
2726
# This little hack is neede0.9.0 enabling optional features during testing.
2827
# https://github.com/rust-lang/cargo/issues/2911#issuecomment-749580481
29-
simple-ldap = { path = ".", features = ["pool"]}
28+
simple-ldap = { path = ".", features = ["pool"] }
3029
anyhow = "1.0.95"
3130
rand = "0.9.0"
3231
tokio = { version = "1.43.0", features = ["macros", "rt-multi-thread"] }
3332
# v4 is random uids.
3433
uuid = { version = "1.12.1", features = ["v4"] }
3534

3635
[features]
37-
default = ["ldap3/default"]
36+
default = ["tls"]
3837
tls = ["ldap3/tls"]
3938
tls-native = ["ldap3/tls-native"]
4039
tls-rustls = ["ldap3/tls-rustls"]
4140
gssapi = ["ldap3/gssapi"]
42-
sync = ["ldap3/sync"]
4341
pool = ["dep:deadpool"]

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,19 @@ Other useful pieces you'll likely need:
2020
cargo add url serde --features serde/derive
2121
```
2222

23+
## ⚠️ Important Note
24+
25+
**By default this library enables the `tls` feature. If you want to use `tls-native` or `tls-rustls` you have to disable the default feature using `default-features = false` in your `Cargo.toml` file and anable the feature you want to use.**
26+
27+
````toml
28+
29+
```commandline
30+
2331

2432
### Example
2533

2634
There are plenty more examples in the [documentation](https://docs.rs/simple-ldap)!
2735

28-
2936
#### Search records
3037

3138
```rust,no_run
@@ -65,4 +72,4 @@ async fn main(){
6572
&vec!["cn", "sn", "uid"],
6673
).await.unwrap();
6774
}
68-
```
75+
````

0 commit comments

Comments
 (0)