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
19 changes: 19 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Continuous delivery - crates.io

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
environment: crates.io
permissions:
id-token: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18 # v1.0.5
id: auth
- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

-

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

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

Initial release for `trussed` v0.2.0-rc.1.
Initial release for `trussed` v0.2.0.
14 changes: 7 additions & 7 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trussed-usbip"
version = "0.1.0-rc.1"
version = "0.1.0"
description = "USBIP runner for trussed applications"
authors = ["The Trussed developers", "Nicolas Stalder <n@stalder.io>", "Conor Patrick <conor@solokeys.com>", "Szczepan Zalega <szczepan@nitrokey.com>"]
repository = "https://github.com/trussed-dev/pc-usbip-runner"
Expand All @@ -13,7 +13,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.2.0-rc.1", default-features = false, features = ["log-all", "virt"] }
trussed = { version = "0.2", default-features = false, features = ["log-all", "virt"] }
usb-device = { version = "0.2.7", default-features = false }
usbip-device = "0.1.5"

Expand All @@ -30,9 +30,9 @@ clap = { version = "3.0.0", features = ["derive"] }
clap-num = "1.0.0"
delog = { version = "0.1.6", features = ["std-log"] }
heapless-bytes = "0.5"
littlefs2 = "0.7"
littlefs2 = "0.8"
pretty_env_logger = "0.4.0"
trussed = "=0.2.0-rc.1"
trussed = "0.2"
trussed-core = "0.2"

[features]
Expand Down
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ impl store::Store for Store {
}
}

unsafe impl Send for Store {}

pub struct Platform {
rng: ChaCha8Rng,
store: Store,
Expand Down Expand Up @@ -144,10 +146,12 @@ pub struct Runner<D, A> {
_marker: PhantomData<A>,
}

impl<'interrupt, D: Dispatch, A: Apps<'interrupt, D>> Runner<D, A>
impl<'interrupt, D, A> Runner<D, A>
where
D: Dispatch + Send,
D::BackendId: Send + Sync,
D::Context: Send + Sync,
A: Apps<'interrupt, D>,
{
pub fn builder(options: Options) -> Builder {
Builder::new(options)
Expand Down
Loading