This PR adds a Tauri plugin interface for the drag crate, targeting Tauri v1.
I also changed the repo structure a bit as a Cargo workspace with a packages folder to hold the NPM API package. It feels a little weird to have the package.json on the root of the repo with this layout, so I dropped that support for NPM git dependencies. We can reconsider that in the future, specially when we decide how we want to manage versions of the plugin for v1 vs v2 (should we have a create for each in the main branch? should we use separate branches, with the main one only including the plugin for the latest Tauri release?).
This PR adds a Tauri plugin interface for the
drag
crate, targeting Tauri v1.I also changed the repo structure a bit as a Cargo workspace with a
packages
folder to hold the NPM API package. It feels a little weird to have the package.json on the root of the repo with this layout, so I dropped that support for NPM git dependencies. We can reconsider that in the future, specially when we decide how we want to manage versions of the plugin for v1 vs v2 (should we have a create for each in the main branch? should we use separate branches, with the main one only including the plugin for the latest Tauri release?).