Skip to content

Commit 4221247

Browse files
authored
Merge pull request #35 from alexcrichton/bump
Bump to 0.1.6
2 parents a0e4ef7 + 433e5a0 commit 4221247

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openssl-probe"
3-
version = "0.1.5"
3+
version = "0.1.6"
44
authors = ["Alex Crichton <[email protected]>"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/alexcrichton/openssl-probe"

README.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@ First, add this to your `Cargo.toml`:
1111

1212
```toml
1313
[dependencies]
14-
openssl-probe = "0.1.2"
14+
openssl-probe = "0.1.6"
1515
```
1616

1717
Then add this to your crate:
1818

1919
```rust
20-
extern crate openssl_probe;
21-
2220
fn main() {
23-
openssl_probe::init_ssl_cert_env_vars();
24-
//... your code
21+
let result = openssl_probe::probe();
22+
if let Some(dir) = &result.cert_dir {
23+
//... your code
24+
}
25+
if let Some(file) = &result.cert_file {
26+
//... your code
27+
}
2528
}
2629
```
2730

0 commit comments

Comments
 (0)