Skip to main content

API_INDEX

Constant API_INDEX 

Source
pub const API_INDEX: &[(&str, ApiKind, Option<&str>)];
Expand description

Stable index of public exports under vyre_libs::scan. Each entry is a (symbol, kind, feature_gate) triple. feature_gate is None for unconditional exports and Some("flag-name") for items behind a Cargo feature.

Keep this in sync with the pub use lines below. The api_index_covers_every_export test in tests/api_index.rs verifies that every name in API_INDEX resolves to a real import path so a refactor that removes or renames a public symbol fails CI loudly instead of silently leaving the index stale.