Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <[email protected]>"]
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
Loading