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
TechnoPorg
dfb794361e
Merge pull request #14 from TechnoPorg/push-mzlqmxmonmyt
...
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
Remove Clone/Copy from TaskHandle
2026-02-20 19:12:49 +01:00
TechnoPorg
9fbe4c2fd8
fix: change where TaskHandle is borrowed to prevent repeat output fetches
2026-02-20 19:00:18 +01:00
TechnoPorg
c8efb00175
Merge pull request #13 from TechnoPorg/push-qlytvyqokrzl
...
Cleanup and documentation updates before release
2026-02-19 21:24:20 +01:00
TechnoPorg
766555bef4
doc: update for next release
2026-02-19 21:14:03 +01:00
TechnoPorg
a13f148778
deps: update lockfile
2026-02-19 20:12:51 +01:00
TechnoPorg
827041c1b6
chore: clean up in preparation for release
2026-02-18 22:34:31 +01:00
TechnoPorg
c002161216
Merge pull request #12 from TechnoPorg/push-wummzrynoysn
...
Make DagRunner construction single-threaded
2026-02-17 21:33:41 +01:00
TechnoPorg
72a83e29dc
test: update tests/examples/benches
2026-02-17 21:31:18 +01:00
TechnoPorg
e4fc0b0d44
refactor: make DagRunner interface single-threaded
2026-02-17 21:29:14 +01:00
TechnoPorg
d83a815ed0
Fix CI
2026-02-13 00:28:23 +01:00
TechnoPorg
3e02d6b679
Merge pull request #11 from TechnoPorg/push-zvntumwxvoru
...
test: remove/consolidate redundant tests, examples, benchmarks, get tarpaulin coverage back to 80
2026-02-13 00:23:15 +01:00
TechnoPorg
a6b8ce4a8f
test: bring tarpaulin coverage back up
2026-02-13 00:20:59 +01:00
TechnoPorg
fe8de2784b
refactor: move task_fn into its own crate
2026-02-12 23:31:24 +01:00
TechnoPorg
b8204c4ed9
refactor: consolidate some tests/examples/benchmarks
2026-02-12 23:31:19 +01:00
TechnoPorg
49be497964
perf: don't double-box task outputs
2026-02-12 20:49:30 +01:00
TechnoPorg
b48b3a5a2e
Merge pull request #10 from TechnoPorg/push-lytsnzwpmxmy
...
Speed up CI by installing dependencies as binaries
2026-02-11 23:33:33 +01:00
TechnoPorg
711cebdd6e
Speed up CI by installing dependencies as binaries
2026-02-11 23:28:13 +01:00
TechnoPorg
5bfb284c82
Merge pull request #9 from TechnoPorg/push-kplnqxpsroms
...
perf: use passthrough hashers instead of standard library default
2026-02-11 23:15:27 +01:00
TechnoPorg
c02740798b
perf: use passthrough hasher and preallocate capacity for outputs
2026-02-11 23:07:23 +01:00
TechnoPorg
b6ff1f81e6
chore: fix formatting for CI
2026-02-11 23:07:23 +01:00
TechnoPorg
7999996bca
Merge pull request #8 from TechnoPorg/push-ptxmpolotoqo
...
Depend directly futures-util instead of futures
2026-02-11 22:50:16 +01:00
TechnoPorg
a75defa5a6
Depend on futures-util instead of futures
2026-02-11 22:44:01 +01:00
TechnoPorg
f342e33f16
Merge pull request #7 from TechnoPorg/push-nmmvpvqkpsmr
...
Remove clone bound from task data
2026-02-11 22:35:23 +01:00
TechnoPorg
4ef7e69cdd
Don't clone task inputs
2026-02-11 22:29:54 +01:00
TechnoPorg
6f7a58e4c5
Fix CI
2026-02-11 22:29:54 +01:00
TechnoPorg
86787b3a0d
Update tests, examples, benches
2026-02-11 22:01:50 +01:00
TechnoPorg
0137296fb4
Remove clone bound from task data
2026-02-11 21:59:41 +01:00
TechnoPorg
064c2a15be
Merge pull request #3 from TechnoPorg/push-mqpxvoyoutro
...
Address soundness hole in cycle prevention
2026-02-06 20:38:12 +01:00
TechnoPorg
37260f6b3a
Temporarily disable code coverage CI checks
...
This will be re-enabled once I'm done the last few major changes I have in mind. Until then, I've already caused this check to fail on main, so this will reduce GitHub email spam for a known issue.
2026-02-06 20:36:37 +01:00
TechnoPorg
37e4d46bac
Temporarily disable code coverage CI checks
...
This will be re-enabled once I'm done the last few major changes I have in mind.
Until then, I've already caused this check to fail on main, so this will reduce GitHub email spam for a known issue.
2026-02-06 20:29:19 +01:00
TechnoPorg
f82205baf4
Address soundness hole in cycle prevention
2026-01-29 06:56:17 +01:00
TechnoPorg
4ad88bcd68
feat: Don't require an explicit return type in the task macro
2026-01-29 06:50:12 +01:00
TechnoPorg
1c9034de71
Don't require an explicit return type in the task macro
2026-01-28 08:52:52 +01: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
TechnoPorg
098b2711d8
Don't use channels to send dependencies
2026-01-26 20:58:06 +01:00
TechnoPorg
a8e39804d2
Test single-threaded runtime
2026-01-22 00:34:52 +01:00
TechnoPorg
ee3c9f4417
Update non-default feature code
2026-01-22 00:30:48 +01:00
TechnoPorg
85ccd7e507
Update tests, examples, benches
2026-01-22 00:30:48 +01:00
TechnoPorg
bacac903b3
Reimplement spawner function
2026-01-22 00:30:48 +01:00
TechnoPorg
d7806043e1
Use single-threaded hashmap instead of dashmap
...
Address performance regressions
2026-01-22 00:30:48 +01:00
TechnoPorg
f4160d2387
Update docs
2026-01-22 00:30:48 +01:00
TechnoPorg
df39dd80b9
Don't use channels to send dependencies
2026-01-19 00:24:32 +01: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
v0.3.1
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