Skip to content

Commit bdf2823

Browse files
Prepare releases for libwebauthn, solo-virtual-key (#133)
Changes: * Rename solo to solo-virtual-key, prepare manifest for crates.io release * Update version for libwebauthn and push tag Testing: ``` $ cargo publish --dry-run -p solo-virtual-key ``` Above succeeds. ``` $ cargo publish --dry-run -p libwebauthn ``` Fails as solo-virtual-key has not yet been updated/published. ``` Caused by: failed to select a version for the requirement `solo-virtual-key = "^0.2"` candidate versions found which didn't match: 0.1.0 location searched: crates.io index required by package `libwebauthn v0.2.2 (/home/afresta/workspace/libwebauthn/libwebauthn)` ```
1 parent 34f8a59 commit bdf2823

9 files changed

Lines changed: 28 additions & 25 deletions

File tree

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "solo/src/ext"]
2-
path = solo/src/ext
1+
[submodule "solo-virtual-key/src/ext"]
2+
path = solo-virtual-key/src/ext
33
url = https://github.com/AlfioEmanueleFresta/solo.git

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
resolver = "2"
44
members = [
55
"libwebauthn",
6-
"solo",
6+
"solo-virtual-key",
77
]

libwebauthn/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "libwebauthn"
33
description = "FIDO2 (WebAuthn) and FIDO U2F platform library for Linux written in Rust "
4-
version = "0.2.1"
4+
version = "0.2.2"
55
authors = ["Alfie Fresta <alfie.fresta@gmail.com>"]
66
edition = "2021"
77
license-file = "../COPYING"
@@ -15,7 +15,7 @@ path = "src/lib.rs"
1515
[features]
1616
default = []
1717
hid-device-tests = ["virtual-hid-device"]
18-
virtual-hid-device = ["solo"]
18+
virtual-hid-device = ["solo-virtual-key"]
1919

2020
[dependencies]
2121
base64-url = "3.0.0"
@@ -54,7 +54,7 @@ aes = "0.8.2"
5454
hmac = "0.12.1"
5555
cbc = { version = "0.1", features = ["alloc"] }
5656
hkdf = "0.12"
57-
solo = { path = "../solo", optional = true }
57+
solo-virtual-key = { version = "0.2", path = "../solo-virtual-key", optional = true }
5858
text_io = "0.1"
5959
tungstenite = { version = "0.26.2" }
6060
tokio-tungstenite = { version = "0.26", features = [

solo-virtual-key/Cargo.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[package]
2+
name = "solo-virtual-key"
3+
version = "0.2.0"
4+
edition = "2018"
5+
description = "Rust wrapper for the virtual U2F key from SoloKeys' solo1 project, intended for testing U2F applications "
6+
authors = ["Alfie Fresta <alfie.fresta@gmail.com>"]
7+
license-file = "src/ext/LICENSE"
8+
homepage = "https://github.com/linux-credentials"
9+
repository = "https://github.com/linux-credentials/libwebauthn"
10+
11+
[lib]
12+
name = "solo"
13+
path = "src/lib.rs"
14+
15+
[dependencies]
16+
log = "0.4"
17+
env_logger = "0.11.8"
18+
tokio = {version = "1.45", features = ["process", "io-util", "rt"]}
File renamed without changes.

solo/Cargo.toml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)