whitaker-common 0.2.5

Internal common utilities for Whitaker lints
Documentation
//! Shared helpers for strict `rstest` detection, parameter analysis, and span
//! recovery.
//!
//! The module exports detection helpers such as [`ExpansionTrace`],
//! [`RstestDetectionOptions`], [`is_rstest_fixture`], and [`is_rstest_test`];
//! parameter helpers such as [`ParameterBinding`], [`RstestParameter`],
//! [`RstestParameterKind`], [`classify_rstest_parameter`], and
//! [`fixture_local_names`]; and span-recovery helpers such as
//! [`SpanRecoveryFrame`], [`UserEditableSpan`], and
//! [`recover_user_editable_span`].

mod detection;
mod parameter;
mod span;

pub use detection::{
    ExpansionTrace, RstestDetectionOptions, is_rstest_fixture, is_rstest_fixture_with,
    is_rstest_test, is_rstest_test_with,
};
pub use parameter::{
    ParameterBinding, RstestParameter, RstestParameterKind, classify_rstest_parameter,
    fixture_local_names,
};
pub use span::{SpanRecoveryFrame, UserEditableSpan, recover_user_editable_span};

#[cfg(test)]
mod tests;