Commit 78214b6
committed
chore(cable): drop dead unsafe Send/Sync, fix top-of-README table
CableQrCodeDevice's fields (NonZeroScalar, ByteArray, Option<Arc<dyn
CableKnownDeviceInfoStore>>) all auto-derive Send + Sync, so the
hand-rolled unsafe impls are dead. Verified compile-time via a
T: Send + Sync assertion in the test module; downstream consumers
(credentialsd spawns CableQrCodeDevice across tokio::spawn) keep working.
Also brings the top-of-README transport-support table in line with the
example table further down — caBLE v2 plus CTAP 2.3 hybrid.1 parent 0c42f4e commit 78214b6
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | 234 | | |
239 | 235 | | |
240 | 236 | | |
| |||
302 | 298 | | |
303 | 299 | | |
304 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
305 | 308 | | |
306 | 309 | | |
307 | 310 | | |
| |||
0 commit comments