BitBoxSwiss / bitbox-api-rs

BitBox02 client library for Rust and TypeScript
Apache License 2.0
5 stars 9 forks source link

consider splitting NPM package into a separate repo #60

Open benma opened 8 months ago

benma commented 8 months ago

This repo contains both the Rust package and the NPM package. To accomplish this, we are swimming against the tide quite heavily:

Now that we have all of this we could roll with it, but by now I got the feeling that we should have just done it in separate repos, where the NPM repo just includes the Rust package as a dependency. Then all the above workarounds become unnecessary.

The workarounds above incurs a mental overhead to anyone looking at this repo - separate repos would be straight forward to understand and work with.

Potential downside: development of new features could be a bit more difficult as one would have to use a dev-version of the Rust package in the NPM repo to develop a feature in both repos at once.

benma commented 2 months ago

Some months later, I still think it would be beneficial to split it into two repos for clarity.