From 1e90cf59d69b2530a1bda6c62f0f06bc7f9a7fd4 Mon Sep 17 00:00:00 2001 From: Nils Ponsard | Nitrokey Date: Mon, 18 Sep 2023 17:24:50 +0200 Subject: [PATCH] doc: update readme --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7263269a..e2660675 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ This module allows to use a [Nitrokey NetHSM](https://www.nitrokey.com/products/ See the [list of supported features](./features.md) for more details. +Minimum supported rust version (MSRV): 1.70 ## Download Download the latest binary from the [release page](https://github.com/Nitrokey/nethsm-pkcs11/releases). @@ -25,7 +26,7 @@ Follow the [documentation](https://docs.nitrokey.com/nethsm/pkcs11-setup.html) f cargo build --release ``` -The dynamic library will be in `target/release/libnethsm_pkcs11.so`. +The dynamic library will be in `${CARGO_TARGET_DIR:-target}/release/libnethsm_pkcs11.so`. ### Alpine Linux @@ -41,13 +42,6 @@ To build on Alpine Linux you will need to add the C argument `target-feature=-cr RUSTFLAGS="-C target-feature=-crt-static" cargo build --release ``` - -## Test Function (dev) - -``` -cargo build && RUST_LOG=trace P11NETHSM_CONFIG_FILE=./p11nethsm.conf NETHSM_PASS=TEST pkcs11-tool --module target/debug/libnethsm_pkcs11.so -I -``` - ## Debug Options Set the `RUST_LOG` env variable to `trace`, `debug`, `info`, `warn` or `err` to change the logging level.