Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const CargoTomlFile = "Cargo.toml"
    Variables ¶
      View Source
      
  
    var CachedRustFile = utils.Cached1In1OutErr(rust_grammar.Parse)
    
      View Source
      
  
    var Extensions = []string{
	"rs",
}
    
      View Source
      
  var MakeModTree = utils.Cached1In1OutErr(func(mainPath string) (*ModTree, error) { return makeModTree(mainPath, "crate", nil) })
MakeModTree builds the ModTree given the main library/executable file path (src/lib.rs or src/main.rs).
Functions ¶
Types ¶
type CargoToml ¶ added in v0.18.0
type CargoToml struct {
	PackageDefinition packageDefinition `toml:"package"`
	// It's [dev-]dependencies.
	Dependencies map[string]localDependency
	// contains filtered or unexported fields
}
    type Language ¶
type Language struct{}
    func (*Language) ParseExports ¶
func (*Language) ParseImports ¶
      
      Source Files
      ¶
    
   Click to show internal directories. 
   Click to hide internal directories.