chore: use hermit to install node, rust and protoc (#2766)
This commit is contained in:
@@ -28,7 +28,7 @@ fn default_version() -> String {
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
///
|
||||
/// use goose::recipe::Recipe;
|
||||
///
|
||||
/// // Using the builder pattern
|
||||
@@ -52,7 +52,7 @@ fn default_version() -> String {
|
||||
/// author: None,
|
||||
/// parameters: None,
|
||||
/// };
|
||||
/// ```
|
||||
///
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct Recipe {
|
||||
// Required fields
|
||||
@@ -166,7 +166,7 @@ impl Recipe {
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
///
|
||||
/// use goose::recipe::Recipe;
|
||||
///
|
||||
/// let recipe = Recipe::builder()
|
||||
@@ -175,7 +175,7 @@ impl Recipe {
|
||||
/// .instructions("Act as a helpful assistant")
|
||||
/// .build()
|
||||
/// .expect("Failed to build Recipe: missing required fields");
|
||||
/// ```
|
||||
///
|
||||
pub fn builder() -> RecipeBuilder {
|
||||
RecipeBuilder {
|
||||
version: default_version(),
|
||||
|
||||
Reference in New Issue
Block a user