cargo_wizard/
lib.rs

1//! `cargo-wizard` is a Cargo subcommand that can apply preconfigured templates to your Cargo.toml manifest.
2//!
3//! Non-interactive command-line usage:
4//! ```bash
5//! cargo wizard apply <template> <profile> [--nightly=on]
6//! ```
7//! Interactive command-line usage:
8//! ```bash
9//! cargo wizard
10//! ```
11//!
12//! You can also use this crate as a library, although it probably won't be very useful.
13
14pub use predefined::*;
15pub use template::{Template, TemplateItemId, WizardOptions};
16pub use toml::TomlValue;
17pub use utils::get_core_count;
18pub use workspace::config::CargoConfig;
19pub use workspace::manifest::{resolve_manifest_path, BuiltinProfile, CargoManifest, Profile};
20pub use workspace::{parse_workspace, CargoWorkspace, ModificationResult, ModifiedWorkspace};
21
22mod predefined;
23mod template;
24mod toml;
25mod utils;
26mod workspace;