Skip to content

Commit

Permalink
Add feature for including openssl-sys
Browse files Browse the repository at this point in the history
Added a new feature (openssl-static) that includes the openssl-sys crate
to fix static builds.

This fixes sgrif#25
  • Loading branch information
Raniz committed Apr 17, 2020
1 parent 3e367d5 commit f440b9a
Show file tree
Hide file tree
Showing 3 changed files with 916 additions and 903 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ repository = "https://github.com/sgrif/pq-sys"
links = "pq"
build = "build.rs"

[dependencies]
openssl-sys = { version = "*", optional = true }

[features]
openssl-static = ["openssl-sys"]

[lib]
name = "pq_sys"

Expand Down
Loading

0 comments on commit f440b9a

Please sign in to comment.