buddy-core 0.1.1

A generic, [no_std], allocation-free Binary Buddy Allocator engine for kernels and embedded systems.
Documentation
name: Rust CI

on:
  push:
    branches: [ "main", "dev", "feature/**", "impl/**" ]
  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