Commit 7dd1166
feat: remove direct OpenSSL dependency, use OS-native TLS
Remove the explicit openssl crate dependency and actix-web's openssl
feature. TLS is now controlled via two mutually exclusive features:
- native-tls (default): uses the OS-native TLS stack (OpenSSL on Linux,
Secure Transport on macOS, SChannel on Windows)
- rustls: pure-Rust TLS, used for musl targets that lack a system TLS
This eliminates the vendored feature, the vcpkg/OpenSSL setup in CI for
Windows builds, and reduces the dependency tree significantly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 669bd1a commit 7dd1166
4 files changed
Lines changed: 56 additions & 308 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 46 | | |
51 | 47 | | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 52 | | |
75 | 53 | | |
76 | 54 | | |
| |||
85 | 63 | | |
86 | 64 | | |
87 | 65 | | |
| 66 | + | |
88 | 67 | | |
89 | 68 | | |
90 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | | - | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | | - | |
95 | 93 | | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 97 | | |
103 | 98 | | |
104 | 99 | | |
| |||
107 | 102 | | |
108 | 103 | | |
109 | 104 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 105 | | |
114 | 106 | | |
115 | 107 | | |
| |||
118 | 110 | | |
119 | 111 | | |
120 | 112 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | 113 | | |
140 | 114 | | |
141 | 115 | | |
| |||
0 commit comments