cargo_kit/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! `cargo-kit` is a Cargo subcommand that can apply preconfigured templates to your Cargo.toml manifest.
//!
//! Non-interactive command-line usage:
//! ```bash
//! cargo kit apply <template> <profile> [--nightly=on]
//! ```
//! Interactive command-line usage:
//! ```bash
//! cargo kit
//! ```
//!
//! You can also use this crate as a library, although it probably won't be very useful.

pub use predefined::*;
pub use template::{Template, TemplateItemId, KitOptions};
pub use toml::TomlValue;
pub use utils::get_core_count;
pub use workspace::config::CargoConfig;
pub use workspace::manifest::{resolve_manifest_path, BuiltinProfile, CargoManifest, Profile};
pub use workspace::{parse_workspace, CargoWorkspace, ModificationResult, ModifiedWorkspace};

mod predefined;
mod template;
mod toml;
mod utils;
mod workspace;