Skip to content

Commit 0dd2510

Browse files
committed
fix: Deprecate Harness
1 parent 6240ddf commit 0dd2510

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/snapbox/src/harness.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
//! }
3535
//! ```
3636
37+
#![allow(deprecated)]
38+
3739
use crate::data::DataFormat;
3840
use crate::Action;
3941

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

0 commit comments

Comments
 (0)