tauri-apps / tauri-apps/tauri-docs
[request] Need an option to install CLIs by `cargo binstall`
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 1.1k
- Forks
- 887
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 48
Description
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
Finishedreleaseprofile [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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the create-project installation guidance at https://tauri.app/start/create-project/ and inspect the corresponding documentation source. Check whether cargo binstall supports create-tauri-app, tauri-cli, and trunk, then document the supported faster installation path and verify the resulting commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, developer-experience, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100