Skip to content

Commit

Permalink
Update install instructions with --locked (#229)
Browse files Browse the repository at this point in the history
See #193
  • Loading branch information
emilk authored Jul 31, 2024
1 parent 2122bd6 commit c4e14db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion puffin_http/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub fn consume_message(stream: &mut impl std::io::Read) -> anyhow::Result<puffin
std::cmp::Ordering::Equal => {}
std::cmp::Ordering::Greater => {
anyhow::bail!(
"puffin server is using a newer protocol version ({}) than the client ({}). Update puffin_viewer with 'cargo install puffin_viewer'.",
"puffin server is using a newer protocol version ({}) than the client ({}). Update puffin_viewer with 'cargo install puffin_viewer --locked'.",
server_version,
crate::PROTOCOL_VERSION
);
Expand Down
2 changes: 1 addition & 1 deletion puffin_viewer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Use [`puffin_http`](https://github.com/EmbarkStudios/puffin/tree/main/puffin_http) to publish puffin events over TCP. Then connect to it with `puffin_viewer`:

``` sh
cargo install puffin_viewer
cargo install puffin_viewer --locked
puffin_viewer --url 127.0.0.1:8585
```

Expand Down
2 changes: 1 addition & 1 deletion puffin_viewer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ impl eframe::App for PuffinViewer {
ui.heading("Puffin Viewer, on the web");
ui.horizontal_wrapped(|ui| {
ui.label("It is recommended that you instead use the native version: ");
ui.code("cargo install puffin_viewer");
ui.code("cargo install puffin_viewer --locked");
});
ui.hyperlink("https://github.com/EmbarkStudios/puffin");
});
Expand Down

0 comments on commit c4e14db

Please sign in to comment.