File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ rust-version = "1.71.0"
11
11
12
12
[lib ]
13
13
name = " rustls_platform_verifier"
14
- # Note: The `cdylib` specification is for testing only. The shared library
15
- # is not expected to have a stable API.
16
- crate-type = [" cdylib" , " rlib" ]
17
14
18
15
[features ]
16
+ # Note: The `cdylib` specification is for testing only. The shared library
17
+ # is not expected to have a stable API.
18
+ cdylib = []
19
19
# Enables a C interface to use for testing where `cargo` can't be used.
20
20
# This feature is not stable, nor is the interface exported when it is enabled.
21
21
# Do not rely on this or use it in production.
22
- ffi-testing = [" android_logger" , " rustls/ring" ]
22
+ ffi-testing = [" cdylib " , " android_logger" , " rustls/ring" ]
23
23
# Enables APIs that expose lower-level verifier types for debugging purposes.
24
24
dbg = []
25
25
# Enables `log::debug` base64-encoded logging of all end-entity certificates processed
Original file line number Diff line number Diff line change 2
2
#![ doc = include_str ! ( "../README.md" ) ]
3
3
#![ warn( missing_docs) ]
4
4
5
+ #![ cfg_attr( feature = "cdylib" , crate_type = "cdylib" ) ]
6
+
5
7
use std:: sync:: Arc ;
6
8
7
9
#[ cfg( feature = "dbg" ) ]
You can’t perform that action at this time.
0 commit comments