Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How did you find out about cargo-cache? #64

Open
matthiaskrgr opened this issue Jul 24, 2019 · 14 comments
Open

How did you find out about cargo-cache? #64

matthiaskrgr opened this issue Jul 24, 2019 · 14 comments

Comments

@matthiaskrgr
Copy link
Owner

Hi, if you read this and use cargo cache, please let me know how you found out about this project and leave a comment on this ticket. :)
I am curious to know!

@demurgos
Copy link

I wanted to completely clear my cargo cache. I searched for cargo clear cache and this repo was one of the top results (using Duck Duck Go).

@Zooce
Copy link

Zooce commented Oct 13, 2019

Just learned about this on Twitter now and will be trying this out today: https://twitter.com/DappForce/status/1183111484911566848?s=09

@jmitchell
Copy link

I noticed cargo search --help suggests --offline might do something useful and figured it would inspect the cache. Turns out it doesn't (see also: rust-lang/cargo#1506).

$ cargo search --offline -- nom
error: can't make HTTP request in the offline mode

After some manual poking around in my ~/.cargo/registry/cache/ I searched the web for cargo search cache and found a link to this project on crates.io.

$ cargo install cargo-cache
$ cargo cache query nom
Registry cache sorted by name:
	nom-4.2.3: 115343
	nom-5.0.1: 128602

Registry source cache sorted by name:
	nom-4.2.3: 656802
	nom-5.0.1: 788878

It works! Thanks.

@didil
Copy link

didil commented Nov 17, 2019

I was actually looking for something different, a global cache for cargo builds across different projects ... But this also sounds very useful thanks :)

@matthiaskrgr
Copy link
Owner Author

You might be looking for sccache.

@twe4ked
Copy link

twe4ked commented Mar 10, 2020

Star from Jon!

Screen Shot 2020-03-11 at 10 20 14 am

@matthiaskrgr
Copy link
Owner Author

Thanks!

Also just found this twitter thread mentioning it: https://twitter.com/nick_r_cameron/status/1237481127129960448

@mzabaluev
Copy link

Explained in #76 (comment) (while advocating for a new feature).

@CPerezz
Copy link

CPerezz commented Jan 9, 2021

Had the same exact idea. Was gonna be my toy project. Now I'll need to find something new! hehehe.
Nice job with this crate!

@mainrs
Copy link

mainrs commented Mar 22, 2021

Found it on the issue tracker: rust-lang/cargo#3289

@seanfisk
Copy link

seanfisk commented Apr 16, 2021

I found this issue itself through the link generated from @sirwindfield's comment above 😁

My company has some Rust shared libraries hosted on a private Git server. I set up a launchd agent on macOS to add my identity to ssh-agent and wanted to make sure it was working. I was looking for a way to clear out downloaded Git repos that were cached so I could try again from a clean state. cargo-cache worked great!

@numero-744
Copy link

Seen it mentioned in Rust's Matrix channel, immediately installed 😃

@exoosh
Copy link

exoosh commented Jan 5, 2023

Found it via your comment in via rust-lang/cargo#3289

@peter-lyons-kehl
Copy link
Contributor

Hi Matthias,

I found about your cargo cache when low on disk space on my GIT/Rust partition :).

The source was some article about purging the cargo cache, and/or about cleaning up when cargo artifacts/cache is sick. Either way, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests