LtbLightning / bdk-flutter

Bitcoin Development Kit - Flutter Package
MIT License
63 stars 29 forks source link

flutter_rust_bridge version incompatibility #150

Open ethicnology opened 1 week ago

ethicnology commented 1 week ago

Hey there,

I would like to ask if there is any reason to restrict flutter_rust_bridge between >=2.0.0 and <2.1.0 instead of ^2.0.0 or ^2.1.0 ?

This create incompatibility with packages that rely on more updated versions of flutter_rust_bridge, currently ^2.6.0

Example:

flutter pub add bip85

Because every version of bip85 depends on flutter_rust_bridge ^2.6.0 and every version of bdk_flutter
  from git depends on flutter_rust_bridge >=2.0.0 <2.1.0, bip85 is incompatible with bdk_flutter from
  git.
Hamaad-coder commented 1 day ago

Simple remove version from flutter_rust_bridge: ^version to flutter_rust_bridge: empty in pubspec.yaml file. It will automatically pick version.