]> Untitled Git - bdk/commit
Emit specific compile error if incompatible features are enabled
authorLucas Soriano del Pino <l.soriano.del.pino@gmail.com>
Wed, 3 Feb 2021 06:29:24 +0000 (17:29 +1100)
committerLucas Soriano del Pino <l.soriano.del.pino@gmail.com>
Wed, 3 Feb 2021 07:16:13 +0000 (18:16 +1100)
commit693fb24e025185573d2a40031780bf501754dde6
tree6d18bd40ef763409c809c7be7cde2a5e7f187bf0
parent6689384c8aa40958485a35b6f753c446539fb274
Emit specific compile error if incompatible features are enabled

This is motivated by the feature `electrum` being part of the
`default` features of this crate. It is easy to naively enable
`esplora` and `async-interface` and forget that `electrum` is enabled
by default, running into not so obvious compile errors.
src/lib.rs