Skip to main content

Crate allow_core

Crate allow_core 

Source
Expand description

Core data model for cargo-allow source-tree exception governance.

This crate defines the shared finding, policy-entry, selector, lifecycle, match-outcome, path-normalization, and stable fingerprint primitives used by the cargo-allow crate family. It does not scan source files, invoke Cargo, compile code, or execute repository artifacts.

Structs§

AllowConfig
AllowEntry
CargoAllowError
Finding
LastSeen
Lifecycle
MatchOutcome
Requirements
Selector
SimpleDate
Span
StructuralIdentity
WorkspaceConfig

Enums§

FindingKind
MatchStatus

Constants§

STRUCTURAL_IDENTITY_SCHEMA_ID

Functions§

allow_entry_broad_scope
finding_identity_key
glob_matches
glob_matches_str
json_escape
maybe_line_distance_score
normalize_path
normalize_snippet
source_tree_path_is_ignored
source_tree_path_matches_filter
source_tree_scope_has_wildcard
stable_hash_hex

Type Aliases§

CargoAllowResult