Skip to main content

Module embedded

Module embedded 

Source
Expand description

Compile-time embedded assets: the payload and the method, in the binary.

Every include_dir!/include_str! in the crate lives here, and each embeds from its canonical authored path, so the repository file and the shipped copy cannot diverge — the build reads the real thing. This module only holds bytes and typed accessors; deciding where an asset lands in an instance is the profiles’ and installer’s business.

Re-exports§

pub use crate::payload_roots::PAYLOAD_ROOTS;

Statics§

LICENSE
The combined license statement naming both halves.
LICENSE_CC_BY
The CC BY 4.0 license covering the method.
LICENSE_MIT
The MIT license covering the distribution.
MARKDOWNLINT
The markdownlint configurations the instance receives managed.
METHOD
The method chapters and glossary.
SKILLS
The cross-agent skills, one SKILL.md per directory.
SKILL_SHARED
The artifacts every skill shares, installed once outside the skill roots.
SNIPPETS
Integration snippets a consumer copies into their own files.
SPECS
The spec seeds an instance adopts, and the canon-only specs beside them.
TEMPLATES
The stable document templates.
THIRD_PARTY_NOTICES
The attribution notice for every third-party source the payload derives from.

Functions§

asset
Resolve a payload source path — as a profile projection names it — to its embedded bytes.
rule_ids_in
The requirement addresses one spec document defines.
shared_artifacts
Every artifact the skills share, as (path under the root, bytes), sorted by path.
skill
One skill’s SKILL.md text, by skill name.
skill_names
Every skill name, sorted; a name is the skill’s directory.
spec_rule_ids
Every ### `domain:rule` requirement address the embedded specs define.