tokio_worker 0.2.0

Asynchronous, message-driven workers for Tokio applications
Documentation
set quiet
set shell := ["/usr/bin/env", "bash", "-c"]

JUST_EXECUTABLE := "just -u -f " + justfile()
header := "Available tasks:\n"

_default:
    @{{JUST_EXECUTABLE}} --list-heading "{{header}}" --list

# Run the CI
@ci: && examples msrv
    cargo build -q
    cargo fmt -- --check
    cargo clippy -- -D warnings
    cargo build --examples
    cargo test --all-targets
    cargo test --doc
    cargo doc --no-deps
    RUST_LOG=error taplo fmt --check

# Run the examples
@examples:
    cargo run --example simple
    cargo run --example simple_arc

# Check that the current MSRV is correct
@msrv:
    nix run .#msrv