Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
bed6dbd
Fix sync reference with_metadata
Caellian Sep 21, 2023
311709f
WIP: Separate implementations
Caellian Sep 23, 2023
93e6ef5
Add clear and release_region methods.
Caellian Sep 23, 2023
c8b0222
Remove unused code from common
Caellian Sep 23, 2023
9dde30c
Feature gate sync/unsafe related code
Caellian Sep 23, 2023
28503c6
Cleanup and improve docs
Caellian Sep 23, 2023
340e219
Add support for custom allocators
Caellian Sep 24, 2023
0ae9865
Improve crate errors
Caellian Sep 25, 2023
1f2a167
Fix overlaps in ByteRange
Caellian Sep 25, 2023
5b7eabc
Remove resize in favor of grow_to.
Caellian Sep 25, 2023
02a3629
Remove AllocationTracker errors.
Caellian Sep 25, 2023
11d6e51
Remove separate capacity as it's bound to base
Caellian Sep 25, 2023
a9901b6
Simplified common code
Caellian Sep 25, 2023
36704ec
Apply clippy suggestions
Caellian Sep 25, 2023
29701d5
Improve AllocationTracker
Caellian Sep 26, 2023
3469cfc
Move SyncContiguousEntryRef into sync submodule
Caellian Sep 27, 2023
cdecf17
WIP: sync code generation macros
Caellian Oct 16, 2023
1073272
Remove sync code.
Caellian Oct 19, 2023
4a02aab
Ready 0.5 release
Caellian Mar 22, 2024
11cc569
Fix doc tests
Caellian Mar 22, 2024
d964574
Add missing null checks in ManageMemory impl
Caellian Mar 22, 2024
bcd5dd7
Guard unsafe impl example
Caellian Mar 22, 2024
4203cc2
Fix MIRI errors
Caellian Mar 22, 2024
f0328d6
Improve tests
Caellian Nov 6, 2024
cccadb2
Update cargo-semver-checks
Caellian Nov 6, 2024
8cc625e
Use allocator-api2 as polyfill for allocator API
Caellian Jun 22, 2025
892b470
Fix push_raw unwrapping None address for ZSTs
Caellian Jun 22, 2025
4d0a6b2
Update semver CI workflow
Caellian Jun 22, 2025
3b22d6d
Cleanup layout.typ
Caellian Jun 22, 2025
db35a8c
Fix CI
Caellian Jun 22, 2025
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
87 changes: 87 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: ci

on:
pull_request:
push:

env:
CARGO_TERM_COLOR: always

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: ["stable", "nightly"]
std: [true, false]
debug: [true, false]
unsafe_impl: [true, false]
ptr_metadata: [true, false]
error_in_core: [true, false]
exclude:
- rust: stable
ptr_metadata: true
- rust: stable
error_in_core: true
# no point in testing nightly with unstable features disabled
- rust: nightly
ptr_metadata: false
- rust: nightly
error_in_core: false
runs-on: ${{ matrix.os }}
name: |
test - ${{ matrix.os }}; ${{ matrix.rust }} rust; features: {
std: ${{ matrix.std }},
debug: ${{ matrix.debug }},
unsafe_impl: ${{ matrix.unsafe_impl }},
ptr_metadata: ${{ matrix.ptr_metadata }},
error_in_core: ${{ matrix.error_in_core }}
}
env:
RUST_BACKTRACE: 1 # Emit backtraces on panics.
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
- if: matrix.std == true
run: echo "FEATURES=$FEATURES,std" >> $GITHUB_ENV
- if: matrix.debug == true
run: echo "FEATURES=$FEATURES,debug" >> $GITHUB_ENV
- if: matrix.unsafe_impl == true
run: echo "FEATURES=$FEATURES,unsafe_impl" >> $GITHUB_ENV
- if: matrix.ptr_metadata == true
run: echo "FEATURES=$FEATURES,ptr_metadata" >> $GITHUB_ENV
- if: matrix.error_in_core == true
run: echo "FEATURES=$FEATURES,error_in_core" >> $GITHUB_ENV
- run: cargo test --no-default-features --features=${{ env.FEATURES }} --verbose

lint:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: clippy
override: true
- run: cargo clippy --all-features -- -D warnings # Deny clippy warnings

miri:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- name: Install Miri
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: miri
override: true
- run: cargo miri setup
- run: cargo miri test --all-features --verbose
19 changes: 0 additions & 19 deletions .github/workflows/clippy.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/rust.yml

This file was deleted.

10 changes: 3 additions & 7 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- run: rustup update nightly && rustup default nightly
- name: Install cargo-semver-check from crates.io
uses: baptiste0928/cargo-install@v2
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
crate: cargo-semver-checks
version: "^0.23"
- name: Run semver check
run: cargo semver-checks check-release
toolchain: nightly
249 changes: 0 additions & 249 deletions .vscode/launch.json

This file was deleted.

Loading
Loading