| Crates.io | daedalus-macros |
| lib.rs | daedalus-macros |
| version | 0.1.1 |
| created_at | 2026-01-23 03:52:51.319548+00 |
| updated_at | 2026-01-23 03:52:51.319548+00 |
| description | Proc macros for Daedalus nodes and GPU binding helpers. |
| homepage | https://github.com/Prometheus-Dynamics/Daedalus |
| repository | https://github.com/Prometheus-Dynamics/Daedalus |
| max_upload_size | |
| id | 2063353 |
| size | 259,633 |
Procedural macros that generate node descriptors/handlers and GPU bindings with minimal boilerplate.
#[node]: annotate a function to generate a node descriptor, handler, and registration glue (IDs, ports, compute affinity, state).#[derive(GpuBindings)]: derive WGSL binding packs for GPU shaders with binding inference and workgroup hints.#[derive(GpuStateful)]: mark POD structs for persistent GPU state buffers.#[gpu(spec(src = "...", entry = "...", workgroup_size = N))] on the binding struct points to WGSL.#[gpu(binding = N)], texture2d(format = "...", write)], uniform, storage(read|read_write|write), sampler(...), state.id, inputs/outputs, compute affinity, shaders(...), state(...), capabilities, and plugin glue.crates/nodes/tests/ui exercise diagnostics and macro outputs.