Struct cargo_binstall::PkgMeta [−][src]
pub struct PkgMeta {
pub pkg_url: String,
pub pkg_fmt: PkgFmt,
pub bin_dir: String,
pub pub_key: Option<String>,
pub overrides: HashMap<String, PkgOverride>,
}Expand description
Metadata for binary installation use.
Exposed via [package.metadata] in Cargo.toml
Fields
pkg_url: StringURL template for package downloads
pkg_fmt: PkgFmtFormat for package downloads
bin_dir: StringPath template for binary files in packages
pub_key: Option<String>Public key for package verification (base64 encoded)
overrides: HashMap<String, PkgOverride>Target specific overrides
Implementations
Merge configuration overrides into object
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PkgMeta
impl UnwindSafe for PkgMeta
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more