Skip to main content

Module source

Module source 

Source
Expand description

What the dependency’s checkout declares about its distribution.

Every signal is a file in the source tree or its git remote and tags: a manifest names the package and its version, dist-workspace.toml says release archives are built, a flake that serves packages says the repository is a flake input. No registry is asked whether the version is published; the assessment is offline.

Structs§

ChannelEvidence
One channel and the evidence behind it.
Manifest
What one manifest declares, whatever its format.
Source
Everything the offline pass reads from the source.

Enums§

TagStyle
Which shape the source’s release tags take.

Functions§

binstall_resolves_to_github
Whether binstall metadata resolves to this repository’s GitHub releases.
channels_of
The channels the evidence supports, in the closed order.
dist_hosts_on_github
Whether a dist-workspace.toml hosts its releases on GitHub: ci names github, and hosting, where set, still names it. A file that does not parse or names another CI is not evidence.
flake_serves_package
Whether a flake serves a default package output, judged lexically.
observe
Read the source, offline.
read_cargo
What a Cargo.toml declares: the package, its bins, its repository.
read_package_json
What a package.json declares: the package, its bins, its repository.
read_pyproject
What a pyproject.toml declares: the project, its scripts, its repository URL.
tag_style
The tag shape a tag list shows: the majority form, Unknown on a tie or an empty list.