Versions in this module Expand all Collapse all v0 v0.2.0 Sep 24, 2019 Changes in this version + const CargoTomlTemplate + const LibRsTemplate + const MainRsTemplate + func NewGenerator(opts *GenOptions) contract.Generator + type CargoToml struct + DovetailMacroPath string + GitDependencies []GitDependency + Name string + Version string + type GenOptions struct + DovetailMacroPath string + ModelFile string + TargetDir string + func NewGenOptions(targetPath, modelFile, dovetailMacroPath string) *GenOptions + type Generator struct + Opts *GenOptions + func (d *Generator) Generate() error + type GitDependency struct + ID string + URL string + type LibRs struct + Calls map[string]struct{} + Crates map[string]struct{} + Derives map[string]struct{} + Uses map[string]struct{} + type MainRs struct + Calls map[string]struct{} + Crates map[string]struct{} + Derives map[string]struct{} + Uses map[string]struct{}