swaits
95891c2403
chore: repoint remaining links and host-specific tooling at git.swaits.com
...
CI / Lint () (push) Canceled after 0s
CI / Lint (--all-features) (push) Canceled after 0s
CI / Lint (--no-default-features) (push) Canceled after 0s
CI / MSRV Verification () (push) Canceled after 0s
CI / MSRV Verification (--all-features) (push) Canceled after 0s
CI / MSRV Verification (--no-default-features) (push) Canceled after 0s
CI / Test (macos-latest, nightly, ) (push) Canceled after 0s
CI / Test (macos-latest, stable, ) (push) Canceled after 0s
CI / Test (ubuntu-latest, nightly, ) (push) Canceled after 0s
CI / Test (ubuntu-latest, stable, ) (push) Canceled after 0s
CI / Test (windows-latest, nightly, ) (push) Canceled after 0s
CI / Test (windows-latest, stable, ) (push) Canceled after 0s
CI / Test (macos-latest, nightly, --all-features) (push) Canceled after 0s
CI / Test (macos-latest, stable, --all-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, nightly, --all-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, stable, --all-features) (push) Canceled after 0s
CI / Test (windows-latest, nightly, --all-features) (push) Canceled after 0s
CI / Test (windows-latest, stable, --all-features) (push) Canceled after 0s
CI / Test (macos-latest, nightly, --no-default-features) (push) Canceled after 0s
CI / Test (macos-latest, stable, --no-default-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, nightly, --no-default-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, stable, --no-default-features) (push) Canceled after 0s
CI / Test (windows-latest, nightly, --no-default-features) (push) Canceled after 0s
CI / Test (windows-latest, stable, --no-default-features) (push) Canceled after 0s
CI / Cargo Check () (push) Canceled after 0s
CI / Cargo Check (--all-features) (push) Canceled after 0s
CI / Cargo Check (--no-default-features) (push) Canceled after 0s
CI / Examples (push) Canceled after 0s
CI / Code Coverage (push) Canceled after 0s
CI / Security Audit (push) Canceled after 0s
CI / Documentation () (push) Canceled after 0s
CI / Documentation (--all-features) (push) Canceled after 0s
CI / Documentation (--no-default-features) (push) Canceled after 0s
Covers files missed by the first pass (.svelte/.astro components, bare org and
profile links, plugin doc headers), plus content that needed rewriting rather
than a URL swap: the chezmoi bootstrap script now provisions SSH for
git.swaits.com (User git, port 2222) and initialises from Gitea.
Link labels were updated to match their new targets.
2026-08-31 18:35:21 -06:00
swaits
2a9561a32a
chore: repoint URLs at git.swaits.com and bump for release
...
CI / Lint () (push) Canceled after 0s
CI / Lint (--all-features) (push) Canceled after 0s
CI / Lint (--no-default-features) (push) Canceled after 0s
CI / MSRV Verification () (push) Canceled after 0s
CI / MSRV Verification (--all-features) (push) Canceled after 0s
CI / MSRV Verification (--no-default-features) (push) Canceled after 0s
CI / Test (macos-latest, nightly, ) (push) Canceled after 0s
CI / Test (macos-latest, stable, ) (push) Canceled after 0s
CI / Test (ubuntu-latest, nightly, ) (push) Canceled after 0s
CI / Test (ubuntu-latest, stable, ) (push) Canceled after 0s
CI / Test (windows-latest, nightly, ) (push) Canceled after 0s
CI / Test (windows-latest, stable, ) (push) Canceled after 0s
CI / Test (macos-latest, nightly, --all-features) (push) Canceled after 0s
CI / Test (macos-latest, stable, --all-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, nightly, --all-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, stable, --all-features) (push) Canceled after 0s
CI / Test (windows-latest, nightly, --all-features) (push) Canceled after 0s
CI / Test (windows-latest, stable, --all-features) (push) Canceled after 0s
CI / Test (macos-latest, nightly, --no-default-features) (push) Canceled after 0s
CI / Test (macos-latest, stable, --no-default-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, nightly, --no-default-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, stable, --no-default-features) (push) Canceled after 0s
CI / Test (windows-latest, nightly, --no-default-features) (push) Canceled after 0s
CI / Test (windows-latest, stable, --no-default-features) (push) Canceled after 0s
CI / Cargo Check () (push) Canceled after 0s
CI / Cargo Check (--all-features) (push) Canceled after 0s
CI / Cargo Check (--no-default-features) (push) Canceled after 0s
CI / Examples (push) Canceled after 0s
CI / Code Coverage (push) Canceled after 0s
CI / Security Audit (push) Canceled after 0s
CI / Documentation () (push) Canceled after 0s
CI / Documentation (--all-features) (push) Canceled after 0s
CI / Documentation (--no-default-features) (push) Canceled after 0s
Rewrites remaining github.com / git.sr.ht references to git.swaits.com,
translating GitHub URL shapes to Gitea's (/blob/<ref>/ -> /src/branch/<ref>/,
/tree/<tag> -> /src/tag/<tag>, /actions/workflows/X -> /actions?workflow=X,
/edit/ -> /_edit/).
Left pointing at GitHub on purpose: pull-request links (PRs were not migrated)
and GitHub-only surfaces Gitea lacks (security advisories, discussions).
2026-08-31 17:58:30 -06:00
swaits
f984ec0a29
chore: point repository at git.swaits.com
CI / Lint () (push) Canceled after 0s
CI / Lint (--all-features) (push) Canceled after 0s
CI / Lint (--no-default-features) (push) Canceled after 0s
CI / MSRV Verification () (push) Canceled after 0s
CI / MSRV Verification (--all-features) (push) Canceled after 0s
CI / MSRV Verification (--no-default-features) (push) Canceled after 0s
CI / Test (macos-latest, nightly, ) (push) Canceled after 0s
CI / Test (macos-latest, stable, ) (push) Canceled after 0s
CI / Test (ubuntu-latest, nightly, ) (push) Canceled after 0s
CI / Test (ubuntu-latest, stable, ) (push) Canceled after 0s
CI / Test (windows-latest, nightly, ) (push) Canceled after 0s
CI / Test (windows-latest, stable, ) (push) Canceled after 0s
CI / Test (macos-latest, nightly, --all-features) (push) Canceled after 0s
CI / Test (macos-latest, stable, --all-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, nightly, --all-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, stable, --all-features) (push) Canceled after 0s
CI / Test (windows-latest, nightly, --all-features) (push) Canceled after 0s
CI / Test (windows-latest, stable, --all-features) (push) Canceled after 0s
CI / Test (macos-latest, nightly, --no-default-features) (push) Canceled after 0s
CI / Test (macos-latest, stable, --no-default-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, nightly, --no-default-features) (push) Canceled after 0s
CI / Test (ubuntu-latest, stable, --no-default-features) (push) Canceled after 0s
CI / Test (windows-latest, nightly, --no-default-features) (push) Canceled after 0s
CI / Test (windows-latest, stable, --no-default-features) (push) Canceled after 0s
CI / Cargo Check () (push) Canceled after 0s
CI / Cargo Check (--all-features) (push) Canceled after 0s
CI / Cargo Check (--no-default-features) (push) Canceled after 0s
CI / Examples (push) Canceled after 0s
CI / Code Coverage (push) Canceled after 0s
CI / Security Audit (push) Canceled after 0s
CI / Documentation () (push) Canceled after 0s
CI / Documentation (--all-features) (push) Canceled after 0s
CI / Documentation (--no-default-features) (push) Canceled after 0s
2026-08-31 17:39:43 -06:00
swaits
8f6472ea22
Merge pull request #1 from TechnoPorg/push-mmkvnrvwpuzm
...
Replace channel mechanism of dependency passing with a shared registry
2026-01-27 23:23:53 -07:00
swaits
8e507d76f3
chore: bump crate to 0.3.1, update CHANGELOG
2025-10-10 17:39:23 -06:00
swaits
9ad3bd174f
chore: bump crate to 0.3.1, update CHANGELOG
2025-10-10 17:31:28 -06:00
swaits
979232bd67
docs: document custom type support throughout project
...
Update all documentation to reflect that custom types work automatically
with the #[task] macro, requiring only Clone + Send + Sync + 'static.
Documentation updates:
- README: Add custom types to features, new Custom Types section
- CHANGELOG: Document custom type improvement in [Unreleased]
- src/lib.rs: Add custom types example to main API docs
- src/task.rs: Update Task trait docs to mention macro-generated extraction
- src/extract.rs: Clarify ExtractInput is now internal-only (for task_fn)
- dagx-macros: Update macro docs to emphasize automatic type handling
New example:
- examples/custom_types.rs: Simple 120-line example showing User type
flowing through DAG with fan-out pattern (one output → two consumers)
demonstrating Arc wrapping is automatic and transparent
This makes the custom type capability discoverable and prominent for users,
turning a previous limitation into a headline feature.
2025-10-10 17:22:59 -06:00
swaits
8ee4092f9a
test: increase coverage for error paths and conversions
...
Add targeted coverage tests to maintain >80% code coverage minimum:
- ExtractInput error paths (14 tests): Type mismatch errors for Result,
Option, Vec, HashMap, Arc, and primitive types. Directly exercises
error formatting code that was previously uncovered.
- DagRunner::get() type mismatch (6 tests): Covers the type mismatch
error path when attempting to retrieve task output with wrong type.
Tests various type combinations to ensure robust error handling.
- TaskBuilder conversions (9 tests): Covers the From<TaskBuilder> to
TaskHandle conversion for unit-type tasks, ensuring ID preservation
and correct handling of mixed task types.
Also fixes timing test threshold from 10ms to 50ms to account for
tarpaulin instrumentation overhead while still validating parallel
execution.
Coverage increased from ~78% to 82.04% (above 80% minimum requirement).
2025-10-10 17:06:59 -06:00
swaits
fad97dbf16
fix: support arbitrary types in task dependencies
...
Enable tasks to accept ANY type implementing Clone + Send + Sync as
dependencies, without requiring users to implement ExtractInput trait.
The #[task] macro now generates task-specific extraction logic inline
via a new extract_and_run() method. This leverages the macro's perfect
compile-time knowledge of parameter types to handle extraction for:
- Zero parameters (unit type, source tasks)
- Single parameter (any Clone + Send + Sync type)
- Multiple parameters (tuples, awaited concurrently)
Previously, only hardcoded primitive types and specific stdlib types
worked. Custom user types required manual ExtractInput implementations.
Now custom types work automatically with zero API changes.
Changes:
- Add extract_and_run() method to Task trait (internal/hidden)
- Generate inline extraction in #[task] macro based on parameter count
- Remove ExtractInput bound from DagRunner::add_task()
- Retain ExtractInput for internal task_fn() test helper
- Add comprehensive custom type tests
No breaking changes - purely internal implementation improvement.
2025-10-10 17:06:38 -06:00
swaits
82cbf15b85
docs: clean up, split up, restructure README.md
2025-10-08 16:01:27 -06:00
swaits
748e3f65c4
perf: optimization hints (inline, cold, etc)
2025-10-08 15:50:02 -06:00
swaits
e3f51308a0
chore: bump crate to 0.3.0, update CHANGELOG
2025-10-08 14:52:45 -06:00
swaits
bec2f9e4c9
fix: lint, disable wonky timing test on macos
2025-10-08 14:52:32 -06:00
swaits
802e584646
refactor: remove cycle checking becuase API prevents cycles
2025-10-08 14:28:54 -06:00
swaits
683579a18b
test: increase coverage, improve test matrices for CI
2025-10-08 14:23:19 -06:00
swaits
02eac133bd
fix: force threads on arc test (fixes MacOS CI failure)
2025-10-08 12:20:04 -07:00
swaits
47620b6702
fix: clippy lint due to tracing-only code
2025-10-08 12:19:27 -07:00
swaits
9290eccd86
docs: add TOC to ridiculously long README
2025-10-07 21:37:10 -07:00
swaits
4e891ebd5a
chore: bump crate to 0.2.3, update CHANGELOG
2025-10-07 21:30:05 -07:00
swaits
5524b2121b
docs: clean up examples/_parallel_computation.rs
2025-10-07 21:23:27 -07:00
swaits
ec94ade329
chore: add logging under tracing feature
2025-10-07 21:16:04 -07:00
swaits
ac848c6608
chore: bump crate to 0.2.2, update CHANGELOG
2025-10-07 20:30:19 -07:00
swaits
0a91889022
chore: make release checker verify docs match crate version
2025-10-07 20:24:00 -07:00
swaits
ba32767b94
chore: bump crate to 0.2.1, update CHANGELOG
2025-10-07 19:58:19 -07:00
swaits
504347a46a
fix: force tokio:test("multi_thread") so tests pass on macOS
2025-10-07 19:53:05 -07:00
swaits
aa604e617f
chore: bump crate to 0.2.0, update CHANGELOG
2025-10-07 19:39:24 -07:00
swaits
608251618a
chore: bump MSRV to 1.81.0 (due to dependencies)
2025-10-07 17:32:44 -07:00
swaits
400c01d73c
test: increase coverage to 93%
2025-10-07 17:29:08 -07:00
swaits
98b8bcfd6e
chore: remove inappropriate tests from tarpaulin runs
2025-10-07 16:56:35 -07:00
swaits
6b2ca6ba7e
chore: fix cargo-audit GH action
2025-10-07 16:51:13 -07:00
swaits
7412287ee4
feat: dagrunner, initial version
2025-10-07 16:31:03 -07:00