Skip to content

Commit

Permalink
requires stable rust v1.77
Browse files Browse the repository at this point in the history
  • Loading branch information
Congyuwang committed Mar 21, 2024
1 parent 9a19aa2 commit 120382d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,30 @@ name: Tests

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

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: rust-toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- uses: actions/checkout@v3
- name: rust-toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt, clippy
- name: Format check
run: cargo fmt --check
- name: Clippy
run: cargo clippy -- -D warnings
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --release
- name: Format check
run: cargo fmt --check
- name: Clippy
run: cargo clippy -- -D warnings
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --release
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Intrusive Circular Linked List in Rust

## Minimal Supported Rust Version (MSRV)

v1.77.0 since it requires `offset_of!` macro which is stablized in v1.77.0.

## Introduction

The `cdlist` crate implements a non-thread-safe, intrusive, doubly-linked list in Rust. Its primary characteristic is the inclusion of link pointers within the data structures themselves, rather than in separate node wrappers. This approach enhances memory and performance efficiency but requires careful handling of ownership and safety, which this crate has taken care of.
Expand Down
3 changes: 0 additions & 3 deletions rust-toolchain.toml

This file was deleted.

0 comments on commit 120382d

Please sign in to comment.