Skip to content

Commit

Permalink
Update build script to include rpc feature
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarshimaitra committed Oct 7, 2021
1 parent 012ec3a commit d58541d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ fn main() {
let esplora = env::var_os("CARGO_FEATURE_ESPLORA").map(|_| "esplora".to_string());
let compact_filters =
env::var_os("CARGO_FEATURE_COMPACT_FILTERS").map(|_| "compact_filters".to_string());
let rpc = env::var_os("CARGO_FEATURE_RPC").map(|_| "rpc".to_string());

let blockchain_features: Vec<String> = vec![electrum, esplora, compact_filters]
let blockchain_features: Vec<String> = vec![electrum, esplora, compact_filters, rpc]
.iter()
.map(|f| f.to_owned())
.flatten()
Expand Down

0 comments on commit d58541d

Please sign in to comment.