Release v0.4.2

This patch releases adds support for the new search index format (Rust
1.52.0 and later).
This commit is contained in:
Robin Krahl 2021-06-06 14:57:37 +02:00
parent 686b8bb1b0
commit 2955560060
No known key found for this signature in database
GPG Key ID: 8E9B0870524F69D8
4 changed files with 12 additions and 9 deletions

View File

@ -5,7 +5,10 @@ SPDX-License-Identifier: MIT
# Changelog for rusty-man
## Unreleased
## v0.4.2 (2021-06-06)
This patch releases adds support for the new search index format (Rust 1.52.0
and later).
- Add `o` command for opening a documentation item to the tui viewer.
- Add tests for Rust 1.48.0, 1.49.0, 1.50.0, 1.51.0, 1.52.0 and 1.52.1.

2
Cargo.lock generated
View File

@ -1108,7 +1108,7 @@ dependencies = [
[[package]]
name = "rusty-man"
version = "0.4.1"
version = "0.4.2"
dependencies = [
"anyhow",
"assert_cmd",

View File

@ -3,7 +3,7 @@
[package]
name = "rusty-man"
version = "0.4.1"
version = "0.4.2"
authors = ["Robin Krahl <robin.krahl@ireas.org>"]
edition = "2018"
description = "Command-line viewer for rustdoc documentation"

View File

@ -26,7 +26,7 @@ To compile rusty-man, you need Rust 1.40 or later.
```
2. Optional: Checkout the latest release:
```
$ git checkout v0.4.1
$ git checkout v0.4.2
```
3. Optional: Verify the signature of the latest commit:
```
@ -47,18 +47,18 @@ To compile rusty-man, you need Rust 1.40 or later.
1. Download the tarball for the latest rusty-man release (see the [release
list][]) and optionally its signature:
```
$ curl -OJ "https://git.sr.ht/~ireas/rusty-man/archive/v0.4.1.tar.gz"
$ curl -OJ "https://git.sr.ht/~ireas/rusty-man/archive/v0.4.2.tar.gz"
```
2. Optional: Download and verify the signature of the tarball:
```
$ curl -O "https://git.sr.ht/~ireas/rusty-man/refs/v0.4.1/rusty-man-v0.4.1.tar.gz.asc"
$ curl -O "https://git.sr.ht/~ireas/rusty-man/refs/v0.4.2/rusty-man-v0.4.2.tar.gz.asc"
$ curl -s "https://pgp.ireas.org/0x6D533958F070C57C.txt" | gpg --import
$ gpg --verify rusty-man-v0.4.1.tar.gz.asc
$ gpg --verify rusty-man-v0.4.2.tar.gz.asc
```
3. Extract the tarball:
```
$ tar -xf rusty-man-v0.4.1.tar.gz
$ cd rusty-man-v0.4.1
$ tar -xf rusty-man-v0.4.2.tar.gz
$ cd rusty-man-v0.4.2
```
4. Compile rusty-man:
```