]> Untitled Git - bdk/commit
Use no_run instead of ignore
authorTobin Harding <me@tobin.cc>
Tue, 11 May 2021 01:10:54 +0000 (11:10 +1000)
committerAlekos Filini <alekos.filini@gmail.com>
Wed, 9 Jun 2021 09:29:57 +0000 (11:29 +0200)
commit3b446c9e1425cea3ed8e38eec7f27b8247e99db0
tree1fa74eae8cba3d9b1c369d823e1a231f9bf2a2d7
parent378167efcadffe67f6aae3f261f81955e8a8cbec
Use no_run instead of ignore

We have an attribute `no_run` that builds but does not run example code
in Rustdocs, this keeps the examples building as the codebase evolves.

use `no_run` and fix example code so it builds cleanly during test run.

Some examples that require the `electrum` feature to be available have
been feature-gated to make sure they aren't accidentally compiled when
that feature is not enabled.

Co-authored-by: Alekos Filini <alekos.filini@gmail.com>
src/lib.rs