Skip to main content

Module profile

Module profile 

Source
Expand description

What a profile declares, in its profile.toml.

A profile is a directory: profile.toml, and files/ mirroring the target. Every path [files] lists must exist under files/; nothing else there is applied. An entry owns its whole file unless its Scope says less, when its payload is the part: a partial document, or a block’s lines.

rust/
├── profile.toml
└── files/
    ├── rustfmt.toml
    └── .github/workflows/ci.yml

Structs§

FileSpec
A profile’s [files."path"] entry.
Manifest
profile.toml.
MergeSpec
A [merge] table: defaults in profile.toml, decisions in .devset/config.toml.
Meta
The [profile] table.
VarName
A variable’s name: an identifier, [A-Za-z_][A-Za-z0-9_]*.
VarSpec
A [vars.name] entry.

Enums§

Comment
A line comment syntax, which a block’s markers are written in.
Format
How a file is checked after a merge: it must parse, with no duplicate keys.
OnConflict
What an update does when a file conflicts.
Policy
How devset manages a file.
Requirement
A profile another profile builds on.
Scope
How much of a file a profile owns.