rust-bitcoin / rust-bitcoincore-rpc

Rust RPC client library for the Bitcoin Core JSON-RPC API.
340 stars 255 forks source link

Add "rand" feature #342

Closed tcharding closed 6 months ago

tcharding commented 6 months ago

Currently we activate the "bitcoin/rand-std" feature unconditionally in json. Some users may not wish to use the bitcoin "rand" feature.

Add a "rand" feature to json and client and use it to activate "rand-std" in bitcoin.

The crates currently have no features, this is the first. In order to be less of a breaking change also add a "default" feature and enable "rand" from "default".

tcharding commented 6 months ago

Replaces #193