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: String
URL template for package downloads
pkg_fmt: PkgFmt
Format for package downloads
bin_dir: String
Path 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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more