//! Shared helper for the tests of the project group.
//!
//! # Responsibilities
//!
//! - [`read_fields`] reads one raw source entry on its own, the way the project and lock readers
//! read it as part of a larger file, so several tests can drive the source rules directly.
//!
//! # Non-responsibilities
//!
//! It is compiled for tests only and holds no rule.
use Path;
use Table;
use crateTomlFields;
use cratePinRule;
use crateSourceFields;
use crateDiagnostics;
/// Reads the source keys of `entry`, the table at `key_path` in `file`, under `rule`: the fields,
/// or every refusal found.
pub