Skip to content
Merged
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
15 changes: 15 additions & 0 deletions .github/workflows/cd-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Continuous delivery - test

on:
pull_request:
# opened, reopenened, synchronize are the default types for pull_request
# labeled, unlabeled ensure this check is also run if a label is added or removed
types: [opened, reopened, synchronize, labeled, unlabeled]

jobs:
test-publish:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-publish-check') }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- run: cargo publish --dry-run --package trussed-usbip
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

## Unreleased

-

[All Changes](https://github.com/trussed-dev/pc-usbip-runner/compare/v0.1.0-rc.1...HEAD)

## [v0.1.0-rc.1](https://github.com/trussed-dev/pc-usbip-runner/releases/tag/v0.1.0-rc.1) (2026-06-09)

Initial release for `trussed` v0.2.0-rc.1.
33 changes: 13 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "trussed-usbip"
version = "0.0.1"
authors = ["Nicolas Stalder <n@stalder.io>", "Conor Patrick <conor@solokeys.com>", "Szczepan Zalega <szczepan@nitrokey.com>"]
version = "0.1.0-rc.1"
authors = ["The Trussed developers", "Nicolas Stalder <n@stalder.io>", "Conor Patrick <conor@solokeys.com>", "Szczepan Zalega <szczepan@nitrokey.com>"]
edition = "2021"

[dependencies]
Expand All @@ -10,7 +10,7 @@ littlefs2-core = "0.1"
log = { version = "0.4.14", default-features = false }
rand_chacha = { version = "0.3", default-features = false }
rand_core = { version = "0.6", features = ["getrandom"] }
trussed = { version = "0.1", default-features = false, features = ["log-all", "virt"] }
trussed = { version = "=0.2.0-rc.1", default-features = false, features = ["log-all", "virt"] }
usb-device = { version = "0.2.7", default-features = false }
usbip-device = "0.1.5"

Expand All @@ -29,12 +29,13 @@ delog = { version = "0.1.6", features = ["std-log"] }
heapless-bytes = "0.5"
littlefs2 = "0.7"
pretty_env_logger = "0.4.0"
trussed = "0.1"
trussed = "=0.2.0-rc.1"
trussed-core = "0.2"

[features]
default = ["ctaphid", "ccid"]
ctaphid = ["ctaphid-dispatch", "usbd-ctaphid"]
ccid = ["apdu-dispatch", "usbd-ccid"]

[patch.crates-io]
trussed = { git = "https://github.com/trussed-dev/trussed.git", rev = "0f8df68be879acdde1f8cf428c11e5d29692a47b" }
[package.metadata.docs.rs]
all-features = true
4 changes: 2 additions & 2 deletions examples/dummy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ use littlefs2::{
use littlefs2_core::{path, DynFilesystem};
use trussed::{
backend::{CoreOnly, NoId},
client::Client,
pipe::{ServiceEndpoint, TrussedChannel},
service::Service,
syscall,
types::{CoreContext, NoData},
Client,
};
use trussed_core::syscall;
use trussed_usbip::{Platform, Store, Syscall};

/// USP/IP based virtualization a Trussed device.
Expand Down
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "ccid")]
mod ccid;
#[cfg(feature = "ctaphid")]
Expand Down Expand Up @@ -256,7 +258,7 @@ impl<D: Dispatch> Builder<D> {
#[derive(Clone)]
pub struct Syscall(Sender<()>);

impl trussed::client::Syscall for Syscall {
impl trussed::platform::Syscall for Syscall {
fn syscall(&mut self) {
log::debug!("syscall");
self.0.send(()).ok();
Expand Down
Loading