Skip to main content

Crate ferroforge_contracts

Crate ferroforge_contracts 

Source
Expand description

Source contracts shared by the procedural macro and host discovery.

This crate parses declarations, not task-body semantics. It has no target HAL dependencies. Parsing the standalone syntax is not a checking expansion.

Structs§

Parameter
Resource
An inline resource or configuration entry. A resource needs either a type or a matching bound; None is the bare-name form, which #[task] rejects for resources because it cannot infer a field type from a name alone.
ResourceBound
Spawn
TaskArguments
TaskContract
TaskDependency
Registry requirements are retained only for the existing prototype adapter.

Enums§

TaskKind
Which RTIC task shape a definition was authored as. RTIC itself makes the same distinction by signature, so the authored fn versus async fn is what decides it here.

Functions§

identifier_key
Rust raw and ordinary identifiers name the same declaration.