Skip to content

Feature-gate electrsd dependency #101

Description

@gerau

Describe the feature

Compiling the project that uses smplx for the WASM target (wasm32-unknown-unknown) would fail with the following error:

error: The target OS is "unknown" or "none", so it's unsupported by the errno crate.

The errno crate in the tree is a dependency of the electrsd crate. I'm not sure if electrsd would be needed in the final product, other than in local tests, so it probably would be better to lock it behind dev dependency or feature.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions