From d50039f758cc5520b30a0ca65c8d8f77cef949cd Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Tue, 1 Jan 2019 15:30:37 -0800 Subject: Update proposed installation methods sections This change makes the following set of changes to the installation sections: - Note that Rust and Cargo are implicit dependencies - Remove the notice about the hid crate being required from the "From Source" section as that is no longer a requirement with the switch to using the nitrokey crate - Mention that from source compilation should happen from the nitrocli/ subfolder --- nitrocli/README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/nitrocli/README.md b/nitrocli/README.md index 32e096e..e0efab9 100644 --- a/nitrocli/README.md +++ b/nitrocli/README.md @@ -70,7 +70,8 @@ the [`man` page](doc/nitrocli.1.pdf). Installation ------------ -The following dependencies are required: +In addition to Rust itself and Cargo, its package management tool, the +following dependencies are required: - **hidapi**: In order to provide USB access this library is used. - **GnuPG**: The `gpg-connect-agent` program allows the user to enter PINs. @@ -83,20 +84,15 @@ Packages are available for: ebuild #### From Crates.io -**nitrocli** is [published][nitrocli-cratesio] on crates.io. If an -installation from the checked-out source code is not desired, a -quick-and-dirty local installation can happen via: +**nitrocli** is [published][nitrocli-cratesio] on crates.io and can +directly be installed from there: ```bash $ cargo install nitrocli --root=$PWD/nitrocli ``` #### From Source -In order to compile the program the `hid` crate needs to be available -which allows to access the nitrokey as a USB HID device. This crate and -its dependencies are contained in the form of subrepos in compatible and -tested versions. Cargo is required to build the program. - -The build is as simple as running: +After cloning the repository and changing into the `nitrocli` subfolder, +the build is as simple as running: ```bash $ cargo build --release ``` -- cgit v1.2.3