Expand description
§cargo-dist-schema
This crate exists to serialize and deserialize the dist-manifest.json produced by dist. Ideally it should be reasonably forward and backward compatible with different versions of this format.
The root type of the schema is DistManifest
.
Modules§
- Internal macros for cargo-dist
Macros§
- Motivation
Structs§
- A distributable artifact that’s part of a Release
- An asset contained in an artifact (executable, license, etc.)
- Info about an Asset (binary)
- CI backend info
- A report of the releases and artifacts that dist generated
- A C dynamic library artifact (so/dylib/dll)
- Release-specific environment variables
- An executable artifact (exe/binary)
- Github CI backend
- Github Hosting
- Github CI Matrix
- Entry for a github matrix
- The name of a Github Actions Runner, like
ubuntu-20.04
ormacos-13
- The name of a Github Actions Runner, like
ubuntu-20.04
ormacos-13
- Minimum glibc version required to run software
- Possible hosting providers
- Represents a dynamic library located somewhere on the system
- Information about dynamic libraries used by a binary
- A Release of an Application
- A C static library artifact (a/lib)
- Info about a system used to build this announcement.
- A rust target-triple (e.g. “x86_64-pc-windows-msvc”)
- A rust target-triple (e.g. “x86_64-pc-windows-msvc”)
- Info about a manifest version
Enums§
- A kind of Artifact
- An artifact included in a Distributable
- Information about the build environment on this system
- More coarse-grained version info, indicating periods when significant changes were made
- Represents the package manager a library was installed by
- Type of job to run on pull request
Constants§
- The first epoch of cargo-dist, after this version a bunch of things changed and we don’t support that design anymore!
- Second epoch of cargo-dist, after this we stopped putting versions in artifact ids. This changes the download URL, but everything else works the same.
- The current version of cargo-dist-schema
Functions§
- Take serialized json and minimally parse out version info
- Get the format for a given version
Type Aliases§
- The unique ID of an Artifact
- The unique ID of an Asset
- A local system path on the machine dist was run.
- A relative path inside an artifact
- A sorted set of values
- The unique ID of a System