pub struct Workspace {
pub members: BTreeSet<String>,
pub default_members: BTreeSet<String>,
pub package: Option<PackageTemplate>,
pub exclude: BTreeSet<String>,
pub metadata: BTreeMap<String, Value>,
pub resolver: Option<Resolver>,
pub dependencies: BTreeMap<String, Dependency>,
pub lints: Option<Lints>,
}Expand description
Workspace settings.
Fields§
§members: BTreeSet<String>Relative paths of crates in this workspace.
default_members: BTreeSet<String>Members to operate on when in the workspace root.
When specified, default-members must expand to a subset of members.
package: Option<PackageTemplate>Settings that can be inherited by packages in this workspace.
exclude: BTreeSet<String>Ignore these dirs
metadata: BTreeMap<String, Value>Custom settings for the workspace.
resolver: Option<Resolver>The resolver to use for the workspace.
dependencies: BTreeMap<String, Dependency>Dependencies that can be inherited by packages in the workspace.
lints: Option<Lints>Workspace-level lint groups, which can be inherited by packages.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
Source§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
impl Eq for Workspace
impl StructuralPartialEq for Workspace
Auto Trait Implementations§
impl Freeze for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnsafeUnpin for Workspace
impl UnwindSafe for Workspace
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.