Skip to content

[request] Need an option to install CLIs by cargo binstall #2943

@liigo

Description

@liigo

Question you want answered

How do I get started as soon as possible?

Where did you look for an answer?

the website

Page URL

https://tauri.app/start/create-project/

Additional context

when install create-tauri-app tauri-cli trunk, the cargo install is very slow.

Downloading
Building [=======================> ] 613/616: tauri-cli, tauri-utils
Building [=======================> ] 614/616: tauri-cli
Finished release profile [optimized] target(s) in 10m 56s

cargo binstall may be faster and then improve the user experience.


EDIT: when building trunk on windows, extra efforts maybe needed (to install openssl):

  It looks like you're compiling for MSVC but we couldn't detect an OpenSSL
  installation. If there isn't one installed then you can try the rust-openssl
  README for more information about how to download precompiled binaries of
  OpenSSL:

  https://github.com/sfackler/rust-openssl#windows

  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `trunk v0.21.2`, intermediate artifacts can be found at `E:\tmp\RUST_DIR\CARGO_TARGET_DIR`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

cargo binstall maybe help here (but I'm not sure).

Are you willing to work on this yourself?

  • I want to work on this myself

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussDoes this require further discussion before it's dealt with?enhancementDoes it add or improve content?

    Type

    No type

    Projects

    Status

    🪵 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions