This repository was archived by the owner on Jan 22, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ def load_metadata():
2121    return  json .loads (subprocess .Popen (
2222        cmd , shell = True , stdout = subprocess .PIPE ).communicate ()[0 ])
2323
24- no_explicit_version_specified  =  '*' 
25- 
26- 
2724# Consider a situation where a crate wants to use developing-oriented code 
2825# inside their integration tests and benchmarks, like creating malformed 
2926# data or omitting signature verifications. Ideally, the code should be 
@@ -51,13 +48,14 @@ def load_metadata():
5148# special-cased dev dependencies from its `dependency_graph` and further 
5249# processing. 
5350def  is_self_dev_dep_with_dev_context_only_utils (package , dependency ):
54-     is_special_cased  =  False 
51+     no_explicit_version  =  '*' 
5552
53+     is_special_cased  =  False 
5654    if  (dependency ['kind' ] ==  'dev'  and 
5755        dependency ['name' ] ==  package ['name' ] and 
5856        'dev-context-only-utils'  in  dependency ['features' ] and 
5957        'path'  in  dependency ):
60-         if  dependency ['req' ] ==  no_explicit_version_specified :
58+         if  dependency ['req' ] ==  no_explicit_version :
6159            is_special_cased  =  True 
6260        else :
6361            # it's likely `{ workspace = true, ... }` is used, which implicitly pulls the 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments