Struct cargo_edit::LocalManifest[][src]

pub struct LocalManifest { /* fields omitted */ }

A Cargo manifest that is available locally.

Methods

impl LocalManifest
[src]

Construct a LocalManifest. If no path is provided, make an educated guess as to which one the user means.

Construct the LocalManifest corresponding to the Path provided.

Instruct this manifest to upgrade a single dependency. If this manifest does not have that dependency, it does nothing.

Methods from Deref<Target = Manifest>

Get all sections in the manifest that exist and might contain dependencies. The returned items are always Table or InlineTable.

Overwrite a file with TOML data.

Trait Implementations

impl Debug for LocalManifest
[src]

Formats the value using the given formatter. Read more

impl Deref for LocalManifest
[src]

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations