pub struct Program { /* fields omitted */ }
Expand description
Adds a license
Required but defaults to MIT
Creates a new program struct.
Adds a readme path
OPTIONAL
Adds a documentation path
OPTIONAL
Adds a readme path
OPTIONAL
Edition
Specifies the rust edition
It is required but defaults to rust 2018
Adds an author
It is required
Sets the version
It is required
Checks the package for invalid config
Sets the repository
Optional
Adds a name propety under the package section
Names are required
Generates cargo toml.
Also runs the check
function
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.