rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra 410b820814
Merge rust-bitcoin/rust-bitcoin#1416: Add rand feature flag to the example documentation
f7a6d17143 Add rand feature flag to the example documentation (yancy)

Pull request description:

  It's confusing trying to follow the documentation [here](https://docs.rs/bitcoin/latest/bitcoin/util/address/index.html) unless you know to enable the `rand` feature flag.  This PR updates the docs so people know to enable the flag.

  ```
  22:35 < control> hello, how can i generate a simple wallet address using rust bitcoin? cant find working example
  22:45 < andytoshi> control: do you have a private key?
  22:45 < andytoshi> what kind of address do you want to generate?
  22:46 < andytoshi> my guess would be that you want to use bdk rather than rust-bitcoin directl
  22:48 < control> P2PKH address and generate private key. just as simple as bit library in python does
  22:52 < control> im trying to run this example
  22:52 < control> https://docs.rs/bitcoin/latest/bitcoin/util/address/index.html
  22:52 < control> but it says ^^^^ could not find `rand` in `secp256k1`
  ```

ACKs for top commit:
  apoelstra:
    ACK f7a6d17143
  Kixunil:
    ACK f7a6d17143

Tree-SHA512: 6d94f8ffa7797d1e7720a840d4f8bb0ac274507118597dff60631ad3d28dbe57e2341b87d6101e2a9f5fbcc2b1f0beb6d06f9dde48a480cb10a9a45c887f83a4
2022-11-29 14:22:18 +00:00
..
contrib Fail CI if docs build throws warnings 2022-11-21 10:35:49 +11:00
embedded Import bitcoin_hashes crate into hashes 2022-11-08 08:58:09 +11:00
examples Run cargo fmt 2022-11-18 13:11:07 +11:00
fuzz Merge rust-bitcoin/rust-bitcoin#1284: Import bitcoin hashes 2022-11-18 18:32:41 +00:00
src Merge rust-bitcoin/rust-bitcoin#1416: Add rand feature flag to the example documentation 2022-11-29 14:22:18 +00:00
tests Move psbt module to crate root module 2022-11-16 10:43:35 +11:00
CHANGELOG.md Move CHANGELOG to bitcoin crate 2022-11-08 08:40:44 +11:00
Cargo.toml Merge rust-bitcoin/rust-bitcoin#1344: Fix `no_std` when `bitcoinconsensus` is enabled 2022-11-05 13:42:50 +00:00