Skip to main content

Module profile

Module profile 

Source
Expand description

Profile selection runtime — Rust mirror of tools/tf-types-ts/src/core/profile.ts.

select_profile(spec, gate) checks a ProfileSpec (parsed from profile-spec.schema.json) against a ProfileFeatureGate describing the running daemon. Built-in profiles are exposed via builtin_profiles.

Structs§

ProfileFeatureGate
ProfileVerdict

Functions§

builtin_profile
Lookup a built-in profile by id.
builtin_profiles
The four built-in conformance profiles. Mirrors BUILTIN_PROFILES in tools/tf-types-ts/src/core/profile.ts.
select_profile