Skip to main content

ready_set_rust/
templates.rs

1//! Embedded template files written by the Rust provider.
2
3/// `rust-toolchain.toml`.
4pub const RUST_TOOLCHAIN: &str = include_str!("templates/rust-toolchain.toml");
5
6/// `rustfmt.toml`.
7pub const RUSTFMT: &str = include_str!("templates/rustfmt.toml");
8
9/// `clippy.toml`.
10pub const CLIPPY: &str = include_str!("templates/clippy.toml");
11
12/// `.gitignore` content used inside the managed block.
13pub const GITIGNORE: &str = include_str!("templates/gitignore");
14
15/// `[workspace.lints.*]` block written into the root `Cargo.toml`.
16pub const WORKSPACE_LINTS: &str = include_str!("templates/workspace-lints.toml");
17
18/// `.gitignore` managed-block opening marker.
19pub const GITIGNORE_BEGIN: &str = "# >>> ready-set managed >>>";
20
21/// `.gitignore` managed-block closing marker.
22pub const GITIGNORE_END: &str = "# <<< ready-set managed <<<";