Skip to content

Commit ba7b618

Browse files
refactor(cable): rename webauthn_cable example to webauthn_cable_wss
The 'cable' name is reserved for an upcoming example that exercises both transports.
1 parent 9c4b96f commit ba7b618

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ WebAuthn examples consume and emit JSON per the [WebAuthn IDL][webauthn].
7373
| **USB (HID)** | `cargo run --example u2f_hid` | `cargo run --example webauthn_hid` |
7474
| **Bluetooth (BLE)** | `cargo run --example u2f_ble` ||
7575
| **NFC** [^nfc] | `cargo run --features nfc-backend-pcsc --example u2f_nfc`<br>`cargo run --features nfc-backend-libnfc --example u2f_nfc` | `cargo run --features nfc-backend-pcsc --example webauthn_nfc`<br>`cargo run --features nfc-backend-libnfc --example webauthn_nfc` |
76-
| **Hybrid (caBLE v2)** || `cargo run --example webauthn_cable` |
76+
| **Hybrid (caBLE v2)** || `cargo run --example webauthn_cable_wss` |
7777

7878
[^nfc]: `nfc-backend-pcsc` is pure userspace and recommended on most systems. `nfc-backend-libnfc` requires the `libnfc` system library. Both can be enabled together; the first FIDO device found by either backend is used.
7979

libwebauthn/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ path = "examples/ceremony/webauthn_nfc.rs"
123123
required-features = ["nfc"]
124124

125125
[[example]]
126-
name = "webauthn_cable"
127-
path = "examples/ceremony/webauthn_cable.rs"
126+
name = "webauthn_cable_wss"
127+
path = "examples/ceremony/webauthn_cable_wss.rs"
128128

129129
[[example]]
130130
name = "webauthn_extensions_hid"
File renamed without changes.

0 commit comments

Comments
 (0)