Crate workspacer_crate_interface

Source

Traits§

CheckIfReadmeExists
CheckIfSrcDirectoryContainsValidFiles
CrateHandleInterface
GetFilesInDirectory
GetFilesInDirectoryWithExclusions
GetInternalDependencies
A private trait for gathering local (path-based) dependencies from a crate’s Cargo.toml. We do NOT expose it publicly — it remains internal.
GetReadmePath
GetSourceFilesWithExclusions
GetTestFiles
HasCargoToml
HasCargoTomlPathBuf
HasCargoTomlPathBufSync
HasTestsDirectory
IsPrivate
ReadFileString
We add a new method to CrateHandleInterface so we can read file text from an in-memory mock or from the real filesystem. For your real code, you might implement it differently.
RootDirPathBuf