You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.
rgb-node builds fine for me as its own crate, but when I try to include it in a separate project, I get this error upon cargo check or cargo build:
error: failed to select a version for secp256k1-sys.
... required by package secp256k1 v0.18.0
... which is depended on by bitcoin v0.24.0
... which is depended on by miniscript v2.0.0
... which is depended on by lnpbp v0.1.0-rc.2 (https://github.com/LNP-BP/rust-lnpbp?tag=v0.1.0-rc.2#96832d9b)
... which is depended on by rgb_node v0.1.0-rc.2 (https://github.com/LNP-BP/rgb-node?tag=v0.1.0-rc.2#a46423d6)
... which is depended on by $MY_PROJECT
versions that meet the requirements ^0.2.0 are: 0.2.0
the package secp256k1-sys links to the native library rustsecp256k1_v0_2_0, but it conflicts with a previous package which links to rustsecp256k1_v0_2_0 as well:
package secp256k1-sys v0.3.0
... which is depended on by secp256k1 v0.19.0
... which is depended on by bitcoin v0.25.0
... which is depended on by electrum-client v0.3.0-beta.1
... which is depended on by rgb_node v0.1.0-rc.2 (https://github.com/LNP-BP/rgb-node?tag=v0.1.0-rc.2#a46423d6)
... which is depended on by $MY_PROJECT
failed to select a version for secp256k1-sys which could resolve this conflict
This error is also present for the v0.1.0-rc.1 tag, but not v0.1.0-beta.4.
The text was updated successfully, but these errors were encountered:
So you need to add this to your project using either RGB Node or LNP/BP Core libraries.
This is temporary: with the release of upstream rust-bitcoin crates we will be able to do a release of our libs as well (hoping this will happen this week) and this fix would not be required anymore
rgb-node builds fine for me as its own crate, but when I try to include it in a separate project, I get this error upon cargo check or cargo build:
error: failed to select a version for
secp256k1-sys
.... required by package
secp256k1 v0.18.0
... which is depended on by
bitcoin v0.24.0
... which is depended on by
miniscript v2.0.0
... which is depended on by
lnpbp v0.1.0-rc.2 (https://github.com/LNP-BP/rust-lnpbp?tag=v0.1.0-rc.2#96832d9b)
... which is depended on by
rgb_node v0.1.0-rc.2 (https://github.com/LNP-BP/rgb-node?tag=v0.1.0-rc.2#a46423d6)
... which is depended on by
$MY_PROJECT
versions that meet the requirements
^0.2.0
are: 0.2.0the package
secp256k1-sys
links to the native libraryrustsecp256k1_v0_2_0
, but it conflicts with a previous package which links torustsecp256k1_v0_2_0
as well:package
secp256k1-sys v0.3.0
... which is depended on by
secp256k1 v0.19.0
... which is depended on by
bitcoin v0.25.0
... which is depended on by
electrum-client v0.3.0-beta.1
... which is depended on by
rgb_node v0.1.0-rc.2 (https://github.com/LNP-BP/rgb-node?tag=v0.1.0-rc.2#a46423d6)
... which is depended on by
$MY_PROJECT
failed to select a version for
secp256k1-sys
which could resolve this conflictThis error is also present for the v0.1.0-rc.1 tag, but not v0.1.0-beta.4.
The text was updated successfully, but these errors were encountered: