From 65a2e09b2d2c606c0d36692add113daae76bb456 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 26 Nov 2021 19:57:37 +0000 Subject: [PATCH 1/4] rage: Merge installation methods into a single table --- README.md | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 8482e066..437205b9 100644 --- a/README.md +++ b/README.md @@ -127,23 +127,14 @@ encrypted to a specific public key. ## Installation -On macOS or Linux, you can use Homebrew: - -``` -brew tap str4d.xyz/rage https://str4d.xyz/rage -brew install rage -``` +| Environment | CLI command | +|-------------|-------------| +| Cargo (Rust 1.51+) | `cargo install rage` | +| Homebrew (macOS or Linux) | `brew tap str4d.xyz/rage https://str4d.xyz/rage`
`brew install rage` | On Windows, Linux, and macOS, you can use the [pre-built binaries](https://github.com/str4d/rage/releases). -If your system has Rust 1.51+ installed (either via `rustup` or a system -package), you can build directly from source: - -``` -cargo install rage -``` - > Note: previously the `rage` suite of tools was provided in the `age` Rust > crate. This is no longer the case; `age` now only contains the Rust library. From 29a0dceace8716637c85acf7fa73b1b666c3dd58 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 26 Nov 2021 19:57:52 +0000 Subject: [PATCH 2/4] rage: Add installation method for openSUSE Tumbleweed Closes str4d/rage#210. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 437205b9..65278ee0 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,7 @@ encrypted to a specific public key. |-------------|-------------| | Cargo (Rust 1.51+) | `cargo install rage` | | Homebrew (macOS or Linux) | `brew tap str4d.xyz/rage https://str4d.xyz/rage`
`brew install rage` | +| openSUSE Tumbleweed | `zypper install rage-encryption` | On Windows, Linux, and macOS, you can use the [pre-built binaries](https://github.com/str4d/rage/releases). From a9fbe500e1dabb05e032392ae1d6c86c93e12cde Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 26 Nov 2021 19:58:20 +0000 Subject: [PATCH 3/4] rage: Remove README note about binaries in age crate The binaries were moved out of the age crate in 0.3.0 in early 2020, so we can assume users will find the rage crate now. --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 65278ee0..931948dc 100644 --- a/README.md +++ b/README.md @@ -136,9 +136,6 @@ encrypted to a specific public key. On Windows, Linux, and macOS, you can use the [pre-built binaries](https://github.com/str4d/rage/releases). -> Note: previously the `rage` suite of tools was provided in the `age` Rust -> crate. This is no longer the case; `age` now only contains the Rust library. - Help from new packagers is very welcome. ### Feature flags From c5dcd7bdeaed5aca4523634510fdd7d8d787c8d8 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 26 Nov 2021 20:00:05 +0000 Subject: [PATCH 4/4] rage: Add README note about how to use the feature flags --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 931948dc..c5b8fe28 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,10 @@ Help from new packagers is very welcome. ### Feature flags +When building with Cargo, you can configure rage using `--no-default-features` +and `--features comma,separated,flags` to enable or disable the following +feature flags: + - `mount` enables the `rage-mount` tool, which can mount age-encrypted TAR or ZIP archives as read-only. It is currently only usable on Unix systems, as it relies on `libfuse`.