File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ extern crate bitcoin_hashes;
3131#[ cfg( feature = "serde" ) ]
3232#[ macro_use]
3333extern crate serde_crate as serde;
34- #[ cfg( feature = "serde" ) ]
35- extern crate serde_with;
3634#[ cfg( feature = "lnpbp_secp256k1zkp" ) ]
3735extern crate lnpbp_secp256k1zkp as secp256k1zkp;
36+ #[ cfg( feature = "serde" ) ]
37+ extern crate serde_with;
3838
3939pub mod commit_encode;
4040pub mod commit_verify;
Original file line number Diff line number Diff line change 4444//! - `miniscript`: types defined in bitcoin Miniscript
4545//! - `crypto`: non-bitcoin cryptographic primitives, which include Ed25519
4646//! curve, X25519 signatures from `ed25519-dalek` library and pedersen
47- //! commitments + bulletproofs from `lnpbp_secp256k1zkp` library. Encodings for
48- //! other cryptography-related types, such as Secp256k1 and hashes, are always
49- //! included as a part of the library - see NB below.
47+ //! commitments + bulletproofs from `lnpbp_secp256k1zkp` library. Encodings
48+ //! for other cryptography-related types, such as Secp256k1 and hashes, are
49+ //! always included as a part of the library - see NB below.
5050//!
5151//! NB: this crate requires `bitcoin` as an upstream dependency since many of
5252//! strict-encoded formats are standardized as using *bitcoin consensus
You can’t perform that action at this time.
0 commit comments