File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 2222//! To minimize dependencies, some functions are feature-gated. To generate
2323//! random keys or to re-randomize a context object, compile with the "rand"
2424//! feature. To de/serialize objects with serde, compile with "serde".
25+ //! **Important**: `serde` encoding is **not** the same as consensus encoding!
2526//!
2627//! Where possible, the bindings use the Rust type system to ensure that
2728//! API usage errors are impossible. For example, the library uses context
124125//! `global-context-less-secure`.)
125126//! * `global-context-less-secure` - enables global context without extra sidechannel protection.
126127//! * `serde` - implements serialization and deserialization for types in this crate using `serde`.
128+ //! **Important**: `serde` encoding is **not** the same as consensus encoding!
127129//! * `bitcoin_hashes` - enables interaction with the `bitcoin-hashes` crate (e.g. conversions).
128130
129131// Coding conventions
You can’t perform that action at this time.
0 commit comments