| Crates.io | cargo-warehouse |
| lib.rs | cargo-warehouse |
| version | 2.3.0 |
| created_at | 2025-04-06 21:40:41.900275+00 |
| updated_at | 2025-05-22 15:30:44.895687+00 |
| description | A simple cargo script for set up a local cache for compiled dependencies |
| homepage | |
| repository | https://github.com/Nichokas/cargo-warehouse/ |
| max_upload_size | |
| id | 1623417 |
| size | 35,111 |
cargo install cargo-warehouse
cargo warehouse
This will:
cargo warehouse -f path/to/file.rs
This mode allows you to run a single Rust file without setting up a full project structure:
.rs file---cargo
[dependencies]
comfy-print = "0.3.0"
---
use comfy_print::comfy_println;
fn main() {
comfy_println!("heyy!!!!");
}
In shared cache mode, the tool creates symbolic links from your project's target directory subdirectories to a centralized cache in your home directory. This means:
In single file mode, the tool:
On some cases (like using windows) requires admin privileges to create symbolic links; on unix-based systems its not needed unless you dont have rw permissions.
This project is licensed under the MIT License - see the LICENSE file for details.