File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -327,8 +327,24 @@ Documentation updates:
327327## msrv-policy  
328328-  [ #9930  ] ( https://github.com/rust-lang/cargo/issues/9930 )  (MSRV-aware resolver)
329329
330- The ` msrv-policy `  feature enables experiments in MSRV-aware policy for cargo in
331- preparation for an upcoming RFC.
330+ Catch-all unstable feature for MSRV-aware cargo features under
331+ [ RFC 2495] ( https://github.com/rust-lang/rfcs/pull/2495 ) .
332+ 
333+ ### MSRV-aware cargo add  
334+ 
335+ This was stabilized in 1.79 in [ #13608  ] ( https://github.com/rust-lang/cargo/pull/13608 ) .
336+ 
337+ ### MSRV-aware resolver  
338+ 
339+ By default, ` -Zmsrv-policy `  enables an MSRV-aware resolver.
340+ The resolver will prefer dependencies with a ` package.rust-version `  that is the same or newer as your project's MSRV.
341+ Your project's MSRV is determined by taking the lowest ` package.rust-version `  set in you workspace.
342+ If there is none set, ` rustc -V `  will be used to pick up the rust version from rustup's ` rust-toolchain.toml ` .
343+ 
344+ MSRV-incompatible dependencies can still be selected by:
345+ -  Setting the dependency's version requirement too high
346+ -  Specifying the version to ` cargo update `  with ` --precise ` 
347+ -  Passing ` --ignore-rust-version ` 
332348
333349## precise-pre-release  
334350
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments