Commit Graph
12 Commits
Author SHA1 Message Date
TechnoPorg a75defa5a6 Depend on futures-util instead of futures 2026-02-11 22:44:01 +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 f82205baf4 Address soundness hole in cycle prevention 2026-01-29 06:56:17 +01:00
TechnoPorg 1c9034de71 Don't require an explicit return type in the task macro 2026-01-28 08:52:52 +01:00
TechnoPorg 85ccd7e507 Update tests, examples, benches 2026-01-22 00:30:48 +01: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 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 7412287ee4 feat: dagrunner, initial version 2025-10-07 16:31:03 -07:00