From e1373774d459dc8847d72781eb8ed6297abf64d4 Mon Sep 17 00:00:00 2001 From: Georges Palauqui Date: Wed, 18 Dec 2024 10:23:15 +0100 Subject: [PATCH] add a no_std note in the README --- protocols/v2/noise-sv2/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protocols/v2/noise-sv2/README.md b/protocols/v2/noise-sv2/README.md index 481ee8a2fb..d2b5dcd9f5 100644 --- a/protocols/v2/noise-sv2/README.md +++ b/protocols/v2/noise-sv2/README.md @@ -22,6 +22,12 @@ To include this crate in your project, run: cargo add noise_sv2 ``` +This crate can be built with the following feature flags: + +- `std`: Enable usage of rust `std` library, enabled by default. + +In order to use this crate in a `#![no_std]` environment, use the `--no-default-features` to remove the `std` feature. + ### Examples This crate provides example on establishing a secure line: