Skip to content

Commit

Permalink
Merge pull request #99 from anderejd/vendored_openssl
Browse files Browse the repository at this point in the history
Expose the cargo crate feature: vendored-openssl.
  • Loading branch information
anderejd authored Apr 17, 2020
2 parents 83e1eb3 + 747243c commit c84a5f1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
15 changes: 13 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,24 @@ This cargo plugin is based on the code from two other projects:
<https://github.com/icefoxen/cargo-osha> and
<https://github.com/sfackler/cargo-tree>.

Installation
------------

Try to find and use a system-wide installed OpenSSL library:
```
cargo install cargo-geiger
```

Or, build and statically link OpenSSL as part of the cargo-geiger executable:
```
cargo install cargo-geiger --features vendored-openssl
```

Usage
-----

1. `cargo install cargo-geiger`
2. Navigate to the same directory as the `Cargo.toml` you want to analyze.
3. `cargo geiger`
1. Navigate to the same directory as the `Cargo.toml` you want to analyze.
2. `cargo geiger`


Output example
Expand Down
3 changes: 3 additions & 0 deletions cargo-geiger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ petgraph = "0.5.0"
pico-args = "0.3.1"
walkdir = "2.3.1"

[features]
vendored-openssl = ["cargo/vendored-openssl"]

[dev-dependencies]
assert_cmd = "1.0.1"
better-panic = "0.2.0"
Expand Down

0 comments on commit c84a5f1

Please sign in to comment.