Skip to content

Commit 7c5b6c7

Browse files
authored
v0.2.7 (#90)
* v0.2.7 Signed-off-by: FL03 <jo3mccain@icloud.com> * update Signed-off-by: FL03 <jo3mccain@icloud.com> * update rust.yml Signed-off-by: FL03 <jo3mccain@icloud.com> * update rust.yml Signed-off-by: FL03 <jo3mccain@icloud.com> * update Signed-off-by: FL03 <jo3mccain@icloud.com> * update core_error.rs Signed-off-by: FL03 <jo3mccain@icloud.com> * update rust.yml Signed-off-by: FL03 <jo3mccain@icloud.com> * update casing.rs Signed-off-by: FL03 <jo3mccain@icloud.com> * update Signed-off-by: FL03 <jo3mccain@icloud.com> * update Signed-off-by: FL03 <jo3mccain@icloud.com> * update Signed-off-by: FL03 <jo3mccain@icloud.com> * update Signed-off-by: FL03 <jo3mccain@icloud.com> * update Signed-off-by: FL03 <jo3mccain@icloud.com> * update Signed-off-by: FL03 <jo3mccain@icloud.com> * update Cargo.toml Signed-off-by: FL03 <jo3mccain@icloud.com> * update rust.yml Signed-off-by: FL03 <jo3mccain@icloud.com> * update rust.yml Signed-off-by: FL03 <jo3mccain@icloud.com> --------- Signed-off-by: FL03 <jo3mccain@icloud.com>
1 parent 31a7a82 commit 7c5b6c7

44 files changed

Lines changed: 919 additions & 781 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/rust.yml

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
pull_request:
1313
branches: [ main, master ]
1414
types: [ opened, synchronize, reopened ]
15+
paths:
16+
- '**/workflows/rust.yml'
17+
- '**/*.rs'
18+
- '**/Cargo.*'
1519
push:
1620
branches: [ main, master ]
1721
tags: [ latest, v*, "*-nightly" ]
@@ -28,7 +32,8 @@ jobs:
2832
strategy:
2933
fail-fast: false
3034
matrix:
31-
os: [ ubuntu-latest, macos-latest, windows-latest ]
35+
os: [ ubuntu-latest ] # [ ubuntu-latest, macos-latest, windows-latest ]
36+
target: [ x86_64-unknown-linux-gnu, wasm32-wasip1, wasm32-wasip2 ]
3237
runs-on: ${{ matrix.os }}
3338
steps:
3439
-
@@ -40,16 +45,18 @@ jobs:
4045
with:
4146
cache-key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
4247
cache-workspaces: true
48+
target: ${{ matrix.target }}
4349
-
4450
name: Build
45-
run: cargo build --locked --release --workspace --all-features
51+
run: cargo build -r -v --workspace --locked --features full --target ${{ matrix.target }}
4652
test:
4753
needs: build
4854
strategy:
4955
fail-fast: false
5056
matrix:
57+
os: [ ubuntu-latest ]
5158
toolchain: [ stable, nightly ]
52-
runs-on: ubuntu-latest
59+
runs-on: ${{ matrix.os }}
5360
steps:
5461
-
5562
name: Checkout
@@ -63,19 +70,32 @@ jobs:
6370
toolchain: ${{ matrix.toolchain }}
6471
override: true
6572
-
66-
name: Test (all-features)
67-
run: cargo test --locked --release --workspace --all-features
73+
name: Test (default)
74+
run: cargo t -q -r --workspace --locked
6875
-
69-
continue-on-error: true
76+
name: Test (full)
77+
run: cargo t -q -r --workspace --locked --features full
78+
-
79+
name: Test (alloc)
7080
if: matrix.toolchain == 'nightly'
81+
continue-on-error: true
7182
env:
7283
RUSTFLAGS: "-C panic=abort -Z panic_abort_tests"
84+
run: cargo t -q -r --workspace --locked --no-default-features --features alloc
85+
-
7386
name: Test (no_std)
74-
run: cargo test --locked --release --workspace --no-default-features
87+
continue-on-error: true
88+
if: matrix.toolchain == 'nightly'
89+
env:
90+
RUSTFLAGS: "-C panic=abort -Z panic_abort_tests"
91+
run: cargo t -q -r --workspace --locked --no-default-features
7592
benchmark:
7693
needs: build
77-
if: github.event_name == 'push' && github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags')
78-
runs-on: ubuntu-latest
94+
strategy:
95+
fail-fast: false
96+
matrix:
97+
os: [ ubuntu-latest ]
98+
runs-on: ${{ matrix.os }}
7999
steps:
80100
-
81101
name: Checkout
@@ -88,4 +108,4 @@ jobs:
88108
cache-workspaces: true
89109
-
90110
name: Benchmark
91-
run: cargo bench --verbose --workspace --features full
111+
run: cargo bench --verbose --workspace --features full

.github/workflows/sample.yml

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

Cargo.lock

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

Cargo.toml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,24 @@ license = "Apache-2.0"
2828
readme = "README.md"
2929
repository = "https://github.com/scattered-systems/scsys.git"
3030
rust-version = "1.85.0"
31-
version = "0.2.6"
31+
version = "0.2.7"
3232

3333
[workspace.dependencies]
3434
# sdk
35-
scsys = { default-features = false, path = "scsys", version = "0.2.6" }
36-
scsys-core = { default-features = false, path = "core", version = "0.2.6" }
37-
scsys-config = { default-features = false, path = "config", version = "0.2.6" }
38-
scsys-crypto = { default-features = false, path = "crypto", version = "0.2.6" }
39-
scsys-derive = { default-features = false, path = "derive", version = "0.2.6" }
40-
scsys-macros = { default-features = false, path = "macros", version = "0.2.6" }
41-
scsys-traits = { default-features = false, path = "traits", version = "0.2.6" }
42-
scsys-util = { default-features = false, path = "utils", version = "0.2.6" }
35+
scsys = { default-features = false, path = "scsys", version = "0.2.7" }
36+
scsys-core = { default-features = false, path = "core", version = "0.2.7" }
37+
scsys-config = { default-features = false, path = "config", version = "0.2.7" }
38+
scsys-crypto = { default-features = false, path = "crypto", version = "0.2.7" }
39+
scsys-derive = { default-features = false, path = "derive", version = "0.2.7" }
40+
scsys-macros = { default-features = false, path = "macros", version = "0.2.7" }
41+
scsys-traits = { default-features = false, path = "traits", version = "0.2.7" }
42+
scsys-util = { default-features = false, path = "utils", version = "0.2.7" }
4343

4444
# async
4545
futures = { default-features = false, version = "0.3" }
4646
tokio = { default-features = false, version = "1" }
47+
# benchmarking
48+
criterion = { version = "0.6" }
4749
# concurrency & parallelism
4850
crossbeam = { default-features = false, version = "0.8" }
4951
rayon = { default-features = false, version = "1" }

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# scsys
22

3-
[![license](https://img.shields.io/crates/l/scsys?style=for-the-badge)](https://crates.io/crates/scsys)
4-
53
[![crates.io](https://img.shields.io/crates/v/scsys?style=for-the-badge&logo=rust)](https://crates.io/crates/scsys)
6-
[![docs.rs](https://img.shields.io/docsrs/scsys?style=for-the-badge&logo=rust)](https://docs.rs/scsys)
4+
[![docs.rs](https://img.shields.io/docsrs/scsys?style=for-the-badge&logo=docs.rs)](https://docs.rs/scsys)
5+
![GitHub License](https://img.shields.io/github/license/scattered-systems/scsys?style=for-the-badge&logo=github&link=https%3A%2F%2Fgithub.com%2Fscattered-systems%2Fscsys%2Fblob%2Fmain%2FLICENSE)
76

87
***
98

0 commit comments

Comments
 (0)