|
1 |
| -[package] |
2 |
| -name = "rustls-platform-verifier" |
3 |
| -version = "0.1.0" |
4 |
| -authors = [ "ComplexSpaces <[email protected]>", "1Password"] |
5 |
| -description = "rustls-platform-verifier supports verifying TLS certificates in rustls with the operating system verifier" |
6 |
| -keywords = ["tls", "certificate", "verification", "os", "native"] |
7 |
| -repository = "https://github.com/1Password/rustls-platform-verifier" |
8 |
| -license = "MIT OR Apache-2.0" |
9 |
| -edition = "2021" |
10 |
| -rust-version = "1.64.0" |
| 1 | +[workspace] |
| 2 | +members = ["rustls-platform-verifier"] |
11 | 3 |
|
12 |
| -exclude = [ |
13 |
| - "android/.run", |
14 |
| - "android/gradle/**", |
15 |
| - "android/gradle*", |
16 |
| - "android/settings.gradle", |
17 |
| - "android/src/androidTest", |
18 |
| -] |
19 |
| - |
20 |
| -[lib] |
21 |
| -name = "rustls_platform_verifier" |
22 |
| -# Note: The `cdylib` specification is for testing only. The shared library |
23 |
| -# is not expected to have a stable API. |
24 |
| -crate-type = ["cdylib", "rlib"] |
25 |
| - |
26 |
| -[features] |
27 |
| -# Enables a C interface to use for testing where `cargo` can't be used. |
28 |
| -# This feature is not stable, nor is the interface exported when it is enabled. |
29 |
| -# Do not rely on this or use it in production. |
30 |
| -ffi-testing = ["android_logger"] |
31 |
| -# Enables APIs that expose lower-level verifier types for debugging purposes. |
32 |
| -dbg = [] |
33 |
| -# Enables `log::debug` base64-encoded logging of all end-entity certificates processed |
34 |
| -# by the platform's verifier. |
35 |
| -cert-logging = ["base64"] |
36 |
| -# Used for nicely documenting the Android-specific APIs. This feature is not stable. |
37 |
| -docsrs = ["jni", "once_cell"] |
38 |
| - |
39 |
| -[dependencies] |
40 |
| -rustls = { version = "0.21", features = ["dangerous_configuration", "tls12", "logging"] } |
41 |
| -log = { version = "0.4" } |
42 |
| -base64 = { version = "0.21", optional = true } # Only used when the `cert-logging` feature is enabled. |
43 |
| -jni = { version = "0.19", default-features = false, optional = true } # Only used during doc generation |
44 |
| -once_cell = { version = "1.9", optional = true } # Only used during doc generation. |
45 |
| - |
46 |
| -[target.'cfg(target_os = "linux")'.dependencies] |
47 |
| -rustls-native-certs = "0.6" |
48 |
| -once_cell = "1.9" |
49 |
| -webpki = { package = "rustls-webpki", version = "0.101", features = ["alloc", "std"] } |
50 |
| - |
51 |
| -[target.'cfg(target_os = "android")'.dependencies] |
52 |
| -jni = { version = "0.19", default-features = false } |
53 |
| -webpki = { package = "rustls-webpki", version = "0.101", features = ["alloc", "std"] } |
54 |
| -once_cell = "1.9" |
55 |
| -android_logger = { version = "0.13", optional = true } # Only used during testing. |
56 |
| - |
57 |
| -[target.'cfg(target_arch = "wasm32")'.dependencies] |
58 |
| -once_cell = "1.9" |
59 |
| -webpki-roots = "0.25" |
60 |
| - |
61 |
| -[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] |
62 |
| -core-foundation = "0.9" |
63 |
| -core-foundation-sys = "0.8" |
64 |
| -security-framework = { version = "2.6", features = ["OSX_10_14"] } |
65 |
| -security-framework-sys = { version = "2.4", features = ["OSX_10_14"] } |
66 |
| - |
67 |
| -[target.'cfg(windows)'.dependencies] |
68 |
| -winapi = { version = "0.3", features = ["wincrypt", "winerror"] } |
69 |
| - |
70 |
| -[dev-dependencies] |
71 |
| -tokio = { version = "1.5", features = ["macros", "rt-multi-thread"] } |
72 |
| -reqwest = { version = "0.11.18", default-features = false, features = ["rustls-tls-manual-roots"] } |
73 |
| - |
74 |
| -[package.metadata.docs.rs] |
75 |
| -rustdoc-args = ["--cfg", "docsrs"] |
76 |
| -features = ["dbg", "docsrs"] |
| 4 | +resolver = "2" |
0 commit comments