From 757b9ef12bdbf6763aa5ed27a026b75a919608cf Mon Sep 17 00:00:00 2001 From: plebhash Date: Mon, 20 Jan 2025 12:22:50 -0300 Subject: [PATCH] cover `std` on `[package.metadata.docs.rs]` for `noise_sv2` and `codec_sv2`.. added via #1238 and #1346 --- protocols/v2/codec-sv2/Cargo.toml | 2 +- protocols/v2/noise-sv2/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/protocols/v2/codec-sv2/Cargo.toml b/protocols/v2/codec-sv2/Cargo.toml index 56a1d413e..1e75bd14d 100644 --- a/protocols/v2/codec-sv2/Cargo.toml +++ b/protocols/v2/codec-sv2/Cargo.toml @@ -31,4 +31,4 @@ with_serde = ["binary_sv2/with_serde", "serde", "framing_sv2/with_serde", "buffe with_buffer_pool = ["framing_sv2/with_buffer_pool"] [package.metadata.docs.rs] -features = ["with_buffer_pool", "noise_sv2"] +features = ["with_buffer_pool", "noise_sv2", "std"] \ No newline at end of file diff --git a/protocols/v2/noise-sv2/Cargo.toml b/protocols/v2/noise-sv2/Cargo.toml index 52810daa4..ba8fdf698 100644 --- a/protocols/v2/noise-sv2/Cargo.toml +++ b/protocols/v2/noise-sv2/Cargo.toml @@ -33,3 +33,6 @@ panic = "unwind" [profile.release] panic = "abort" + +[package.metadata.docs.rs] +features = ["std"]