attachable-slab-allocator 0.1.0

A high-performance, $O(1)$, Master-Slave slab allocator designed for `no_std` environments, kernels, and embedded systems. This library provides fixed-size memory management with RAII safety while remaining completely agnostic of the underlying memory provider.
Documentation
name: Rust CI

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4

    - name: Set up Rust toolchain
      uses: dtolnay/rust-toolchain@nightly
      with:
        components: rustfmt, clippy

    - name: Check formatting
      run: cargo fmt --all -- --check
    
    - name: Lint with Clippy
      run: cargo clippy -- -D warnings
        
    - name: Build
      run: cargo build --verbose --lib
    - name: Run tests
      run: cargo test --verbose --lib

    - name: Run benchmarks
      run: cargo bench --verbose