We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea8c871 commit 76542bbCopy full SHA for 76542bb
Cargo.toml
@@ -20,6 +20,7 @@ rust-version = "1.57"
20
# libraries.
21
no_log_capture = []
22
read_buf = ["rustls/read_buf"]
23
+capi = []
24
25
[dependencies]
26
# Keep in sync with RUSTLS_CRATE_VERSION in build.rs
@@ -34,3 +35,16 @@ num_enum = "0.5.10"
34
35
[lib]
36
name = "rustls_ffi"
37
crate-type = ["lib", "staticlib"]
38
+
39
40
+[package.metadata.capi.header]
41
+name = "rustls"
42
+subdirectory = false
43
44
+[package.metadata.capi.library]
45
46
+rustflags = "-Cmetadata=rustls-ffi"
47
48
+[package.metadata.capi.pkg_config]
49
50
+filename = "rustls"
0 commit comments