From c73998c52ea9c3442417b48d9d9da499155a317f Mon Sep 17 00:00:00 2001 From: "Dr. Maxim Orlovsky" Date: Sun, 25 Dec 2022 19:49:50 +0100 Subject: [PATCH] Fix formatting --- commit_verify/src/lib.rs | 4 ++-- strict_encoding/src/lib.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commit_verify/src/lib.rs b/commit_verify/src/lib.rs index dfb73f94..cab1c155 100644 --- a/commit_verify/src/lib.rs +++ b/commit_verify/src/lib.rs @@ -31,10 +31,10 @@ extern crate bitcoin_hashes; #[cfg(feature = "serde")] #[macro_use] extern crate serde_crate as serde; -#[cfg(feature = "serde")] -extern crate serde_with; #[cfg(feature = "lnpbp_secp256k1zkp")] extern crate lnpbp_secp256k1zkp as secp256k1zkp; +#[cfg(feature = "serde")] +extern crate serde_with; pub mod commit_encode; pub mod commit_verify; diff --git a/strict_encoding/src/lib.rs b/strict_encoding/src/lib.rs index 5c5331e3..e6a90bc3 100644 --- a/strict_encoding/src/lib.rs +++ b/strict_encoding/src/lib.rs @@ -44,9 +44,9 @@ //! - `miniscript`: types defined in bitcoin Miniscript //! - `crypto`: non-bitcoin cryptographic primitives, which include Ed25519 //! curve, X25519 signatures from `ed25519-dalek` library and pedersen -//! commitments + bulletproofs from `lnpbp_secp256k1zkp` library. Encodings for -//! other cryptography-related types, such as Secp256k1 and hashes, are always -//! included as a part of the library - see NB below. +//! commitments + bulletproofs from `lnpbp_secp256k1zkp` library. Encodings +//! for other cryptography-related types, such as Secp256k1 and hashes, are +//! always included as a part of the library - see NB below. //! //! NB: this crate requires `bitcoin` as an upstream dependency since many of //! strict-encoded formats are standardized as using *bitcoin consensus