github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/syft/pkg/rust.go (about) 1 package pkg 2 3 type RustCargoLockEntry struct { 4 Name string `toml:"name" json:"name"` 5 Version string `toml:"version" json:"version"` 6 Source string `toml:"source" json:"source"` 7 Checksum string `toml:"checksum" json:"checksum"` 8 Dependencies []string `toml:"dependencies" json:"dependencies"` 9 } 10 11 type RustBinaryAuditEntry struct { 12 Name string `toml:"name" json:"name"` 13 Version string `toml:"version" json:"version"` 14 Source string `toml:"source" json:"source"` 15 }