harness_lock/lib.rs
1//! harness-lock: an alias for [hlock](https://crates.io/crates/hlock).
2//!
3//! Re-exports [`harness_lock_core`], so `cargo add harness-lock` gives you the same
4//! manifest, lockfile, store, and tuning APIs as `hlock`, under `harness_lock::…`.
5//! Prefer `cargo add hlock` in new projects.
6
7pub use harness_lock_core::*;
8
9#[cfg(test)]
10mod tests {
11 // The facade must expose the same modules and top-level items as the core crate.
12 #[test]
13 fn reexports_core_api() {
14 let _ = std::any::type_name::<crate::Lockfile>();
15 let _ = std::any::type_name::<crate::manifest::Manifest>();
16 let _ = std::any::type_name::<crate::Tuner>();
17 let _ = crate::sha256_text;
18 }
19}