Crate proget

Source
Expand description

A library providing a client for the ProGet API.

This library is heavily a work in progress, and stability is currently not guaranteed. The library also needs a plethora of features to be added still - if there’s something you’d like added that’s missing, feel free to make an issue or send in a PR on the GitHub repository.

Most use cases will involve beginning with a Client. Please start there if you’re trying to find your way around the library.

§Feature flags

  • rustls-tls: Use rustls as the TLS backend. Uses the system’s native backend when not enabled.
  • indexmap: Use IndexMap instead of HashMap for items in models.

Re-exports§

pub use reqwest;
pub use semver;

Modules§

models
This module contains models of the data structures in the ProGet API.

Structs§

Anon
The type needed for an authenticated Client.
Auth
The type needed for an anonymous Client.
Client
A struct representing a user of a ProGet instance.

Enums§

Error
The errors that may occur throughout this crate.

Type Aliases§

Result
Alias for a std::result::Result with the error type always being crate::Error.