ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.Cargo.FirstParty

Description

Cargo ownership declarations use native collision keys and separator-delimited prefixes.

Synopsis

Documentation

type CargoFirstParty = FirstPartyEntry CargoNames Source #

An exact crate name or a native collision prefix declared by the registry operator.

projectFirstPartyEntry :: Text -> Either ParseError CargoFirstParty Source #

Parse an exact crate name or a prefix with a terminal separator followed by *.

cargoFirstPartyName :: NonEmpty CargoFirstParty -> PackageName -> Bool Source #

Match native ownership aliases, excluding foreign ecosystems and npm scopes.

cargoFirstPartyNames :: FirstPartyNames CargoFirstParty Source #

Names and prefixes the mount's firstParty entries declare.