fix: Run tests only if the miniscript feature is..
..enabled, enable it by default
This commit is contained in:
parent
0e3e136f6f
commit
1d294b734d
@ -26,6 +26,6 @@ rand = "0.8"
|
|||||||
proptest = "1.2.0"
|
proptest = "1.2.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std", "miniscript"]
|
||||||
std = ["bitcoin/std", "miniscript?/std"]
|
std = ["bitcoin/std", "miniscript?/std"]
|
||||||
serde = ["serde_crate", "bitcoin/serde", "miniscript?/serde"]
|
serde = ["serde_crate", "bitcoin/serde", "miniscript?/serde"]
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![cfg(feature = "miniscript")]
|
||||||
|
|
||||||
mod tx_template;
|
mod tx_template;
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
pub use tx_template::*;
|
pub use tx_template::*;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![cfg(feature = "miniscript")]
|
||||||
|
|
||||||
use rand::distributions::{Alphanumeric, DistString};
|
use rand::distributions::{Alphanumeric, DistString};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![cfg(feature = "miniscript")]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
mod common;
|
mod common;
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![cfg(feature = "miniscript")]
|
||||||
|
|
||||||
use std::ops::{Bound, RangeBounds};
|
use std::ops::{Bound, RangeBounds};
|
||||||
|
|
||||||
use bdk_chain::{
|
use bdk_chain::{
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![cfg(feature = "miniscript")]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
mod common;
|
mod common;
|
||||||
use bdk_chain::tx_graph::CalculateFeeError;
|
use bdk_chain::tx_graph::CalculateFeeError;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![cfg(feature = "miniscript")]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
mod common;
|
mod common;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user