Crate sps_net

Source

Re-exports§

pub use api::fetch_all_casks;
pub use api::fetch_all_formulas;
pub use api::fetch_cask;
pub use api::fetch_formula;
pub use api::get_cask;
pub use api::get_formula;
pub use http::fetch_formula_source_or_bottle;
pub use http::fetch_resource;
pub use oci::build_oci_client;
pub use oci::download_oci_blob;
pub use oci::fetch_oci_manifest_index;
pub use crate::validation::validate_url;
pub use crate::validation::verify_checksum;
pub use crate::validation::verify_content_type;

Modules§

api
http
oci
validation

Structs§

Cache
Cache struct to manage cache operations
Cask
The main Cask model matching Homebrew JSON v2
Config
Formula
ResourceSpec

Enums§

Sha256Field
Represents the sha256 field: hex, no_check, or per-architecture
SpsError
UrlField
Represents the url field, which can be a simple string or a map with specs

Type Aliases§

Result