Skip to content

Commit

Permalink
chore: update 'sails-rs' version in README.md and program template
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky committed Aug 13, 2024
1 parent 2cea5c2 commit 064ca8d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@ different languages and executed in different runtimes
> [!NOTE]
> The Sails library is published under the name `sails-rs` on `crates-io`.
>
> Versions "<= 0.2.0" are pinned to v1.4.2 of gear libs.
> Versions "version <= 0.2.1" are pinned to v1.4.2 of gear libs.
> Versions "0.2.1 < version <= 0.3.0" are pinned to v1.5.0 of gear libs.
## Getting started

Add the following to your `Cargo.toml`
Either use Sails CLI:
```bash
cargo install sails-cli
cargo sails new-program my-ping
```

Or add the following to your `Cargo.toml`
```toml
[dependencies]
sails-rs = "*"
Expand Down
2 changes: 1 addition & 1 deletion templates/set-vars.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ variable::set("program-name-snake", project_name.to_snake_case());

// Set versions of used crates
variable::set("mockall-version", "0.12");
variable::set("sails-rs-version", "0.2.1");
variable::set("sails-rs-version", "0.3.0");
variable::set("tokio-version", "1.39");

0 comments on commit 064ca8d

Please sign in to comment.