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/spawned-concurrency-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
workflow_dispatch:

jobs:
crates-publish:
runs-on: ubuntu-latest
environment: crates-release-prod
steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2

- name: Set Up Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 #1.10.1
with:
toolchain: stable
override: true

- name: Publish Crate
run: cargo publish --package spawned-concurrency --token ${{ secrets.CRATES_IO_TOKEN }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to set a CRATES_IO_TOKEN

Copy link
Contributor

Choose a reason for hiding this comment

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

@klaus993 please set the LambdaClass one here.

19 changes: 19 additions & 0 deletions .github/workflows/spawned-rt-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
workflow_dispatch:

jobs:
crates-publish:
runs-on: ubuntu-latest
environment: crates-release-prod
steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2

- name: Set Up Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 #1.10.1
with:
toolchain: stable
override: true

- name: Publish Crate
run: cargo publish --package spawned-rt --token ${{ secrets.CRATES_IO_TOKEN }}
4 changes: 2 additions & 2 deletions Cargo.lock

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

11 changes: 9 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[workspace]
resolver = "3"

members = [
"rt",
"concurrency",
"examples/bank",
"examples/bank_threads",
"examples/name_server",
Expand All @@ -14,7 +16,12 @@ members = [
]

[workspace.dependencies]
spawned-rt = { version = "0.1.0", path = "rt" }
spawned-concurrency = { version = "0.1.0", path = "concurrency" }
spawned-rt = { path = "rt" }
spawned-concurrency = { path = "concurrency" }
tracing = { version = "0.1.41", features = ["log"] }
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }

[workspace.package]
version = "0.1.3"
license = "MIT"
edition = "2021"
6 changes: 4 additions & 2 deletions concurrency/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "spawned-concurrency"
version = "0.1.0"
edition = "2021"
description = "Spawned Concurrency"
version.workspace = true
edition.workspace = true
license.workspace = true

[dependencies]
spawned-rt = { workspace = true }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This needs to change, we need to import from crates.io instead of locally, as it's forbidden to publish with a workspace dependency.

Expand Down
6 changes: 4 additions & 2 deletions rt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "spawned-rt"
version = "0.1.0"
edition = "2021"
description = "Spawned Runtime"
version.workspace = true
edition.workspace = true
license.workspace = true

[dependencies]
tokio = { version = "1", features = ["full"] }
Expand Down