@@ -15,8 +15,10 @@ all-features = true
1515rustdoc-args = [" --cfg" , " docsrs" ]
1616
1717[features ]
18- default = [" time" ]
19- time = []
18+ default = [" time" , " rgb-native" ]
19+ time = [" dep:web-time" ]
20+ rgb-native = [" lightning/rgb-native" ]
21+ rgb-wasm = [" lightning/rgb-wasm" ]
2022esplora-async = [" async-interface" , " esplora-client/async" , " esplora-client/tokio" , " futures" ]
2123esplora-async-https = [" esplora-async" , " esplora-client/async-https-rustls" ]
2224esplora-blocking = [" esplora-client/blocking" ]
@@ -38,9 +40,10 @@ bitcoin = { version = "0.32.2", default-features = false }
3840futures = { version = " 0.3" , optional = true }
3941esplora-client = { version = " 0.12" , default-features = false , optional = true }
4042electrum-client = { version = " 0.24.0" , optional = true , default-features = false , features = [" proxy" ] }
43+ web-time = { version = " 1.1" , optional = true }
4144
4245[dev-dependencies ]
43- lightning = { version = " 0.2.0" , path = " ../lightning" , default-features = false , features = [" std" , " _test_utils" ] }
46+ lightning = { version = " 0.2.0" , path = " ../lightning" , default-features = false , features = [" std" , " _test_utils" , " rgb-native " ] }
4447tokio = { version = " 1.35.0" , features = [" macros" ] }
4548
4649[target .'cfg(not(target_os = "windows"))' .dev-dependencies ]
0 commit comments