Skip to content

Commit

Permalink
fix: Deprecate Harness
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed May 17, 2024
1 parent 6240ddf commit 0dd2510
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/snapbox/src/harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
//! }
//! ```
#![allow(deprecated)]

use crate::data::DataFormat;
use crate::Action;

Expand All @@ -45,6 +47,7 @@ use libtest_mimic::Trial;
/// [`Cargo and rustupes?cargo-and-rustups
///
/// See [`harness`][crate::harness] for more details
#[deprecated(since = "0.5.12", note = "Replaced with `tryfn` crate")]
pub struct Harness<S, T> {
root: std::path::PathBuf,
overrides: Option<ignore::overrides::Override>,
Expand Down

0 comments on commit 0dd2510

Please sign in to comment.