@@ -15,11 +15,11 @@ rust-version = "1.57"
1515[dependencies ]
1616log = " =0.4.18"
1717rand = " ^0.8"
18- miniscript = { version = " 9" , features = [" serde" ] }
19- bitcoin = { version = " 0.29" , features = [" serde" , " base64" , " rand" ] }
18+ miniscript = { version = " 9" , features = [" serde" ], default-features = false }
19+ bitcoin = { version = " 0.29" , features = [" serde" , " base64" , " rand" ], default-features = false }
2020serde = { version = " ^1.0" , features = [" derive" ] }
2121serde_json = { version = " ^1.0" }
22- bdk_chain = { path = " ../chain" , version = " 0.4.0" , features = [" miniscript" , " serde" ] }
22+ bdk_chain = { path = " ../chain" , version = " 0.4.0" , features = [" miniscript" , " serde" ], default-features = false }
2323
2424# Optional dependencies
2525hwi = { version = " 0.5" , optional = true , features = [ " use-miniscript" ] }
@@ -29,17 +29,15 @@ bip39 = { version = "1.0.1", optional = true }
2929getrandom = " 0.2"
3030js-sys = " 0.3"
3131
32-
3332[features ]
3433default = [" std" ]
35- std = []
34+ std = [" bitcoin/std " , " miniscript/std " , " bdk_chain/std " ]
3635compiler = [" miniscript/compiler" ]
3736all-keys = [" keys-bip39" ]
3837keys-bip39 = [" bip39" ]
3938hardware-signer = [" hwi" ]
4039test-hardware-signer = [" hardware-signer" ]
4140
42-
4341# This feature is used to run `cargo check` in our CI targeting wasm. It's not recommended
4442# for libraries to explicitly include the "getrandom/js" feature, so we only do it when
4543# necessary for running our CI. See: https://docs.rs/getrandom/0.2.8/getrandom/#webassembly-support
@@ -52,12 +50,10 @@ env_logger = "0.7"
5250base64 = " ^0.13"
5351assert_matches = " 1.5.0"
5452
55-
5653[package .metadata .docs .rs ]
5754all-features = true
5855rustdoc-args = [" --cfg" , " docsrs" ]
5956
60-
6157[[example ]]
6258name = " mnemonic_to_descriptors"
6359path = " examples/mnemonic_to_descriptors.rs"
0 commit comments