Task 1 — Introduce flowd.build.toml
Objective
Create a build configuration file that defines which FBP components are compiled into the runtime.
Requirements
- Create a file:
- Define the following structure:
[[components]]
name = "Repeat"
crate = "repeat_component"
struct = "RepeatComponent"
log_ignore = ["hyper::proto::h1"]
[[components]]
name = "Drop"
crate = "drop_component"
struct = "DropComponent"
log_ignore = []
- Fields:
| Field |
Type |
Required |
Description |
| name |
string |
yes |
Name used in graph definitions |
| crate |
string |
yes |
Rust crate name |
| struct |
string |
yes |
Struct implementing the component |
| log_ignore |
array[string] |
no |
Log prefixes to suppress |
Acceptance Criteria
- File parses correctly via
toml crate.
- Duplicate
name entries cause build failure.
Task 1 — Introduce
flowd.build.tomlObjective
Create a build configuration file that defines which FBP components are compiled into the runtime.
Requirements
Acceptance Criteria
tomlcrate.nameentries cause build failure.