derive_tools 0.70.1

A collection of derive macros designed to enhance STD.
Documentation
//! Smoke tests for the `derive_tools` crate.
//!
//! Validates basic crate health by ensuring the crate compiles and links correctly
//! in both local development and published package contexts. These tests do not
//! verify specific derive macro behavior - comprehensive derive tests exist in tests/inc/.
//!
//! ## Test Organization
//!
//! - `local_smoke_test`: Verifies crate compiles in local workspace context
//! - `published_smoke_test`: Verifies crate compiles as published dependency
//!
//! ## Coverage Status
//!
//! Current: Smoke tests + comprehensive derive macro tests in tests/inc/
//! Derives tested: `From`, `Deref`, `DerefMut`, `AsRef`, `AsMut`, `Index`, `IndexMut`, `Phantom`, `Default`

/// Verifies crate compiles and links correctly in local workspace context.
///
/// This test ensures the crate builds successfully when used as a path dependency
/// within the wTools workspace. It validates that all feature flags, dependencies,
/// and basic functionality work in local development mode.
///
/// Uses `test_tools::smoke_test_for_local_run()` which performs basic compilation
/// and linking checks without exercising specific derive macro functionality.
#[ test ]
fn local_smoke_test()
{
  let _ = ::test_tools ::test ::smoke_test ::smoke_test_for_local_run();
}

/// Verifies crate compiles and links correctly as published crates.io package.
///
/// This test ensures the crate builds successfully when used as a published
/// dependency from crates.io. It validates that workspace dependencies resolve
/// correctly and the crate is usable by external consumers.
///
/// Uses `test_tools::smoke_test_for_published_run()` which simulates the published
/// package context to catch packaging or dependency resolution issues.
#[ test ]
fn published_smoke_test()
{
  let _ = ::test_tools ::test ::smoke_test ::smoke_test_for_published_run();
}