1[package]
2name = "openssl-sys"
3version = "0.9.107"
4authors = [
5 "Alex Crichton <alex@alexcrichton.com>",
6 "Steven Fackler <sfackler@gmail.com>",
7]
8license = "MIT"
9description = "FFI bindings to OpenSSL"
10repository = "https://github.com/sfackler/rust-openssl"
11readme = "README.md"
12categories = ["cryptography", "external-ffi-bindings"]
13links = "openssl"
14build = "build/main.rs"
15edition = "2021"
16rust-version = "1.63.0"
17
18[features]
19vendored = ['openssl-src']
20unstable_boringssl = ['bssl-sys']
21aws-lc = ['dep:aws-lc-sys']
22
23[dependencies]
24libc = "0.2"
25bssl-sys = { version = "0.1.0", optional = true }
26aws-lc-sys = { version = "0.27", features = ["ssl"], optional = true }
27
28[build-dependencies]
29bindgen = { version = "0.69.0", optional = true, features = ["experimental"] }
30cc = "1.0.61"
31openssl-src = { version = "300.2.0", optional = true, features = ["legacy"] }
32pkg-config = "0.3.9"
33vcpkg = "0.2.8"
34
35# We don't actually use metadeps for annoying reasons but this is still here for tooling
36[package.metadata.pkg-config]
37openssl = "1.0.1"
38