Rust API¶
The public Rust API follows the version-one workflow rather than the retired scaffold/auto-emitter surface.
Canonical package modules¶
Module |
Responsibility |
|---|---|
|
schema-versioned plan, profiles, locks, stack policy, CycloneDX conversion |
|
layered aliases, EasyBuild policy, and product profiles |
|
profile materialization and Resolvo lock generation |
|
one deterministic EasyBuild recipe per profile lock |
|
inspect, new-package plan, bump plan, and bundle writer |
Primary entry points:
inspect_new_package;plan_new_package;plan_package_bump;write_package_bundle;solve_package_profile/solve_package_profile_with_hierarchy;emit_profile_easyconfigs.
Parsing and stack solving¶
parse_foreign_path and parse_foreign_str return the syntax-normalized
foreign model. package_plan_from_foreign is the canonical adapter.
eb_parse exposes EasyBuild parsing, robot tree merging, package gates, and
dependency checks. resolvo_provider implements candidate selection, policy
pins, stack preferences, locked pins, and exclusions. select provides the
whole-stack optimization path.
Targets and campaigns¶
target exposes layered TOML types, target resolution, command plans, staging,
and target doctor reports. campaign exposes campaign state, typed findings,
claim/resolve operations, failure classification, and run_campaign.
Generated API pages¶
The crate pages are generated from Rust source. The documentation build appends them to this page.
pixi run -e docs gen-rust-api
Rust API (eb_stack)¶
- Crate
eb_stackmod accel_installmod arch_known_failuresmod arch_supportmod artifact_classmod backportmod batchmod bot_resultmod build_backendmod build_ordermod bump_companionmod campaignmod cargomod cli_parsemod component_reachmod cranmod cuda_ccmod dep_filtermod dep_versionsmod domainmod easyblock_reachmod easyblock_skeletonmod easystackmod eb_easyblockmod eb_engine_exportmod eb_hooksmod eb_maintainermod eb_modulemod eb_parsemod eb_runmod eb_stylemod eb_template_constantsmod ecosystemmod file_presencemod findingsmod fix_costmod gapmod generation_lintmod from_commitmod hierarchymod inode_budgetmod input_hashmod jenkinsmod ledgermod ledger_tilesmod luarocksmod mcpmod merge_ordermod minermod modulercmod oom_profilemod osvmod packagemod package_catalogmod package_closuremod package_configmod package_emitmod package_solvemod package_sourcesmod package_workflowmod patch_evolutionmod planning_capacitymod planning_storagemod pr_overlapmod providedmod providesmod pypimod rakumod rebuild_setmod registrymod reportmod repro_reportmod resolvo_providermod robot_lookupmod sbommod selectmod shadowmod shardmod shard_treesmod site_commandsmod source_fetchmod source_probemod source_treemod targetmod test_selectormod upstreammod versionmod workflowsmod workspace_fs
- eb-stack