]> Untitled Git - bdk/commitdiff
Merge bitcoindevkit/bdk#1544: Remove crate-renaming
author志宇 <hello@evanlinjin.me>
Fri, 9 Aug 2024 16:18:17 +0000 (16:18 +0000)
committer志宇 <hello@evanlinjin.me>
Fri, 9 Aug 2024 16:18:37 +0000 (16:18 +0000)
318ce095f2adec9d03077ddf65470ff475547f39 refactor(chain): remove crate-renaming (志宇)

Pull request description:

  ### Description

  [Rust 1.60 introduces *"namespaced features"*](https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html#new-syntax-for-cargo-features) so we can add a dependency without implicitly also defining a feature of the same name.

  We can now get rid of crate-renaming and use "namespaced features" instead.

  Thanks to @LLFourn for pointing this out.

  ### Changelog notice

  * Remove crate-renaming in `bdk_chain` and use "namespaced features" instead.

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

ACKs for top commit:
  LLFourn:
    ACK 318ce095f2adec9d03077ddf65470ff475547f39

Tree-SHA512: 5e8f9002eda50dd73c6b38988d288f96d5c827d8e8ec6bdf6ad8da497cecd0f41e709158a96c9e9736a41b825a86ad2ed706b60eca0786976e551f6e25eb0c74


Trivial merge