From 94c4b3d11e167bf6574487b2ae4db3232fd5e1aa Mon Sep 17 00:00:00 2001 From: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com> Date: Mon, 1 Dec 2025 19:15:37 -0500 Subject: [PATCH] Update setup instructions for Cargo config generation Clarified the process for generating .cargo/config.toml using `cargo run -p xtask -- setup` in both .cargo/README.md and README.md. Updated documentation to reflect the new setup command and its purpose. --- .cargo/README.md | 10 ++++++++-- README.md | 3 +-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.cargo/README.md b/.cargo/README.md index 23569eafd..02e58a3ba 100644 --- a/.cargo/README.md +++ b/.cargo/README.md @@ -1,3 +1,9 @@ -## Attention +## Cargo Config -Make sure to execute the `setup-system` script after any modification to `cargo.toml`. +The `config.toml` file is generated from `config.toml.mustache` by running: + +```bash +cargo run -p xtask -- setup +``` + +This file is gitignored because it contains machine-specific paths. After setup, you can use `cargo xtask` for subsequent commands. diff --git a/README.md b/README.md index f9043820f..20e09ae97 100644 --- a/README.md +++ b/README.md @@ -223,8 +223,7 @@ cd spacedrive # Install dependencies bun install -cargo install cargo-xtask # (if not already installed) -cargo xtask setup +cargo run -p xtask -- setup # generates .cargo/config.toml with aliases # Run the desktop app (automatically starts daemon) cd apps/tauri