crane icon indicating copy to clipboard operation
crane copied to clipboard

Tauri template?

Open stelcodes opened this issue 6 months ago • 2 comments

Is your feature request related to a problem? Please describe. No, I'm just a rust noob and I'm wondering what a tauri flake would look like with cranelib.

Describe the solution you'd like A flake in the example directory would be awesome.

Describe alternatives you've considered Using rustPlatform.buildRustPackage and cargo-tauri.hook.

Additional context Add any other context or screenshots about the feature request here.

stelcodes avatar Jun 20 '25 02:06 stelcodes

Hi @stelcodes ! We don't have a tauri template because I've never used it myself and no one has contributed a working example so far.

It might be a little stale but the best thing I can point you to is https://github.com/ipetkov/crane/pull/358 in case that has something of interest!

ipetkov avatar Jun 20 '25 19:06 ipetkov

Hello, just wanted to add that I think crane has issues with the tauri-plugin-* crates with Tauri v2 because they output to directories not in the target folder. Specifically they output/modify the permissions schemas present in gen/schemas and also something in their own source tree I believe. Not saying this is crane's fault or anything of course, just wanted to point it out as a potential obstacle.

Bwc9876 avatar Jun 29 '25 19:06 Bwc9876