Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Update apt cache
run: sudo apt-get update
- name: Install system dependencies
run: sudo apt-get install libudev-dev libdbus-1-dev libsodium-dev
run: sudo apt-get install libhidapi-dev libudev-dev libdbus-1-dev libsodium-dev
- name: Build
run: cargo build
- name: Run tests
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ $ cargo run --example webauthn_cable
$ cargo run --example u2f_hid
```

## Package Requirements

- libhidapi-dev/hidapi-devel

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add other dependencies here, (libudev, libdbus-1, libsodium), but we can do as a separate PR.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot can you take a look (also fix the build issue if you can see the error and test).


## Contributing

We welcome contributions!
Expand Down
2 changes: 1 addition & 1 deletion libwebauthn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ curve25519-dalek = "4.1.3"
hex = "0.4.3"
mockall = "0.13.1"
hidapi = { version = "2.4.1", default-features = false, features = [
"linux-static-hidraw",
"linux-shared-hidraw",
] }
bitflags = "2.4.1"
rand = "0.8.5"
Expand Down
Loading