pub struct GeneratedDistConfig {
pub toml: String,
pub targets: Vec<String>,
pub installers: Vec<String>,
pub cargo_dist_version: &'static str,
pub warnings: Vec<String>,
}Expand description
The result of rendering a dist-workspace.toml from a Distribution.
Carries the rendered toml plus the resolved decisions
(targets / installers after the shell-ensure + homebrew-exclude rules) and
any non-fatal warnings, so the CLI handler can report what
it decided without re-deriving it.
Fields§
§toml: StringThe full dist-workspace.toml text, ready to write to the repo root.
targets: Vec<String>The [dist] targets set (verbatim from distribution.platforms).
installers: Vec<String>The [dist] installers set actually emitted (shell ensured, homebrew
excluded).
cargo_dist_version: &'static strThe pinned cargo-dist version emitted (PINNED_CARGO_DIST_VERSION).
warnings: Vec<String>Non-fatal notes about decisions the generator made (added shell,
excluded homebrew, a Linux-less target set).
Trait Implementations§
Source§impl Clone for GeneratedDistConfig
impl Clone for GeneratedDistConfig
Source§fn clone(&self) -> GeneratedDistConfig
fn clone(&self) -> GeneratedDistConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeneratedDistConfig
impl Debug for GeneratedDistConfig
impl Eq for GeneratedDistConfig
Source§impl PartialEq for GeneratedDistConfig
impl PartialEq for GeneratedDistConfig
impl StructuralPartialEq for GeneratedDistConfig
Auto Trait Implementations§
impl Freeze for GeneratedDistConfig
impl RefUnwindSafe for GeneratedDistConfig
impl Send for GeneratedDistConfig
impl Sync for GeneratedDistConfig
impl Unpin for GeneratedDistConfig
impl UnsafeUnpin for GeneratedDistConfig
impl UnwindSafe for GeneratedDistConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.