From 0dd25107cfd62f1ca684857f297da60c36d31f75 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 17 May 2024 15:45:12 -0500 Subject: [PATCH] fix: Deprecate Harness --- crates/snapbox/src/harness.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/snapbox/src/harness.rs b/crates/snapbox/src/harness.rs index 0565d1e4..0a61d76d 100644 --- a/crates/snapbox/src/harness.rs +++ b/crates/snapbox/src/harness.rs @@ -34,6 +34,8 @@ //! } //! ``` +#![allow(deprecated)] + use crate::data::DataFormat; use crate::Action; @@ -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 { root: std::path::PathBuf, overrides: Option,