Expand description
Cross-crate export map construction.
After scanning a dependency crate, this module extracts a summary of its authority surface: which functions (directly or transitively) exercise ambient authority. The export map is keyed by fully-qualified module path within the crate.
Structs§
- Cached
Export Map - Cached export map format for disk persistence.
- Crate
Export Map - A dependency crate’s authority surface — its functions that transitively exercise ambient authority.
- Exported
Authority - A single authority finding associated with an exported function.
Constants§
- EXPORT_
MAP_ SCHEMA_ VERSION - Current schema version for cached export maps. Bumped to 2: added extern function declaration exports.
Functions§
- add_
extern_ exports - Adds extern function declarations from parsed files to an export map.
- build_
export_ map - Builds an export map from a dependency crate’s scan findings.
- file_
to_ module_ path - Converts a source file path to a module path within the crate.
- load_
cached_ export_ map - Attempts to load a cached export map for a dependency crate.
- save_
export_ map_ cache - Saves an export map to the cache directory.