Skip to main content

ready_set_rust/
ready_set_toml.rs

1//! Create the `.ready-set.toml` project meta file.
2
3/// Render the meta file content.
4#[must_use]
5pub fn render(_cargo_workspace: bool) -> String {
6    String::from(
7        "[ready-set]\n\
8         schema_version = 2\n\
9         profile = \"rust-workspace\"\n\
10         \n\
11         [capabilities.workspace]\n\
12         relevance = \"required\"\n\
13         provider = \"rust\"\n\
14         \n\
15         [capabilities.toolchain]\n\
16         relevance = \"required\"\n\
17         provider = \"rust\"\n\
18         \n\
19         [capabilities.formatting]\n\
20         relevance = \"required\"\n\
21         provider = \"rust\"\n\
22         \n\
23         [capabilities.linting]\n\
24         relevance = \"required\"\n\
25         provider = \"rust\"\n",
26    )
27}