Skip to content

Commit

Permalink
Improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
aramperes committed Jul 31, 2021
1 parent d36999d commit cd29501
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The [rupsc](https://github.com/aramperes/nut-client-rs/tree/master/rupsc)
CLI is written using this library, and is a clone of NUT's
built-in [upsc](https://networkupstools.org/docs/man/upsc.html) tool.

Here is an example use of this library (`cargo run --example blocking`):
Below is a sample program using this library (`cargo run --example blocking`).

```rust
use std::env;
Expand Down Expand Up @@ -82,9 +82,9 @@ fn main() -> nut_client::Result<()> {

## SSL

You can turn on SSL support by adding `.with_ssl(true)` in the `ConfigBuilder`.
This requires the `ssl` feature, which uses `rustls` under the hood.
You can turn on SSL support by adding `.with_ssl(true)` in the `ConfigBuilder`. This requires the `ssl` feature, which
uses `rustls` under the hood.

Note that this crate turns off all certificate validation at the moment, effectively
giving a false sense of security. If you'd like to contribute to this, see issue #8.
Note that this crate turns off all certificate validation at the moment, effectively giving a false sense of security.
If you'd like to contribute to this, see issue #8.

0 comments on commit cd29501

Please sign in to comment.