refslots 0.1.0

Reference-counted handles to slots in a slotmap
Documentation
derive_order := "Debug,Default,Clone,Copy,PartialEq,Eq" + \
    ",PartialOrd,Ord,Hash,Serialize,Deserialize"

[default]
check:
    cargo clippy --all-targets --features="recorder"
    cargo clippy --all-targets

test *args:
    cargo test --lib {{ args }}

stress:
    cargo test --test="stress"
    cargo test --test="stress" --features="recorder"

clean:
    rm -rf target/

format: sort-derives
    cargo +nightly fmt

[private]
@sort-derives:
    echo sorting derives...
    fd . --type=f --extension=rs --exec \
        cargo sort-derives --order={{ derive_order }} --path