ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Registry.Cargo.Source

Description

Logical Cargo registry identity. Comparison grants no transport or credential authority.

Synopsis

Documentation

data CargoSource Source #

The source kind and canonical URL remain separate, except Cargo's built-in crates.io substitution.

parseSource :: Text -> Either ParseError CargoSource Source #

Retain URI identity components and apply Cargo's comparison rules without forming a transport address.

sourceComparisonKey :: CargoSource -> Text Source #

This key is for resolver comparison and must never form a request address.