Skip to content

Commit

Permalink
Bump to 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 23, 2025
1 parent a0e4ef7 commit 433e5a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "openssl-probe"
version = "0.1.5"
version = "0.1.6"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/alexcrichton/openssl-probe"
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@ First, add this to your `Cargo.toml`:

```toml
[dependencies]
openssl-probe = "0.1.2"
openssl-probe = "0.1.6"
```

Then add this to your crate:

```rust
extern crate openssl_probe;

fn main() {
openssl_probe::init_ssl_cert_env_vars();
//... your code
let result = openssl_probe::probe();
if let Some(dir) = &result.cert_dir {
//... your code
}
if let Some(file) = &result.cert_file {
//... your code
}
}
```

Expand Down

0 comments on commit 433e5a0

Please # to comment.