mirror of
				https://github.com/Swatinem/rust-cache.git
				synced 2025-10-31 19:33:48 +00:00 
			
		
		
		
	update readme
This commit is contained in:
		
							parent
							
								
									da5df52d2f
								
							
						
					
					
						commit
						fb2efae33d
					
				
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @ -15,6 +15,7 @@ The cache currently caches the following directories: | ||||
| 
 | ||||
| - `~/.cargo/registry/index` | ||||
| - `~/.cargo/registry/cache` | ||||
| - `~/.cargo/git` | ||||
| - `./target` | ||||
| 
 | ||||
| This cache is automatically keyed by: | ||||
| @ -31,5 +32,10 @@ In particular, no caching of workspace crates will be done. For | ||||
| this reason, this action will automatically set `CARGO_INCREMENTAL=0` to | ||||
| disable incremental compilation. | ||||
| 
 | ||||
| **TODO**: The `~/.cargo/git/db` database is not yet persisted, support will be | ||||
| added at a later point. | ||||
| The action will try to restore from a previous `Cargo.lock` version as well, so | ||||
| lockfile updates should only re-build changed dependencies. | ||||
| 
 | ||||
| Additionally, the action automatically works around | ||||
| [cargo#8603](https://github.com/rust-lang/cargo/issues/8603) / | ||||
| [actions/cache#403](https://github.com/actions/cache/issues/403) which would | ||||
| otherwise corrupt the cache on macOS builds. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user