Crate cargo_dist_schema
source ·Expand description
§cargo-dist-schema
This crate exists to serialize and deserialize the dist-manifest.json produced by cargo-dist. Ideally it should be reasonably forward and backward compatible with different versions of this format.
The root type of the schema is DistManifest.
Structs§
- A distributable artifact that’s part of a Release
- An asset contained in an artifact (executable, license, etc.)
- CI backend info
- A report of the releases and artifacts that cargo-dist generated
- An executable artifact (exe/binary)
- Github CI backend
- Github Hosting
- Github CI Matrix
- Entry for a github matrix
- 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
- Info about the system/toolchain used to build this announcement.
- Info about a manifest version
Enums§
- A kind of Artifact
- An artifact included in a Distributable
- More coarse-grained version info, indicating periods when significant changes were made
- 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
- A local system path on the machine cargo-dist was run.
- A relative path inside an artifact