probe-web / @probe-web/client / index / fromEmbedToml
Function: fromEmbedToml()
ts
function fromEmbedToml(text, profile?): ImportedConfig;Defined in: config.ts:107
Read a cargo-embed Embed.toml.
Its tables are profile-prefixed — [default.general], [release.probe] — so profile selects which one to read, defaulting to cargo-embed's own default. Keys written without a profile ([general]) are accepted too, since hand-written files often omit it.
Parameters
| Parameter | Type | Default value |
|---|---|---|
text | string | undefined |
profile | string | 'default' |